diff --git a/assets/css/style.css b/assets/css/style.css new file mode 100644 index 0000000..e88c7c6 --- /dev/null +++ b/assets/css/style.css @@ -0,0 +1,93 @@ +:root { + --main-bg-color: #F8F9FA; + --primary-color: #0F2A44; + --secondary-color: #1F7A5A; +} + +body { + font-family: 'Poppins', sans-serif; + background-color: var(--main-bg-color); +} + +#wrapper { + overflow-x: hidden; +} + +#sidebar-wrapper { + min-height: 100vh; + margin-left: -15rem; + transition: margin 0.25s ease-out; +} + +#sidebar-wrapper .sidebar-heading { + color: white; +} + +#sidebar-wrapper .list-group { + width: 15rem; +} + +#page-content-wrapper { + min-width: 100vw; +} + +#wrapper.toggled #sidebar-wrapper { + margin-left: 0; +} + +#sidebar-wrapper .list-group-item { + border: none; + color: #ced4da; +} + +#sidebar-wrapper .list-group-item:hover { + background: rgba(255, 255, 255, 0.1); + color: white; +} + +#sidebar-wrapper .list-group-item.active { + background-color: var(--secondary-color) !important; + color: white; + font-weight: bold; + border-left: 5px solid white; +} + +.primary-text { + color: white; +} + +.second-text { + color: var(--primary-color); +} + +.card { + border-radius: 0.5rem; + border: none; +} + +.form-control, .form-select { + border-radius: 0.5rem; +} + +.btn-primary { + background-color: var(--primary-color); + border-color: var(--primary-color); + border-radius: 0.5rem; +} + +.btn-primary:hover { + background-color: #0b1f33; + border-color: #0b1f33; +} + +.login-container { + min-height: 100vh; + display: flex; + align-items: center; + justify-content: center; +} + +.login-card { + width: 100%; + max-width: 450px; +} diff --git a/index.php b/index.php index 7205f3d..e8c8bbc 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,87 @@ ['value' => '$1,250,000', 'icon' => 'bi-cash-stack', 'color' => 'success'], + 'Total Fees Collected' => ['value' => '$980,000', 'icon' => 'bi-check-circle', 'color' => 'info'], + 'Outstanding Balances' => ['value' => '$270,000', 'icon' => 'bi-exclamation-triangle', 'color' => 'warning'], + 'Term Expenses' => ['value' => '$150,000', 'icon' => 'bi-wallet2', 'color' => 'danger'], + ]; +} elseif ($role === 'secretary') { + $cards = [ + 'Total Students' => ['value' => '1,520', 'icon' => 'bi-people-fill', 'color' => 'primary'], + 'Total Staff' => ['value' => '85', 'icon' => 'bi-person-badge', 'color' => 'info'], + 'Attendance Today' => ['value' => '98%', 'icon' => 'bi-calendar-check', 'color' => 'success'], + 'Pending Admissions' => ['value' => '12', 'icon' => 'bi-person-plus', 'color' => 'warning'], + ]; +} elseif ($role === 'headteacher') { + $cards = [ + 'Total Students' => ['value' => '1,520', 'icon' => 'bi-people-fill', 'color' => 'primary'], + 'Total Staff' => ['value' => '85', 'icon' => 'bi-person-badge', 'color' => 'info'], + 'Financial Snapshot' => ['value' => 'On Track', 'icon' => 'bi-pie-chart', 'color' => 'success'], + 'Academic Performance' => ['value' => 'Excelling', 'icon' => 'bi-graph-up', 'color' => 'secondary'], + ]; +} -$phpVersion = PHP_VERSION; -$now = date('Y-m-d H:i:s'); ?> - - - - - - New Style - - - - - - - - - - - - - - - - - - - - - -
-
-

Analyzing your requirements and generating your website…

-
- Loading… -
-

AI is collecting your requirements and applying the first changes.

-

This page will update automatically as the plan is implemented.

-

Runtime: PHP — UTC

+ +
+ $data): ?> +
+
+
+

+

+
+ +
-
- - - + + + +
+

Recent Activity (Placeholder)

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#ItemDetailsDate
1Sample Item 1Details about the item go here.01/04/2026
2Sample Item 2Details about the item go here.01/04/2026
3Sample Item 3Details about the item go here.01/04/2026
+
+
+ + \ No newline at end of file diff --git a/logout.php b/logout.php new file mode 100644 index 0000000..4a0934b --- /dev/null +++ b/logout.php @@ -0,0 +1,5 @@ + + + + + + + + diff --git a/partials/header.php b/partials/header.php new file mode 100644 index 0000000..300c640 --- /dev/null +++ b/partials/header.php @@ -0,0 +1,15 @@ + + + + + + Providencia School ERP + + + + + + + + +
diff --git a/partials/sidebar.php b/partials/sidebar.php new file mode 100644 index 0000000..3a5ce67 --- /dev/null +++ b/partials/sidebar.php @@ -0,0 +1,83 @@ + 'bi-grid-fill', + 'Students' => 'bi-people-fill', + 'Fees Management' => 'bi-receipt', + 'Invoices' => 'bi-file-earmark-text-fill', + 'Payments' => 'bi-credit-card-fill', + 'Expenses' => 'bi-wallet2', + 'Payroll' => 'bi-cash-stack', + 'Financial Reports' => 'bi-graph-up', + 'Settings' => 'bi-gear-fill', + ]; +} elseif ($role === 'secretary') { + $nav_items = [ + 'Dashboard' => 'bi-grid-fill', + 'Students' => 'bi-people-fill', + 'Admissions' => 'bi-person-plus-fill', + 'Classes' => 'bi-collection-fill', + 'Staff Management' => 'bi-person-badge', + 'Attendance' => 'bi-check-circle-fill', + 'Timetable' => 'bi-calendar3', + 'Documents' => 'bi-folder-fill', + 'Settings' => 'bi-gear-fill', + ]; +} elseif ($role === 'headteacher') { + $nav_items = [ + 'Dashboard' => 'bi-grid-fill', + 'Academic Management' => 'bi-book-half', + 'Staff Oversight' => 'bi-eye-fill', + 'Finance Overview' => 'bi-pie-chart-fill', + 'Reports & Analytics' => 'bi-bar-chart-line-fill', + 'Approvals' => 'bi-check2-square', + 'System Settings' => 'bi-sliders', + ]; +} + +?> + + + + + +
+ +
\ No newline at end of file