From 6e30d2ef50bd39e33aadce35f3629a9d0ee27163 Mon Sep 17 00:00:00 2001 From: Wandmalfarbe Date: Sun, 26 Feb 2023 16:07:55 +0100 Subject: [PATCH] =?UTF-8?q?Neue=20Header-Leiste=20mit=20Men=C3=BC-Hamburge?= =?UTF-8?q?r-Button=20&=20diverse=20Designanpassungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gruntfile.js | 7 +- webpage/icons/bulb.svg | 1 + webpage/icons/colors.svg | 1 + webpage/icons/eye.svg | 1 + webpage/icons/hamburger.svg | 1 + webpage/icons/info.svg | 1 + webpage/icons/screwdriver.svg | 1 + webpage/icons/settings.svg | 1 + webpage/index.html | 1211 ++++++++++++++++----------------- webpage/script.js | 68 +- webpage/style.css | 618 +++++++---------- 11 files changed, 893 insertions(+), 1018 deletions(-) create mode 100644 webpage/icons/bulb.svg create mode 100644 webpage/icons/colors.svg create mode 100644 webpage/icons/eye.svg create mode 100644 webpage/icons/hamburger.svg create mode 100644 webpage/icons/info.svg create mode 100644 webpage/icons/screwdriver.svg create mode 100644 webpage/icons/settings.svg diff --git a/Gruntfile.js b/Gruntfile.js index fd7252e5..b575e16b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -38,7 +38,8 @@ module.exports = function(grunt) { options: { "id-class-style": "dash", "attr-bans": ["align", "background", "bgcolor", "border", "frameborder", "longdesc", "marginwidth", "marginheight", "scrolling", "width"], - "line-end-style": false + "line-end-style": false, + "attr-name-ignore-regex": "viewBox" } }, @@ -113,8 +114,8 @@ module.exports = function(grunt) { }, html_to_h: { options: { - process: function(content, srcpath) { - var gen = ""; + process: function(content) { + let gen = ""; gen += "// generated file -- do not modify\n"; gen += "// change *.html/*.css/*.js files instead\n\n"; gen += "const char html_code[] PROGMEM = R\"=====(\n"; diff --git a/webpage/icons/bulb.svg b/webpage/icons/bulb.svg new file mode 100644 index 00000000..664ebdd5 --- /dev/null +++ b/webpage/icons/bulb.svg @@ -0,0 +1 @@ + diff --git a/webpage/icons/colors.svg b/webpage/icons/colors.svg new file mode 100644 index 00000000..e21d1a40 --- /dev/null +++ b/webpage/icons/colors.svg @@ -0,0 +1 @@ + diff --git a/webpage/icons/eye.svg b/webpage/icons/eye.svg new file mode 100644 index 00000000..b3629ece --- /dev/null +++ b/webpage/icons/eye.svg @@ -0,0 +1 @@ + diff --git a/webpage/icons/hamburger.svg b/webpage/icons/hamburger.svg new file mode 100644 index 00000000..63367f09 --- /dev/null +++ b/webpage/icons/hamburger.svg @@ -0,0 +1 @@ + diff --git a/webpage/icons/info.svg b/webpage/icons/info.svg new file mode 100644 index 00000000..7774bd56 --- /dev/null +++ b/webpage/icons/info.svg @@ -0,0 +1 @@ + diff --git a/webpage/icons/screwdriver.svg b/webpage/icons/screwdriver.svg new file mode 100644 index 00000000..1e9bc964 --- /dev/null +++ b/webpage/icons/screwdriver.svg @@ -0,0 +1 @@ + diff --git a/webpage/icons/settings.svg b/webpage/icons/settings.svg new file mode 100644 index 00000000..fffb2fea --- /dev/null +++ b/webpage/icons/settings.svg @@ -0,0 +1 @@ + diff --git a/webpage/index.html b/webpage/index.html index 15af0a83..cec5bf58 100644 --- a/webpage/index.html +++ b/webpage/index.html @@ -1,7 +1,7 @@ - WortUhr + Wortuhr @@ -12,14 +12,37 @@ -
- - - - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + -