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 @@ INDEX = Template(r""" } .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 @@ INDEX = Template(r"""
Do you really want to remove the network / IP from the list of allowed networks?
+Do you really want to Add the network / IP to the list of allowed networks?
+$listening_address
+$hass_api_address
+Modifying the following lists is not persistent. To statically control access please use the configuration file.
++
+
" + resp.message + "
" + resp.message + "
" + resp.message + "
" + resp.message + "
" + resp.message + "
" + resp.message + "
" + resp.message + "
" + resp.message + "
Do you really want to remove the network / IP from the list of allowed networks?
+Do you really want to Add the network / IP to the list of allowed networks?
+$listening_address
+$hass_api_address
+Modifying the following lists is not persistent. To statically control access please use the configuration file.
++
+
" + resp.message + "
" + resp.message + "
" + resp.message + "
" + resp.message + "
" + resp.message + "
" + resp.message + "
" + resp.message + "
" + resp.message + "