diff --git a/config.sample.py b/config.sample.py index b13cf30..5990985 100644 --- a/config.sample.py +++ b/config.sample.py @@ -4,10 +4,10 @@ from definitions.attributes import * class BrandingConfig: APP_NAME = "Inventory Manager" TAGLINE = "Inventory management system" - # Logo paths (relative to static folder) LOGIN_LOGO = "images/logo_large.png" # ~400x200px recommended HEADER_LOGO = "images/logo_small.png" # ~100x50px recommended + FAVICON = "images/favicon.ico" # or .png/.svg # MySQL information class sql_conf: diff --git a/templates/csv_preview.html b/templates/csv_preview.html index aeda1bd..1e9ec0e 100644 --- a/templates/csv_preview.html +++ b/templates/csv_preview.html @@ -4,6 +4,7 @@ CSV Preview + {% include 'favicon.html' %} diff --git a/templates/delete.html b/templates/delete.html index 9410e06..07332ef 100644 --- a/templates/delete.html +++ b/templates/delete.html @@ -3,6 +3,7 @@ Delete Item + {% include 'favicon.html' %} {% include 'header.html' %} diff --git a/templates/favicon.html b/templates/favicon.html new file mode 100644 index 0000000..2854277 --- /dev/null +++ b/templates/favicon.html @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/templates/item_form.html b/templates/item_form.html index f958de9..5e78b0e 100644 --- a/templates/item_form.html +++ b/templates/item_form.html @@ -3,6 +3,7 @@ {% if item %}Update{% else %}Add{% endif %} Item + {% include 'favicon.html' %} {% include 'header.html' %} diff --git a/templates/login.html b/templates/login.html index f3c0369..fcfb1cc 100644 --- a/templates/login.html +++ b/templates/login.html @@ -4,6 +4,7 @@ {{ brandingconfig.APP_NAME }} - Login + {% include 'favicon.html' %} diff --git a/templates/upload.html b/templates/upload.html index 9d94be9..d4fa70b 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -4,6 +4,7 @@ Upload CSV File + {% include 'favicon.html' %} {% include 'header.html' %} diff --git a/templates/viewList.html b/templates/viewList.html index 22b73e4..d7c9a31 100644 --- a/templates/viewList.html +++ b/templates/viewList.html @@ -3,6 +3,8 @@ View Inventory + + {% include 'favicon.html' %} {% include 'header.html' %} @@ -37,21 +39,5 @@ {% endfor %} - \ No newline at end of file