From c8a0053e1682787ac6211cbd08da8ff971efa4ab Mon Sep 17 00:00:00 2001 From: tp_dhu Date: Mon, 24 Mar 2025 01:19:10 +0000 Subject: [PATCH] dry - include for session error. uniform headers and buttons --- ui/session/error.html | 5 +++++ ui/views/kb/index.html | 10 ++-------- ui/views/project/index.html | 6 ++++-- ui/views/tag/index.html | 10 ++-------- ui/views/ticket/index.html | 12 +++--------- 5 files changed, 16 insertions(+), 27 deletions(-) create mode 100644 ui/session/error.html diff --git a/ui/session/error.html b/ui/session/error.html new file mode 100644 index 0000000..9c1c92b --- /dev/null +++ b/ui/session/error.html @@ -0,0 +1,5 @@ + +
+ {{ @SESSION.error }} +
+
\ No newline at end of file diff --git a/ui/views/kb/index.html b/ui/views/kb/index.html index 4953f16..81f5d07 100644 --- a/ui/views/kb/index.html +++ b/ui/views/kb/index.html @@ -1,12 +1,6 @@

Knowledge Base

- - -
- {{ @SESSION.error }} -
-
- -

create new kb article

+ +

create kb article


diff --git a/ui/views/project/index.html b/ui/views/project/index.html index 8ec6fae..d6f6d75 100644 --- a/ui/views/project/index.html +++ b/ui/views/project/index.html @@ -1,6 +1,8 @@ -

Projects

-create new project +

Projects

+ +

create project


+ diff --git a/ui/views/tag/index.html b/ui/views/tag/index.html index e4bfcb1..40ea39d 100644 --- a/ui/views/tag/index.html +++ b/ui/views/tag/index.html @@ -1,12 +1,6 @@

Tags

- - -
- {{ @SESSION.error }} -
-
- -

create new tag

+ +

create tag


diff --git a/ui/views/ticket/index.html b/ui/views/ticket/index.html index 0e91d23..d38e6d9 100644 --- a/ui/views/ticket/index.html +++ b/ui/views/ticket/index.html @@ -1,12 +1,6 @@ -

View Tickets

- - -
- {{ @SESSION.error }} -
-
- -

create ticket

+

Tickets

+ +

create ticket