From 51489c2420f97b8be492016cc380957423878e64 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 26 Sep 2023 14:22:58 -0400 Subject: [PATCH] Update and move pretty tables function to a seperate js file and also add img-fluid to tags so images dont run off the page and also update ticket details page with prettyContent function --- client_document_details.php | 13 ++----------- document_template_details.php | 12 ++---------- js/pretty_content.js | 7 +++++++ ticket.php | 16 ++++++++++------ 4 files changed, 21 insertions(+), 27 deletions(-) create mode 100644 js/pretty_content.js diff --git a/client_document_details.php b/client_document_details.php index 7bee4bbd..35ab27a3 100644 --- a/client_document_details.php +++ b/client_document_details.php @@ -66,7 +66,7 @@ $document_parent = intval($row['document_parent']); -
+
@@ -285,14 +285,7 @@ $document_parent = intval($row['document_parent']); - + diff --git a/document_template_details.php b/document_template_details.php index 6d54fa38..b4f2f975 100644 --- a/document_template_details.php +++ b/document_template_details.php @@ -48,22 +48,14 @@ $document_updated_at = nullable_htmlentities($row['document_updated_at']); -
+
- + -
+
-
- -
+
+ +
- Time worked: +
+ Time worked: +
@@ -435,7 +437,7 @@ if (isset($_GET['ticket_id'])) { -
+
+ +