feat: remove notification settings section from account page and reformat input attributes.
This commit is contained in:
parent
096a7b384b
commit
ca01d8a8ed
@ -27,8 +27,8 @@
|
||||
|
||||
<flux:field>
|
||||
<flux:label>Email <span class="text-red-500 ms-1">*</span></flux:label>
|
||||
<flux:input placeholder="info.pangestuyoga@gmail.com"
|
||||
wire:model="accountForm.email" autocomplete="off" />
|
||||
<flux:input placeholder="info.pangestuyoga@gmail.com" wire:model="accountForm.email"
|
||||
autocomplete="off" />
|
||||
<flux:error name="accountForm.email" />
|
||||
</flux:field>
|
||||
|
||||
@ -68,8 +68,7 @@
|
||||
<flux:field>
|
||||
<flux:label>Nama Lengkap <span class="text-red-500 ms-1">*</span>
|
||||
</flux:label>
|
||||
<flux:input placeholder="John Doe"
|
||||
wire:model="profileForm.full_name" autofocus
|
||||
<flux:input placeholder="John Doe" wire:model="profileForm.full_name" autofocus
|
||||
autocomplete="off" />
|
||||
<flux:error name="profileForm.full_name" />
|
||||
</flux:field>
|
||||
@ -93,8 +92,8 @@
|
||||
|
||||
<flux:field>
|
||||
<flux:label>Tanggal Lahir <span class="text-red-500 ms-1">*</span></flux:label>
|
||||
<flux:date-picker with-today wire:model="profileForm.birthdate"
|
||||
placeholder="Pilih Tanggal" autocomplete="off" locale="id-ID" selectable-header />
|
||||
<flux:date-picker with-today wire:model="profileForm.birthdate" placeholder="Pilih Tanggal"
|
||||
autocomplete="off" locale="id-ID" selectable-header />
|
||||
<flux:error name="profileForm.birthdate" />
|
||||
</flux:field>
|
||||
|
||||
@ -103,8 +102,7 @@
|
||||
<div class="md:col-span-2">
|
||||
<flux:textarea label="Alamat"
|
||||
placeholder="Jl. Taman Pahlawan No.41, Nagri Kaler, Kec. Purwakarta, Kabupaten Purwakarta, Jawa Barat 41119"
|
||||
wire:model="profileForm.address" autocomplete="off"
|
||||
rows="2" />
|
||||
wire:model="profileForm.address" autocomplete="off" rows="2" />
|
||||
</div>
|
||||
|
||||
<flux:field>
|
||||
@ -146,22 +144,21 @@ class="w-full *:flex-1">
|
||||
<div class="flex-1 space-y-6">
|
||||
<flux:field>
|
||||
<flux:label>Kata Sandi Saat Ini <span class="text-red-500 ms-1">*</span></flux:label>
|
||||
<flux:input placeholder="********" type="password"
|
||||
wire:model="passwordForm.current_password" viewable />
|
||||
<flux:input placeholder="********" type="password" wire:model="passwordForm.current_password"
|
||||
viewable />
|
||||
<flux:error name="passwordForm.current_password" />
|
||||
</flux:field>
|
||||
|
||||
<flux:field>
|
||||
<flux:label>Kata Sandi Baru <span class="text-red-500 ms-1">*</span></flux:label>
|
||||
<flux:input placeholder="********" type="password"
|
||||
wire:model="passwordForm.new_password" viewable />
|
||||
<flux:input placeholder="********" type="password" wire:model="passwordForm.new_password" viewable />
|
||||
<flux:error name="passwordForm.new_password" />
|
||||
</flux:field>
|
||||
|
||||
<flux:field>
|
||||
<flux:label>Konfirmasi Kata Sandi <span class="text-red-500 ms-1">*</span></flux:label>
|
||||
<flux:input placeholder="********" type="password"
|
||||
wire:model="passwordForm.new_confirm_password" viewable />
|
||||
<flux:input placeholder="********" type="password" wire:model="passwordForm.new_confirm_password"
|
||||
viewable />
|
||||
<flux:error name="passwordForm.new_confirm_password" />
|
||||
</flux:field>
|
||||
|
||||
@ -174,35 +171,4 @@ class="w-full *:flex-1">
|
||||
@endcan
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<flux:separator variant="subtle" class="my-8" />
|
||||
|
||||
<div class="flex flex-col lg:flex-row gap-4 lg:gap-6 pb-10">
|
||||
<div class="w-80">
|
||||
<flux:heading size="lg">Notifikasi</flux:heading>
|
||||
<flux:subheading>Izinkan notifikasi untuk menerima pemberitahuan.</flux:subheading>
|
||||
</div>
|
||||
|
||||
<div class="flex-1 space-y-6">
|
||||
<flux:fieldset class="space-y-4">
|
||||
<flux:switch checked label="Communication emails"
|
||||
description="Receive emails about your account activity." />
|
||||
|
||||
<flux:separator variant="subtle" />
|
||||
|
||||
<flux:switch checked label="Marketing emails"
|
||||
description="Receive emails about new products, features, and more." />
|
||||
|
||||
<flux:separator variant="subtle" />
|
||||
|
||||
<flux:switch label="Social emails"
|
||||
description="Receive emails for friend requests, follows, and more." />
|
||||
|
||||
<flux:separator variant="subtle" />
|
||||
|
||||
<flux:switch label="Security emails"
|
||||
description="Receive emails about your account activity and security." />
|
||||
</flux:fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</flux:main>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user