From edb01b6bb4e9e2dbe8c68c9e672f3baf4923b600 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 1 Jan 2015 22:06:39 -0800 Subject: [PATCH] Moved dialog logic to base class. --- .../polymer/dialogs/event-fire-dialog.html | 12 +++------- .../polymer/dialogs/ha-action-dialog.html | 24 +++++++++++++++++++ .../polymer/dialogs/service-call-dialog.html | 11 +++------ .../polymer/dialogs/state-card-dialog.html | 17 ++++++------- .../polymer/dialogs/state-set-dialog.html | 10 +++----- .../polymer/home-assistant-style.html | 21 +++++++++++----- 6 files changed, 57 insertions(+), 38 deletions(-) create mode 100644 homeassistant/components/http/www_static/polymer/dialogs/ha-action-dialog.html diff --git a/homeassistant/components/http/www_static/polymer/dialogs/event-fire-dialog.html b/homeassistant/components/http/www_static/polymer/dialogs/event-fire-dialog.html index 4ea0de089c9..75bb3ed8ea1 100644 --- a/homeassistant/components/http/www_static/polymer/dialogs/event-fire-dialog.html +++ b/homeassistant/components/http/www_static/polymer/dialogs/event-fire-dialog.html @@ -1,22 +1,16 @@ - - + + diff --git a/homeassistant/components/http/www_static/polymer/dialogs/service-call-dialog.html b/homeassistant/components/http/www_static/polymer/dialogs/service-call-dialog.html index a43e6a0cb34..282c77fe9bf 100644 --- a/homeassistant/components/http/www_static/polymer/dialogs/service-call-dialog.html +++ b/homeassistant/components/http/www_static/polymer/dialogs/service-call-dialog.html @@ -1,21 +1,16 @@ - - - +