From feb7a342718f0d014678517bf45e0043846905a7 Mon Sep 17 00:00:00 2001 From: Sean Date: Thu, 21 Mar 2024 09:30:20 +0100 Subject: Added fourth grid. Made grid 1 change depending on which item is selected --- ui/css/style.css | 4 ++-- ui/grid.html | 47 +++++++++++++++++++++++++++++++++++++ ui/sections/lfv/barrier.html | 10 ++++++++ ui/sections/lfv/lights.html | 13 ++++++++++ ui/sections/lfv/traffic_lights.html | 10 ++++++++ ui/sections/lfv_selector.html | 5 ++++ ui/sections/map.html | 1 + ui/sections/notifications.html | 10 ++++++++ ui/sections/overview_control.html | 47 +++++++++++++++++++++++++++++++++++++ 9 files changed, 145 insertions(+), 2 deletions(-) create mode 100644 ui/grid.html create mode 100644 ui/sections/lfv/barrier.html create mode 100644 ui/sections/lfv/lights.html create mode 100644 ui/sections/lfv/traffic_lights.html create mode 100644 ui/sections/lfv_selector.html create mode 100644 ui/sections/map.html create mode 100644 ui/sections/notifications.html create mode 100644 ui/sections/overview_control.html diff --git a/ui/css/style.css b/ui/css/style.css index e16181c..18093b4 100644 --- a/ui/css/style.css +++ b/ui/css/style.css @@ -28,9 +28,9 @@ body, html { overflow-y: auto; /* Add vertical scrolling */ } -.section.overview_control { +/*.section.overview_control { grid-row: 1 / span 2; /* Span the top left section across both rows */ -} +/*}*/ .table-wrapper { diff --git a/ui/grid.html b/ui/grid.html new file mode 100644 index 0000000..70810e5 --- /dev/null +++ b/ui/grid.html @@ -0,0 +1,47 @@ + + + + + + Four Sections Layout + + + + +
+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ui/sections/lfv/barrier.html b/ui/sections/lfv/barrier.html new file mode 100644 index 0000000..64705b0 --- /dev/null +++ b/ui/sections/lfv/barrier.html @@ -0,0 +1,10 @@ +

Barrier Control

+ + +
Status:
+ + diff --git a/ui/sections/lfv/lights.html b/ui/sections/lfv/lights.html new file mode 100644 index 0000000..bb37603 --- /dev/null +++ b/ui/sections/lfv/lights.html @@ -0,0 +1,13 @@ +

Lights Control

+ +
Percentage: 0%
+ + diff --git a/ui/sections/lfv/traffic_lights.html b/ui/sections/lfv/traffic_lights.html new file mode 100644 index 0000000..8fa3eb4 --- /dev/null +++ b/ui/sections/lfv/traffic_lights.html @@ -0,0 +1,10 @@ +

Traffic Lights Control

+ + +
Status:
+ + diff --git a/ui/sections/lfv_selector.html b/ui/sections/lfv_selector.html new file mode 100644 index 0000000..3608d31 --- /dev/null +++ b/ui/sections/lfv_selector.html @@ -0,0 +1,5 @@ + diff --git a/ui/sections/map.html b/ui/sections/map.html new file mode 100644 index 0000000..734ebe1 --- /dev/null +++ b/ui/sections/map.html @@ -0,0 +1 @@ +This is a map \ No newline at end of file diff --git a/ui/sections/notifications.html b/ui/sections/notifications.html new file mode 100644 index 0000000..cd2863e --- /dev/null +++ b/ui/sections/notifications.html @@ -0,0 +1,10 @@ +
+ +
+
+ + + + +
Column 1
+
diff --git a/ui/sections/overview_control.html b/ui/sections/overview_control.html new file mode 100644 index 0000000..4a27e53 --- /dev/null +++ b/ui/sections/overview_control.html @@ -0,0 +1,47 @@ + \ No newline at end of file -- cgit v1.2.3 From 896ff81bd0da72d8aed990ad823eca6a0c03d148 Mon Sep 17 00:00:00 2001 From: Sean Date: Thu, 21 Mar 2024 09:31:57 +0100 Subject: Moved overview_control to different folder --- old_code/overview_control.html | 47 +++++++++++++++++++++++++++++++++++++++ ui/sections/overview_control.html | 47 --------------------------------------- 2 files changed, 47 insertions(+), 47 deletions(-) create mode 100644 old_code/overview_control.html delete mode 100644 ui/sections/overview_control.html diff --git a/old_code/overview_control.html b/old_code/overview_control.html new file mode 100644 index 0000000..4a27e53 --- /dev/null +++ b/old_code/overview_control.html @@ -0,0 +1,47 @@ + \ No newline at end of file diff --git a/ui/sections/overview_control.html b/ui/sections/overview_control.html deleted file mode 100644 index 4a27e53..0000000 --- a/ui/sections/overview_control.html +++ /dev/null @@ -1,47 +0,0 @@ - \ No newline at end of file -- cgit v1.2.3