diff --git a/homeassistant/components/http/frontend.py b/homeassistant/components/http/frontend.py index cf4e0b55d63..3fdd613d665 100644 --- a/homeassistant/components/http/frontend.py +++ b/homeassistant/components/http/frontend.py @@ -1,2 +1,2 @@ """ DO NOT MODIFY. Auto-generated by build_frontend script """ -VERSION = "d23de9af256f9c1ab74fc3969fa410d3" +VERSION = "dd558fd889218687c8f42d6fe21fd1b3" diff --git a/homeassistant/components/http/www_static/frontend.html b/homeassistant/components/http/www_static/frontend.html index fb5d51f9546..9574f2861b2 100644 --- a/homeassistant/components/http/www_static/frontend.html +++ b/homeassistant/components/http/www_static/frontend.html @@ -8280,15 +8280,2744 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13145,39 +15874,44 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN text-transform: uppercase; } - .dropdown { + paper-dropdown { border-radius: 3px; } - .menu { + paper-dropdown .menu { margin: 0; padding: 8px 0; color: black; } + paper-item { + height: 45px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + -
- Home Assistant -
+
Home Assistant
- + - - + + Set State - - + + Trigger Event - - + + Log Out @@ -15730,11 +18464,11 @@ core-item { height: 125px; } - #validateBox { + #validatebox { text-align: center; } - #validateMessage { + #validatemessage { margin-top: 10px; } @@ -15756,9 +18490,9 @@ core-item { Log In - @@ -15792,7 +18526,7 @@ core-item { // log out functionality if(newVal == "" && this.state == "valid_auth") { this.state = "no_auth"; - this.$.validateMessage.innerHTML = "Validating password..."; + this.$.validatemessage.innerHTML = "Validating password..."; } }, @@ -15805,12 +18539,11 @@ core-item { }, validatePassword: function() { - a = this.$.passwordInput; this.$.loginform.setAttribute('hidden', null); - this.$.validateBox.removeAttribute('hidden'); + this.$.validatebox.removeAttribute('hidden'); var passwordValid = function(result) { - this.$.validateMessage.innerHTML = "Loading data..."; + this.$.validatemessage.innerHTML = "Loading data..."; this.api.fetchEvents(); this.api.fetchStates(function() { @@ -15827,7 +18560,7 @@ core-item { this.auth = null; this.$.passwordDecorator.isInvalid = true; this.$.loginform.removeAttribute('hidden'); - this.$.validateBox.setAttribute('hidden', null); + this.$.validatebox.setAttribute('hidden', null); this.$.passwordInput.focus(); } diff --git a/homeassistant/components/http/www_static/polymer/bower.json b/homeassistant/components/http/www_static/polymer/bower.json index a79b33b1381..d380991f86c 100644 --- a/homeassistant/components/http/www_static/polymer/bower.json +++ b/homeassistant/components/http/www_static/polymer/bower.json @@ -4,15 +4,11 @@ "authors": [ "Paulus Schoutsen " ], - "main": "index.htm", + "main": "splash-login.html", "license": "MIT", "private": true, "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" + "bower_components" ], "dependencies": { "webcomponentsjs": "Polymer/webcomponentsjs#~0.5.1", diff --git a/homeassistant/components/http/www_static/polymer/home-assistant-main.html b/homeassistant/components/http/www_static/polymer/home-assistant-main.html index a2b9138e8a0..6f4dd063dc5 100644 --- a/homeassistant/components/http/www_static/polymer/home-assistant-main.html +++ b/homeassistant/components/http/www_static/polymer/home-assistant-main.html @@ -31,40 +31,46 @@ text-transform: uppercase; } - .dropdown { + paper-dropdown { border-radius: 3px; } - .menu { + paper-dropdown .menu { margin: 0; padding: 8px 0; color: black; } + paper-item { + height: 45px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + -
- Home Assistant -
- +
Home Assistant
+ - + - - + + Set State - - + + Trigger Event - - + + Log Out diff --git a/homeassistant/components/http/www_static/polymer/splash-login.html b/homeassistant/components/http/www_static/polymer/splash-login.html index 0efc2dcbddd..60cb673acc5 100644 --- a/homeassistant/components/http/www_static/polymer/splash-login.html +++ b/homeassistant/components/http/www_static/polymer/splash-login.html @@ -29,11 +29,11 @@ height: 125px; } - #validateBox { + #validatebox { text-align: center; } - #validateMessage { + #validatemessage { margin-top: 10px; } @@ -56,9 +56,9 @@ Log In - @@ -92,7 +92,7 @@ // log out functionality if(newVal == "" && this.state == "valid_auth") { this.state = "no_auth"; - this.$.validateMessage.innerHTML = "Validating password..."; + this.$.validatemessage.innerHTML = "Validating password..."; } }, @@ -106,10 +106,10 @@ validatePassword: function() { this.$.loginform.setAttribute('hidden', null); - this.$.validateBox.removeAttribute('hidden'); + this.$.validatebox.removeAttribute('hidden'); var passwordValid = function(result) { - this.$.validateMessage.innerHTML = "Loading data..."; + this.$.validatemessage.innerHTML = "Loading data..."; this.api.fetchEvents(); this.api.fetchStates(function() { @@ -126,7 +126,7 @@ this.auth = null; this.$.passwordDecorator.isInvalid = true; this.$.loginform.removeAttribute('hidden'); - this.$.validateBox.setAttribute('hidden', null); + this.$.validatebox.setAttribute('hidden', null); this.$.passwordInput.focus(); }