From 63f4ef1f1acef1c9ffedb11f344680335e50c955 Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Fri, 18 Mar 2022 07:30:42 +0100 Subject: [PATCH] Added static files content, favicon and logo --- homelog/settings.py | 3 + homelog/templates/base.html | 7 +- static/images/djlogo.idraw | Bin 0 -> 26231 bytes static/images/djlogo.png | Bin 0 -> 12738 bytes static/images/djlogo.svg | 70 ++++++++++++++++++ static/images/djlogo1024.idraw | Bin 0 -> 51437 bytes static/images/djlogo256.png | Bin 0 -> 10940 bytes static/images/djlogo32.png | Bin 0 -> 1209 bytes static/images/djlogo64.png | Bin 0 -> 2303 bytes .../favicons/android-chrome-192x192.png | Bin 0 -> 12373 bytes .../favicons/android-chrome-512x512.png | Bin 0 -> 51497 bytes static/images/favicons/apple-touch-icon.png | Bin 0 -> 11036 bytes static/images/favicons/favicon-16x16.png | Bin 0 -> 465 bytes static/images/favicons/favicon-32x32.png | Bin 0 -> 1021 bytes static/images/favicons/favicon-old.ico | Bin 0 -> 8348 bytes static/images/favicons/favicon.ico | Bin 8348 -> 15406 bytes static/images/favicons/site.webmanifest | 1 + 17 files changed, 79 insertions(+), 2 deletions(-) create mode 100644 static/images/djlogo.idraw create mode 100644 static/images/djlogo.png create mode 100644 static/images/djlogo.svg create mode 100644 static/images/djlogo1024.idraw create mode 100644 static/images/djlogo256.png create mode 100644 static/images/djlogo32.png create mode 100644 static/images/djlogo64.png create mode 100755 static/images/favicons/android-chrome-192x192.png create mode 100755 static/images/favicons/android-chrome-512x512.png create mode 100755 static/images/favicons/apple-touch-icon.png create mode 100755 static/images/favicons/favicon-16x16.png create mode 100755 static/images/favicons/favicon-32x32.png create mode 100644 static/images/favicons/favicon-old.ico mode change 100644 => 100755 static/images/favicons/favicon.ico create mode 100755 static/images/favicons/site.webmanifest diff --git a/homelog/settings.py b/homelog/settings.py index f98bfcb..394dee5 100644 --- a/homelog/settings.py +++ b/homelog/settings.py @@ -120,6 +120,9 @@ USE_TZ = True # https://docs.djangoproject.com/en/3.2/howto/static-files/ STATIC_URL = '/static/' +STATICFILES_DIRS = [ + BASE_DIR / "static" +] # Default primary key field type # https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field diff --git a/homelog/templates/base.html b/homelog/templates/base.html index e4eece6..9e05f2f 100644 --- a/homelog/templates/base.html +++ b/homelog/templates/base.html @@ -42,15 +42,18 @@ - homelog + homelog