update profile route , views, and hide icon css

This commit is contained in:
LailaWulandarii 2026-01-08 18:59:10 +07:00
parent 3e83750b35
commit 531ab8f7b4
3 changed files with 37 additions and 14 deletions

View File

@ -7233,6 +7233,22 @@ .login-logo {
margin-right: auto;
}
/* Sembunyikan mata bawaan browser (Edge/IE) */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
display: none;
}
/* Sembunyikan mata bawaan browser (Chrome/Opera/Safari) - jarang muncul tapi buat jaga-jaga */
input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-credentials-auto-fill-button {
visibility: hidden;
display: none !important;
pointer-events: none;
position: absolute;
right: 0;
}
.offcanvas,
.offcanvas-xxl,
.offcanvas-xl,
@ -23834,7 +23850,15 @@ .page-item:last-child {
margin-left: .4rem
}
.table td,
.table thead th {
vertical-align: middle !important;
text-align: center !important;
/* Ini yang bikin rata tengah */
font-size: var(--text-sm);
font-weight: var(--fw-medium);
}
/* .table td,
.dataTable-table td {
vertical-align: middle !important;
font-size: var(--text-sm);
@ -23842,12 +23866,18 @@ .dataTable-table td {
}
.table .table-striped thead th {
vertical-align: middle !important;
font-size: var(--text-sm);
font-weight: var(--fw-medium);
}
.table thead th,
.dataTable-table thead th {
vertical-align: middle !important;
font-size: var(--text-sm);
font-weight: var(--fw-medium);
}
} */
.table:not(.table-borderless) thead th,
.dataTable-table:not(.table-borderless) thead th {

View File

@ -95,8 +95,8 @@ class="form-control @error('email', 'updateProfil') is-invalid @enderror"
<div class="mb-2">
<label class="form-label">Peran</label>
<input type="text" class="form-control bg-light"
value="{{ ucfirst($user->role ?? 'Admin') }}" style="font-size: 14px;"
readonly>
value="{{ ucwords(str_replace('_', ' ', $user->role ?? 'Admin')) }}"
style="font-size: 14px;" readonly>
</div>
</div>
</div>
@ -119,8 +119,7 @@ class="form-control @error('alamat', 'updateProfil') is-invalid @enderror"
Batal
</button>
<button type="submit" form="formProfil"
class="btn btn-primary kirim-wa rounded-pill py-2 px-4">
<button type="submit" class="btn btn-primary kirim-wa rounded-pill py-2 px-4">
Simpan
</button>
@ -194,8 +193,7 @@ class="form-control @error('password', 'updatePassword') is-invalid @enderror"
Batal
</button>
<button type="submit" form="formPassword"
class="btn btn-primary kirim-wa rounded-pill py-2 px-4">
<button type="submit" class="btn btn-primary kirim-wa rounded-pill py-2 px-4">
Simpan
</button>

View File

@ -31,10 +31,6 @@
Route::post('/simpan-booking-foto', [User\BookingFotoController::class, 'store'])->name('transaksi.foto.store');
Route::get('/cancel-booking', [User\BookingFotoController::class, 'cancelBooking'])->name('booking.cancel');
Route::get('/test-flow', [User\TestBookingController::class, 'index']);
Route::get('/cek-slot-foto', [User\TestBookingController::class, 'cekSlot']);
Route::post('/test-flow-simpan', [User\TestBookingController::class, 'store'])->name('test.simpan.foto');
});
/*
@ -88,8 +84,7 @@
Route::resource('kelola-admin', Admin\ManajemenAdminController::class);
// Profil Diri
Route::resource('profil', Admin\ProfilController::class);
Route::get('/profil', [Admin\ProfilController::class, 'index'])->name('profil.index');
Route::put('/profil/update', [Admin\ProfilController::class, 'update'])->name('profil.simpan');
Route::put('/profil/password', [Admin\ProfilController::class, 'updatePassword'])->name('profil.password');
});