admin add user, password

This commit is contained in:
Saufi
2026-05-26 12:02:16 +08:00
parent 6ca0bd82fd
commit 5fbededf8f
12 changed files with 531 additions and 0 deletions

View File

@@ -27,6 +27,9 @@
.checkbox-row { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; }
.checkbox-row input { width: auto; margin: 0; }
.checkbox-row label { margin: 0; font-weight: 400; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #d8dde3; }
.data-table th { background: #eef2f6; font-size: 13px; }
.error { color: #b00020; margin-bottom: 12px; font-size: 14px; }
.logout-form { margin: 0; }
.logout-form button { background: transparent; padding: 8px 0; font-weight: 700; }
@@ -45,7 +48,9 @@
@auth
<div class="topbar-actions">
<a class="topbar-link" href="{{ route('tables.index') }}">Carian</a>
<a class="topbar-link" href="{{ route('profile.edit') }}">Profile</a>
@if (auth()->user()->isAdmin())
<a class="topbar-link" href="{{ route('admin.users.index') }}">Users</a>
<a class="topbar-link" href="{{ route('admin.ratemas-upload.create') }}">Upload RateMas</a>
@endif
<form class="logout-form" method="POST" action="{{ route('logout') }}">