Dashboard
+Welcome back, ()
+Pendapatan Hari Ini
+Rp 0
+ Placeholder Data +Pendapatan Bulan Ini
+Rp 0
+ Placeholder Data +Pendapatan Tahun Ini
+Rp 0
+ Placeholder Data +Grafik Pendapatan Tahunan
+Chart will be displayed here.
+diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..7989974 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,128 @@ +/* SIAPon Custom Styles */ + +:root { + --primary-color: #4F46E5; + --secondary-color: #10B981; + --background-color: #F3F4F6; + --surface-color: #FFFFFF; + --text-color: #111827; + --heading-font: 'Georgia', serif; + --body-font: 'Inter', sans-serif; +} + +body { + font-family: var(--body-font); + background-color: var(--background-color); + color: var(--text-color); +} + +h1, h2, h3, h4, h5, h6 { + font-family: var(--heading-font); +} + +.login-body { + display: flex; + align-items: center; + justify-content: center; + min-height: 100vh; + background: linear-gradient(to right, #4f46e5, #2563eb); +} + +.login-card { + border-radius: 0.75rem; + border: none; + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); +} + +.login-card .card-title { + font-family: var(--heading-font); + font-size: 2.5rem; + font-weight: 700; + color: var(--primary-color); +} + +.btn-primary { + background-color: var(--primary-color); + border-color: var(--primary-color); + padding: 0.75rem 1rem; + border-radius: 0.5rem; + font-weight: 500; + transition: background-color 0.2s ease-in-out; +} + +.btn-primary:hover { + background-color: #4338CA; + border-color: #4338CA; +} + +.form-control { + border-radius: 0.5rem; + padding: 0.75rem 1rem; +} + +.form-control:focus { + box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25); + border-color: var(--primary-color); +} + +/* Dashboard Layout */ +.sidebar { + width: 260px; + position: fixed; + top: 0; + left: 0; + bottom: 0; + background-color: var(--surface-color); + box-shadow: 0 0 15px rgba(0,0,0,0.05); + padding: 1.5rem; +} + +.main-content { + margin-left: 260px; + padding: 2rem; +} + +.sidebar .nav-link { + color: #374151; + font-weight: 500; + padding: 0.75rem 1rem; + border-radius: 0.5rem; + margin-bottom: 0.5rem; +} + +.sidebar .nav-link.active, +.sidebar .nav-link:hover { + background-color: #EEF2FF; + color: var(--primary-color); +} + +.sidebar .nav-link .icon { + margin-right: 0.75rem; +} + +.header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 2rem; +} + +.stat-card { + background-color: var(--surface-color); + border-radius: 0.75rem; + padding: 1.5rem; + box-shadow: 0 4px 6px rgba(0,0,0,0.05); + transition: transform 0.2s, box-shadow 0.2s; +} + +.stat-card:hover { + transform: translateY(-5px); + box-shadow: 0 10px 15px rgba(0,0,0,0.07); +} + +.chart-container { + background-color: var(--surface-color); + border-radius: 0.75rem; + padding: 1.5rem; + box-shadow: 0 4px 6px rgba(0,0,0,0.05); +} diff --git a/auth.php b/auth.php new file mode 100644 index 0000000..d4c9309 --- /dev/null +++ b/auth.php @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/index.php b/index.php index 7205f3d..d75aa9d 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,107 @@ ['Dashboard', 'Transactions', 'Reports', 'Users', 'Settings'], + 'Operator' => ['Dashboard', 'Transactions', 'Reports'], + 'Kepala Badan' => ['Dashboard', 'Reports'], +]; + +$user_menu = $menu[$user_role] ?? []; -$phpVersion = PHP_VERSION; -$now = date('Y-m-d H:i:s'); ?> - +
- - -= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.
-This page will update automatically as the plan is implemented.
-Runtime: PHP = htmlspecialchars($phpVersion) ?> — UTC = htmlspecialchars($now) ?>
Welcome back, ()
+Rp 0
+ Placeholder Data +Rp 0
+ Placeholder Data +Rp 0
+ Placeholder Data +Chart will be displayed here.
+