From 7b45c7e5c8a503da5e7a377da93cd049d81bb896 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sat, 27 Dec 2025 16:17:44 +0000 Subject: [PATCH] basic setup --- assets/css/custom.css | 14 +++ assets/js/main.js | 1 + index.php | 264 +++++++++++++++++++----------------------- 3 files changed, 137 insertions(+), 142 deletions(-) create mode 100644 assets/css/custom.css create mode 100644 assets/js/main.js diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..86db8a9 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,14 @@ +body { + font-family: 'Inter', sans-serif; + background-color: #f8f9fa; +} + +.card-header { + background-color: #fff; + border-bottom: 1px solid #dee2e6; +} + +.status-badge { + font-size: 0.8rem; + padding: 0.4em 0.7em; +} diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..311c77a --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1 @@ +// Main javascript file \ No newline at end of file diff --git a/index.php b/index.php index 7205f3d..9456de2 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,130 @@ 'PO-001', 'style' => 'Men's Classic Tee', 'quantity' => 500, 'delivery_date' => '2025-07-15', 'status' => 'Completed'], + ['id' => 'PO-002', 'style' => 'Women's Denim Jacket', 'quantity' => 350, 'delivery_date' => '2025-07-20', 'status' => 'In Progress'], + ['id' => 'PO-003', 'style' => 'Men's Chino Pants', 'quantity' => 400, 'delivery_date' => '2025-07-22', 'status' => 'In Progress'], + ['id' => 'PO-004', 'style' => 'Women's Summer Dress', 'quantity' => 280, 'delivery_date' => '2025-07-25', 'status' => 'Pending'], + ['id' => 'PO-005', 'style' => 'Men's Hoodie', 'quantity' => 600, 'delivery_date' => '2025-07-18', 'status' => 'Delayed'], +]; -$phpVersion = PHP_VERSION; -$now = date('Y-m-d H:i:s'); +function getStatusBadgeClass($status) { + switch ($status) { + case 'Completed': return 'bg-success'; + case 'In Progress': return 'bg-primary'; + case 'Pending': return 'bg-warning text-dark'; + case 'Delayed': return 'bg-danger'; + default: return 'bg-secondary'; + } +} ?> - + - - - New Style - - - - - - - - - - - - - - - - - - - + + + <?= htmlspecialchars($_SERVER['PROJECT_NAME'] ?? 'Production Planning System') ?> + + + + + + + + + + + + + + + + -
-
-

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

-
-
- + + + +
+
+

Order Dashboard

+
+ +
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
Order IDStyle / ProductQuantityDelivery DateStatusActions
+ + + + + +
+
+
+
+
+ + + + + - + \ No newline at end of file