From 3c5d5368d1a6ce0aa92f67bdd722ac72314794e1 Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Wed, 24 Jan 2018 00:33:58 +0100 Subject: [PATCH 01/14] Modify BANNED_IPS and ALLOWED_NETWORKS at runtime --- changelog.txt | 1 + configurator.py | 364 +++++++++++++++++++++++++++++++++++++++++++++++- dev.html | 251 ++++++++++++++++++++++++++++++++- 3 files changed, 609 insertions(+), 7 deletions(-) diff --git a/changelog.txt b/changelog.txt index 0ba823a..a076307 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Version 0.2.5 (2018-) - Added warning-logs for access failure @danielperna84 - Added transparency to whitespace characters @danielperna84 - Using external repository for Docker @Munsio +- Modify BANNED_IPS and ALLOWED_NETWORKS at runtime @danielperna84 Version 0.2.4 (2018-01-02) - Added YAML linting @AtoxIO diff --git a/configurator.py b/configurator.py index fd60fca..5fa7342 100755 --- a/configurator.py +++ b/configurator.py @@ -299,8 +299,13 @@ } .input-field input[type=text].valid { - border-bottom: 1px solid #03a9f4;; - box-shadow: 0 1px 0 0 #03a9f4;; + border-bottom: 1px solid #03a9f4 !important; + box-shadow: 0 1px 0 0 #03a9f4 !important; + } + + .input-field input[type=text]:focus { + border-bottom: 1px solid #03a9f4 !important; + box-shadow: 0 1px 0 0 #03a9f4 !important; } .row .input-field input:focus { @@ -624,6 +629,7 @@
  • HASS Components
  • Material Icons
  • Editor Settings
  • +
  • Network status
  • About HASS-Configurator
  • @@ -640,6 +646,7 @@
  • HASS Components
  • Material Icons
  • Editor Settings
  • +
  • Network status
  • About HASS-Configurator
  • @@ -1343,6 +1350,46 @@ Yes + + + + + + + + + + + + +
    Contact Person Daniel Perna
  • - + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • +
  • Libraries used:

    From 663fe8d28a65c0d6718e06cc5b775315402aad8a Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Wed, 24 Jan 2018 23:29:17 +0100 Subject: [PATCH 09/14] Cleanup formatting --- dev.html | 50 +++++++++++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/dev.html b/dev.html index 3341c7d..7882c75 100644 --- a/dev.html +++ b/dev.html @@ -251,16 +251,16 @@ } .preloader-background { - display: flex; - align-items: center; - justify-content: center; - background-color: #eee; + display: flex; + align-items: center; + justify-content: center; + background-color: #eee; position: fixed; - z-index: 10000; - top: 0; - left: 0; - right: 0; - bottom: 0; + z-index: 10000; + top: 0; + left: 0; + right: 0; + bottom: 0; } .modal-content_nopad { @@ -2002,11 +2002,10 @@

    document.addEventListener("DOMContentLoaded", function(){ - $('.preloader-background').delay(800).fadeOut('slow'); - - $('.preloader-wrapper') - .delay(800) - .fadeOut('slow'); + $('.preloader-background').delay(800).fadeOut('slow'); + $('.preloader-wrapper') + .delay(800) + .fadeOut('slow'); });