diff --git a/css/ticket_time_tracking.css b/css/ticket_time_tracking.css new file mode 100644 index 00000000..f76f1ca8 --- /dev/null +++ b/css/ticket_time_tracking.css @@ -0,0 +1,13 @@ +/* Custom CSS Styling for time tracking */ + +/* Small bit of space between the ticket status and time tracking inputs */ +.custom-tt-horizontal-spacing { + width: 20px; /* Adjust the width as needed for smaller spacing */ + display: inline-block; +} + +/* Adjust Hour, min, second fields to be close together */ +.custom-tt-width { + width: 50px; /* Adjust the width as needed */ + padding: 0; /* Remove padding to maintain the desired width */ +} diff --git a/ticket.php b/ticket.php index ca898d4e..44344953 100644 --- a/ticket.php +++ b/ticket.php @@ -1,8 +1,14 @@ -//Initialize the HTML Purifier to prevent XSS + + + +purify($row['ticket_details']); $ticket_priority = nullable_htmlentities($row['ticket_priority']); $ticket_billable = intval($row['ticket_billable']); - + //Set Ticket Bage Color based of priority if ($ticket_priority == "High") { $ticket_priority_display = "$ticket_priority"; @@ -316,30 +322,30 @@ if (isset($_GET['ticket_id'])) { - +
+
-
- +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
- -
-
- - - -
-
- -
-
- - - -
-
-
@@ -351,6 +357,7 @@ if (isset($_GET['ticket_id'])) {
+
@@ -570,7 +577,7 @@ if (isset($_GET['ticket_id'])) { Status:
- +
@@ -705,7 +712,7 @@ if (isset($_GET['ticket_id'])) {
- 0) { ?>