Commit awal: prototipe UI SIAKAD Untan
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<x-layouts.app title="Atur ulang kata sandi">
|
||||
<x-ui.page-header
|
||||
title="Atur ulang kata sandi"
|
||||
:description="'Buat kata sandi baru untuk '.$pengguna['nama'].' ('.$pengguna['username'].').'"
|
||||
:breadcrumbs="['Pengguna' => route('superuser.pengguna.index'), 'Atur ulang kata sandi' => null]"
|
||||
/>
|
||||
|
||||
<form method="POST" action="{{ route('superuser.pengguna.password.update', $pengguna['username']) }}" class="stack" novalidate>
|
||||
@csrf
|
||||
@method('PUT')
|
||||
|
||||
<x-ui.alert tone="warning" title="Sampaikan kata sandi dengan aman">
|
||||
Pengguna disarankan mengganti kata sandi ini setelah masuk. Jangan mengirim kata sandi lewat kanal terbuka.
|
||||
</x-ui.alert>
|
||||
|
||||
<x-glass.panel padding="lg">
|
||||
<x-form.section title="Kata sandi baru" description="Minimal 8 karakter, berisi huruf dan angka." :columns="1">
|
||||
<x-form.field name="password" label="Kata sandi baru" type="password" autocomplete="new-password" />
|
||||
<x-form.field name="password_confirmation" label="Ulangi kata sandi baru" type="password" autocomplete="new-password" />
|
||||
</x-form.section>
|
||||
</x-glass.panel>
|
||||
|
||||
<x-form.actions>
|
||||
<x-ui.button type="submit" icon="key">Simpan kata sandi</x-ui.button>
|
||||
<x-ui.button variant="secondary" :href="route('superuser.pengguna.index')">Batal</x-ui.button>
|
||||
</x-form.actions>
|
||||
</form>
|
||||
</x-layouts.app>
|
||||
Reference in New Issue
Block a user