diff --git a/admin.php b/admin.php index 8782b88..86f2726 100644 --- a/admin.php +++ b/admin.php @@ -50,9 +50,124 @@ $chart_values = json_encode(array_column($chart_data, 'user_count')); Admin Dashboard + -
+

Admin Dashboard

Welcome, !

@@ -62,7 +177,7 @@ $chart_values = json_encode(array_column($chart_data, 'user_count'));
-
+

Daily Registrations

@@ -77,7 +192,7 @@ $chart_values = json_encode(array_column($chart_data, 'user_count')); Download CSV
-
+
@@ -147,8 +262,8 @@ $chart_values = json_encode(array_column($chart_data, 'user_count')); datasets: [{ label: 'Daily Registrations', data: , - backgroundColor: 'rgba(0, 123, 255, 0.1)', - borderColor: 'rgba(0, 123, 255, 1)', + backgroundColor: 'rgba(187, 200, 251, 0.18)', + borderColor: 'rgba(34, 199, 255, 1)', borderWidth: 2, tension: 0.4, fill: true @@ -156,10 +271,16 @@ $chart_values = json_encode(array_column($chart_data, 'user_count')); }, options: { scales: { + x: { + ticks: { color: '#dde2fd' }, + grid: { color: 'rgba(143, 232, 255, 0.08)' } + }, y: { beginAtZero: true, + grid: { color: 'rgba(143, 232, 255, 0.08)' }, ticks: { - stepSize: 1 + stepSize: 1, + color: '#dde2fd' } } }, @@ -169,7 +290,8 @@ $chart_values = json_encode(array_column($chart_data, 'user_count')); }, title: { display: true, - text: 'User Registrations per Day' + text: 'User Registrations per Day', + color: '#f3f9ff' } } } diff --git a/assets/css/custom.css b/assets/css/custom.css index ca3bdb1..c05b579 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -1,13 +1,13 @@ :root { - --primary: #6366f1; - --primary-dark: #4f46e5; - --accent: #d946ef; - --dark-bg: #1e1b4b; - --card-bg: rgba(30, 27, 75, 0.9); - --text-main: #f8fafc; - --text-muted: #94a3b8; - --gradient: linear-gradient(135deg, #6366f1 0%, #d946ef 100%); - --bg-gradient: linear-gradient(-45deg, #1e1b4b, #312e81, #1e1b4b); + --primary: #2c4bd1; + --primary-dark: #1029a0; + --accent: #18d1b3; + --dark-bg: #0b2083; + --card-bg: rgba(11, 32, 131, 0.40); + --text-main: #f3f9ff; + --text-muted: #bbc8fb; + --gradient: linear-gradient(135deg, #2c4bd1 0%, #1029a0 100%); + --bg-gradient: linear-gradient(-45deg, #0b2083, #1029a0, #2c4bd1); } body { @@ -69,7 +69,7 @@ button:hover { /* Inputs */ input, .form-control { - background: rgba(255, 255, 255, 0.05); + background: rgba(221, 226, 253, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 0.75rem 1rem; diff --git a/assets/pasted-20260310-054917-348e02e8.png b/assets/pasted-20260310-054917-348e02e8.png new file mode 100644 index 0000000..5d9c018 Binary files /dev/null and b/assets/pasted-20260310-054917-348e02e8.png differ diff --git a/edit_attendee.php b/edit_attendee.php index c9b41e9..4a4b265 100644 --- a/edit_attendee.php +++ b/edit_attendee.php @@ -64,16 +64,68 @@ try { Edit Attendee diff --git a/index.php b/index.php index 00ce808..fb61df5 100644 --- a/index.php +++ b/index.php @@ -3,137 +3,204 @@ - Webinar Registration + AppWizzy Webinar Registration + diff --git a/login.php b/login.php index 96f80ea..f10abd2 100644 --- a/login.php +++ b/login.php @@ -29,7 +29,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['email'])) { header('Location: dashboard.php'); exit; } else { - $error = 'Invalid email or password. Would you like to register for the webinar?'; + $error = 'Invalid email or password. Would you like to register for the webinar?'; } } catch (PDOException $e) { error_log($e->getMessage()); @@ -46,18 +46,26 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['email'])) {