From: will Date: Tue, 27 Aug 2024 01:53:53 +0000 (+0100) Subject: Added clock support for GFX X-Git-Url: https://git.ozva.co.uk/?a=commitdiff_plain;h=4bdc403f4b20b0f16a70e39617e25146c7e86595;p=shopping-channel Added clock support for GFX + global offset insted of offset for each timer + added strikethrough for autocue times when turned off - GFX no longer caches items.json --- diff --git a/auth/index.php b/auth/index.php index 9d6b1ee..8acb257 100644 --- a/auth/index.php +++ b/auth/index.php @@ -54,9 +54,7 @@ if (!empty($_POST['update'])) { $clock['movementSpeed'] = (int)$_POST['movementSpeed']; $clock['currentPosition'] = (int)$_POST["doomsday"]; - $data['timer1Offset'] = (int)$_POST['timer1Offset']; - $data['timer2Offset'] = (int)$_POST['timer2Offset']; - $data['timer3Offset'] = (int)$_POST['timer3Offset']; + $data['timerOffset'] = (int)$_POST['timerOffset']; $data['priceChange'] = (int)$_POST['priceChange']; $data['discount'] = (int)$_POST['discount']; $data['itemId'] = (int)$_POST['item']; @@ -353,17 +351,15 @@ $timer1Checked = ""; if ($data['showingTimer1'] == "true") { $timer1Checked = " checked='checked' "; } -$timer1Offset = $data["timer1Offset"]; $timer2Checked = ""; if ($data['showingTimer2'] == "true") { $timer2Checked = " checked='checked' "; } -$timer2Offset = $data["timer2Offset"]; $timer3Checked = ""; if ($data['showingTimer3'] == "true") { $timer3Checked = " checked='checked' "; } -$timer3Offset = $data["timer3Offset"]; +$timerOffset = $data["timerOffset"]; ?>
@@ -378,9 +374,7 @@ $timer3Offset = $data["timer3Offset"];

- - -
> + >
@@ -395,9 +389,7 @@ $timer3Offset = $data["timer3Offset"];

- - -
> + >
@@ -412,11 +404,11 @@ $timer3Offset = $data["timer3Offset"];

- - -
> + >
+ +
  • Make this notes section a little better? it might actually be useful during the show. Although the arrow is quite difficult to click on
  • Add the controls for persentage sold and the relevant display on the GFX side of things
  • -
  • Add 2 more timers on both the controls and the GFX page
  • -
  • Add the timers and the % sold to the autocue so the presenter can atually see what theyre doing
  • +
  • Add 2 more timers on both the controls and the GFX page
  • +
  • Add the timers and the % sold to the autocue so the presenter can atually see what theyre doing
  • Add a clock display to the GFX page and the autocue (could just be a gereric time?)
  • Make the top banner look better
  • Add some kind of rating into the item file and make it display
  • diff --git a/autocue/index.html b/autocue/index.html index 2ea8df4..d108174 100644 --- a/autocue/index.html +++ b/autocue/index.html @@ -23,7 +23,7 @@ body {