From 1021a8db32c669469bc0a5fa7b1570655c077ca4 Mon Sep 17 00:00:00 2001 From: candifloss Date: Sat, 8 Mar 2025 13:04:23 +0530 Subject: [PATCH] Added header to all pages --- templates/csv_preview.html | 1 + templates/delete.html | 1 + templates/header.html | 21 +++++++++++++++++++++ templates/item_form.html | 3 ++- templates/upload.html | 1 + templates/viewList.html | 5 +++-- 6 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 templates/header.html diff --git a/templates/csv_preview.html b/templates/csv_preview.html index 105bc1d..aeda1bd 100644 --- a/templates/csv_preview.html +++ b/templates/csv_preview.html @@ -7,6 +7,7 @@ + {% include 'header.html' %}

CSV Preview

diff --git a/templates/delete.html b/templates/delete.html index 8a2cade..9410e06 100644 --- a/templates/delete.html +++ b/templates/delete.html @@ -5,6 +5,7 @@ Delete Item + {% include 'header.html' %}

Are you sure you want to delete the item?

diff --git a/templates/header.html b/templates/header.html new file mode 100644 index 0000000..29f2c22 --- /dev/null +++ b/templates/header.html @@ -0,0 +1,21 @@ + +
+

Inventory Manager

+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
\ No newline at end of file diff --git a/templates/item_form.html b/templates/item_form.html index 68793c9..1935683 100644 --- a/templates/item_form.html +++ b/templates/item_form.html @@ -5,7 +5,8 @@ {% if item %}Update{% else %}Add{% endif %} Item -

{% if item %}Update{% else %}Add{% endif %} Item

+ {% include 'header.html' %} +

{% if item %}Update{% else %}Add{% endif %} Item

{% if error %} diff --git a/templates/upload.html b/templates/upload.html index dcb21da..9d94be9 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -6,6 +6,7 @@ Upload CSV File + {% include 'header.html' %}

Upload CSV File

diff --git a/templates/viewList.html b/templates/viewList.html index 1c9aaba..22b73e4 100644 --- a/templates/viewList.html +++ b/templates/viewList.html @@ -5,6 +5,7 @@ View Inventory + {% include 'header.html' %}

Item Inventory

@@ -36,7 +37,7 @@ {% endfor %}
-
+ \ No newline at end of file