From b686f041212c6069835872ebe658aa2416493426 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 1 Nov 2014 15:04:44 -0700 Subject: [PATCH] Major cleanup frontend --- homeassistant/components/http/__init__.py | 7 +- homeassistant/components/http/frontend.py | 2 +- .../components/http/www_static/frontend.html | 9727 ++++++++++++++--- .../http/www_static/polymer/bower.json | 7 +- .../http/www_static/polymer/domain-icon.html | 19 +- .../polymer/home-assistant-api.html | 31 +- .../polymer/home-assistant-main.html | 59 +- .../www_static/polymer/services-list.html | 10 +- .../http/www_static/polymer/splash-login.html | 9 + .../http/www_static/polymer/state-badge.html | 10 +- .../http/www_static/polymer/state-card.html | 96 +- .../http/www_static/polymer/states-cards.html | 5 +- 12 files changed, 8169 insertions(+), 1813 deletions(-) diff --git a/homeassistant/components/http/__init__.py b/homeassistant/components/http/__init__.py index 4720137f49e..216c91643a7 100644 --- a/homeassistant/components/http/__init__.py +++ b/homeassistant/components/http/__init__.py @@ -356,14 +356,15 @@ class RequestHandler(SimpleHTTPRequestHandler): "" "" - "" - "" "" "" "" + "

Initializing Home Assistant

" + "" + "" "" "").format(app_url, data.get('api_password', ''))) diff --git a/homeassistant/components/http/frontend.py b/homeassistant/components/http/frontend.py index f29f9fc415c..df35e766af5 100644 --- a/homeassistant/components/http/frontend.py +++ b/homeassistant/components/http/frontend.py @@ -1,2 +1,2 @@ """ DO NOT MODIFY. Auto-generated by build_polymer script """ -VERSION = "5ae474d6905e074fa2a6aa0cfa2941be" +VERSION = "835922d1958738763525d6670c11bfb5" diff --git a/homeassistant/components/http/www_static/frontend.html b/homeassistant/components/http/www_static/frontend.html index ab7fe559931..bc4d5eededc 100644 --- a/homeassistant/components/http/www_static/frontend.html +++ b/homeassistant/components/http/www_static/frontend.html @@ -4565,178 +4565,20 @@ polyfill-next-selector { content: ':host .indent'; } - - - - - - - - - - - - - - - @@ -4787,7 +4628,7 @@ you should ensure that the `aria-label` attribute is set. - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +.paper-menu-button-overlay-ink { + background: {{g.paperMenuButton.background}} +} + +.paper-menu-button-overlay-bg { + background: {{g.paperMenuButton.background}} +} + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -