diff --git a/admin_project_template_add_modal.php b/admin_project_template_add_modal.php new file mode 100644 index 00000000..bf881aee --- /dev/null +++ b/admin_project_template_add_modal.php @@ -0,0 +1,41 @@ + diff --git a/admin_project_template_edit_modal.php b/admin_project_template_edit_modal.php new file mode 100644 index 00000000..149f1294 --- /dev/null +++ b/admin_project_template_edit_modal.php @@ -0,0 +1,44 @@ + diff --git a/admin_project_templates.php b/admin_project_templates.php new file mode 100644 index 00000000..3ef1ed3f --- /dev/null +++ b/admin_project_templates.php @@ -0,0 +1,128 @@ + + +
+
+

Project Templates

+
+ +
+
+
+
+
+ +
+
+ +
+ +
+
+
+ +
+
+ +
+
+
+
+ + "> + + + + + + + + + + + + + + + + + + + +
TemplateTicketsTasksAction
+ + + + 00 + +
+
+ +
+
+ + \ No newline at end of file + diff --git a/admin_ticket_template_add_modal.php b/admin_ticket_template_add_modal.php new file mode 100644 index 00000000..f9859a6d --- /dev/null +++ b/admin_ticket_template_add_modal.php @@ -0,0 +1,135 @@ + diff --git a/admin_ticket_template_details.php b/admin_ticket_template_details.php new file mode 100644 index 00000000..d4c451b2 --- /dev/null +++ b/admin_ticket_template_details.php @@ -0,0 +1,125 @@ +set('URI.AllowedSchemes', ['data' => true, 'src' => true, 'http' => true, 'https' => true]); +$purifier = new HTMLPurifier($purifier_config); + +if (isset($_GET['ticket_template_id'])) { + $ticket_template_id = intval($_GET['ticket_template_id']); +} + +$sql_ticket_templates = mysqli_query($mysqli, "SELECT * FROM ticket_templates WHERE ticket_template_id = $ticket_template_id"); + +$row = mysqli_fetch_array($sql_ticket_templates); + +$ticket_template_name = nullable_htmlentities($row['ticket_template_name']); +$ticket_template_description = nullable_htmlentities($row['ticket_template_description']); +$ticket_template_subject = nullable_htmlentities($row['ticket_template_subject']); +$ticket_template_details = $purifier->purify($row['ticket_template_details']); +$ticket_template_created_at = nullable_htmlentities($row['ticket_template_created_at']); +$ticket_template_updated_at = nullable_htmlentities($row['ticket_template_updated_at']); + +// Get Task Templates +$sql_task_templates = mysqli_query($mysqli, "SELECT * FROM task_templates WHERE task_template_ticket_template_id = $ticket_template_id"); + +?> + + + +
+
+ +
+
+

+
+ +
+

+
+
+
+

+
+ +
+
+
+
+ +
+
+ +
+ +
+ +
+
+
Tasks
+
+
+
+ +
+
+
+ +
+ +
+ +
+
+
+
+ + + + + + + + +
+ + + +
+
+
+ +
+ +
+ + + + + + diff --git a/admin_ticket_templates.php b/admin_ticket_templates.php new file mode 100644 index 00000000..489fce83 --- /dev/null +++ b/admin_ticket_templates.php @@ -0,0 +1,128 @@ + + +
+
+

Ticket Templates

+
+ +
+
+
+
+
+ +
+
+ +
+ +
+
+
+ +
+
+ +
+
+
+
+ + "> + + + + + + + + + + + + + + + + + +
TemplateTasksAction
+ + + + 0 + +
+
+ +
+
+ + Details + -
@@ -47,6 +49,32 @@ + + +
+ +
+
+ +
+ +
+
+ + + +
+
@@ -86,30 +114,10 @@
- +
-
- -
-
- -
- -
-
-
diff --git a/client_certificate_edit_modal.php b/client_certificate_edit_modal.php index f6884fcb..19208e19 100644 --- a/client_certificate_edit_modal.php +++ b/client_certificate_edit_modal.php @@ -12,83 +12,112 @@ diff --git a/client_network_add_modal.php b/client_network_add_modal.php index cef6383a..5f35b82f 100644 --- a/client_network_add_modal.php +++ b/client_network_add_modal.php @@ -15,6 +15,12 @@ + + @@ -46,46 +52,6 @@
-
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
-
@@ -111,6 +77,82 @@
+ +
+
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+
+
diff --git a/client_network_edit_modal.php b/client_network_edit_modal.php index 12ee0c52..452cde19 100644 --- a/client_network_edit_modal.php +++ b/client_network_edit_modal.php @@ -12,81 +12,147 @@