From 16aff5f6348ee7e45e7de0f14304ea52ab63a1bb Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 14 Nov 2023 13:15:49 -0500 Subject: [PATCH 1/3] UI Update to the ticket timer. reworked sizing to be a small input field, set the fields to text instead of numeric as the number updown element was taking up too much space --- expenses.php | 3 +-- ticket.php | 37 ++++++++++++++++++++----------------- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/expenses.php b/expenses.php index 910d5ccf..8d76408f 100644 --- a/expenses.php +++ b/expenses.php @@ -84,8 +84,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
-
- +
diff --git a/ticket.php b/ticket.php index a9eadb85..0ebfdbd2 100644 --- a/ticket.php +++ b/ticket.php @@ -297,7 +297,7 @@ if (isset($_GET['ticket_id'])) {
-
+
@@ -316,40 +316,43 @@ if (isset($_GET['ticket_id'])) {
-
-
- +
+
+
+ +
+
- Hrs + H
-
-
- +
+
+
- Mins + M
-
-
- +
+
+
- Secs + S
-
-
- - +
+
+ +
From 63a4eab8bc9c5a0d2bf18c3c9fe9bf1be14a0419 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 14 Nov 2023 13:20:51 -0500 Subject: [PATCH 2/3] Added Pattern Attribute to only allow correct input for the ticket timer --- ticket.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ticket.php b/ticket.php index 0ebfdbd2..e737f765 100644 --- a/ticket.php +++ b/ticket.php @@ -321,7 +321,7 @@ if (isset($_GET['ticket_id'])) {
- +
H
@@ -331,7 +331,7 @@ if (isset($_GET['ticket_id'])) {
- +
M
@@ -341,7 +341,7 @@ if (isset($_GET['ticket_id'])) {
- +
S
From 201860798ac38cc9358f891c2bd9f0f87bd21951 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 14 Nov 2023 18:02:12 -0500 Subject: [PATCH 3/3] Fix Ticket Timer to allow for 00 for hour --- ticket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ticket.php b/ticket.php index e737f765..afba2d3e 100644 --- a/ticket.php +++ b/ticket.php @@ -321,7 +321,7 @@ if (isset($_GET['ticket_id'])) {
- +
H