From 5b9f6f7f52cdf79083a1589fc315c4d4fda92b5c Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sat, 1 Nov 2025 06:44:39 +0000 Subject: [PATCH] V1 --- assets/css/custom.css | 23 +++++++ assets/js/main.js | 1 + dashboard.php | 128 +++++++++++++++++++++++++++++++++++ index.php | 153 ++---------------------------------------- parts/footer.php | 6 ++ parts/header.php | 82 ++++++++++++++++++++++ 6 files changed, 244 insertions(+), 149 deletions(-) create mode 100644 assets/css/custom.css create mode 100644 assets/js/main.js create mode 100644 dashboard.php create mode 100644 parts/footer.php create mode 100644 parts/header.php diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..303514b --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,23 @@ +body { + font-family: 'Inter', sans-serif; + background-color: #f8f9fa; +} + +.card { + border: none; + border-radius: .75rem; + box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); +} + +.card-icon { + width: 60px; + height: 60px; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + font-size: 1.75rem; +} +.nav-pills .nav-link.active, .nav-pills .show>.nav-link { + background-color: #0d6efd; +} \ No newline at end of file diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..3648ad2 --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1 @@ +// Custom JavaScript will go here \ No newline at end of file diff --git a/dashboard.php b/dashboard.php new file mode 100644 index 0000000..72333a0 --- /dev/null +++ b/dashboard.php @@ -0,0 +1,128 @@ + + +
+
+

Dashboard

+
+ + to + + +
+
+ + +
+
+
+
+
+
+
Total Sales
+
$40,000
+
+
+
+
+
+
+
+
+
+
Total Profit
+
$12,000
+
+
+
+
+
+
+
+
+
+
Total Customers
+
1,250
+
+
+
+
+
+
+
+
+
+
Total Suppliers
+
50
+
+
+
+
+
+
+
+
+
+
Total Doctor Fees
+
$5,000
+
+
+
+
+
+ + +
+
+
+
+
Top 10 Selling Medicines
+
+
+ + + + + + + + + + + + + + + + +
#NameSales
1Paracetamol 500mg1500 units
2Aspirin 75mg1200 units
3Amoxicillin 250mg950 units
4Ibuprofen 200mg800 units
5Cetirizine 10mg750 units
6Omeprazole 20mg600 units
7Metformin 500mg550 units
8Atorvastatin 10mg500 units
9Amlodipine 5mg450 units
10Salbutamol Inhaler400 units
+
+
+
+ + +
+
+ + \ No newline at end of file diff --git a/index.php b/index.php index 7205f3d..12ccbe9 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,5 @@ - - - - - - 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

-
-
- - - +// Redirect to the dashboard +header('Location: dashboard.php'); +exit; +?> \ No newline at end of file diff --git a/parts/footer.php b/parts/footer.php new file mode 100644 index 0000000..3bfb7a2 --- /dev/null +++ b/parts/footer.php @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/parts/header.php b/parts/header.php new file mode 100644 index 0000000..33ac784 --- /dev/null +++ b/parts/header.php @@ -0,0 +1,82 @@ + + + + + + Sai Drug Store + + + + + + + + + + + + + + + + +
+ +