Reorganized frontend files
This commit is contained in:
parent
ed3bbd98cc
commit
b10b75b7fe
8 changed files with 32 additions and 10 deletions
|
@ -1,2 +1,2 @@
|
||||||
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
||||||
VERSION = "7a143577b779f68ff8b23e8aff04aa9b"
|
VERSION = "daba5365569540aa4a3072be4d1a552d"
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -5,6 +5,8 @@
|
||||||
<link rel="import" href="../bower_components/core-icons/image-icons.html">
|
<link rel="import" href="../bower_components/core-icons/image-icons.html">
|
||||||
<link rel="import" href="../bower_components/core-icons/hardware-icons.html">
|
<link rel="import" href="../bower_components/core-icons/hardware-icons.html">
|
||||||
|
|
||||||
|
<link rel="import" href="../resources/home-assistant-icons.html">
|
||||||
|
|
||||||
<polymer-element name="domain-icon"
|
<polymer-element name="domain-icon"
|
||||||
attributes="domain state" constructor="DomainIcon">
|
attributes="domain state" constructor="DomainIcon">
|
||||||
<template>
|
<template>
|
||||||
|
@ -54,6 +56,12 @@
|
||||||
case "notify":
|
case "notify":
|
||||||
return "announcement";
|
return "announcement";
|
||||||
|
|
||||||
|
case "thermostat":
|
||||||
|
return "homeassistant:nest-thermostat";
|
||||||
|
|
||||||
|
case "smokedetector":
|
||||||
|
return "homeassistant:nest-protect";
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return "bookmark-outline";
|
return "bookmark-outline";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<link rel="import" href="bower_components/polymer/polymer.html">
|
<link rel="import" href="../bower_components/polymer/polymer.html">
|
||||||
|
|
||||||
<link rel="import" href="cards/state-card.html">
|
<link rel="import" href="../cards/state-card.html">
|
||||||
|
|
||||||
<polymer-element name="state-cards" attributes="api filter">
|
<polymer-element name="state-cards" attributes="api filter">
|
||||||
<template>
|
<template>
|
|
@ -8,7 +8,7 @@
|
||||||
<link rel="import" href="bower_components/core-menu/core-menu.html">
|
<link rel="import" href="bower_components/core-menu/core-menu.html">
|
||||||
<link rel="import" href="bower_components/paper-item/paper-item.html">
|
<link rel="import" href="bower_components/paper-item/paper-item.html">
|
||||||
|
|
||||||
<link rel="import" href="state-cards.html">
|
<link rel="import" href="components/state-cards.html">
|
||||||
|
|
||||||
<polymer-element name="home-assistant-main" attributes="api">
|
<polymer-element name="home-assistant-main" attributes="api">
|
||||||
<template>
|
<template>
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
<link rel="import" href="../bower_components/core-icon/core-icon.html">
|
||||||
|
<link rel="import" href="../bower_components/core-iconset-svg/core-iconset-svg.html">
|
||||||
|
|
||||||
|
<core-iconset-svg id="homeassistant" iconSize="24">
|
||||||
|
<svg><defs>
|
||||||
|
<!--
|
||||||
|
The following two icons are Copyright (c) 2014 The Polymer Project Authors.
|
||||||
|
This code may only be used under the BSD style license found at
|
||||||
|
http://polymer.github.io/LICENSE.txt
|
||||||
|
-->
|
||||||
|
<g id="nest-thermostat"><path d="M12,2C6.5,2,2,6.5,2,12c0,5.5,4.5,10,10,10c5.5,0,10-4.5,10-10C22,6.5,17.5,2,12,2z M12,5c1.6,0,3,0.5,4.2,1.4L14,8.6C13.4,8.2,12.7,8,12,8c-2.2,0-4,1.8-4,4c0,1.1,0.4,2.1,1.2,2.8l-2.1,2.1C5.8,15.7,5,13.9,5,12C5,8.1,8.1,5,12,5z M16.9,16.9l-2.1-2.1c0.7-0.7,1.2-1.7,1.2-2.8c0-0.7-0.2-1.4-0.6-2l2.2-2.2C18.5,9,19,10.4,19,12C19,13.9,18.2,15.7,16.9,16.9z"/></g>
|
||||||
|
<g id="nest-protect"><path d="M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3z M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6c3.3,0,6,2.7,6,6S15.3,18,12,18z"/><circle cx="12" cy="12" r="4"/></g>
|
||||||
|
</defs></svg>
|
||||||
|
</core-iconset-svg>
|
|
@ -1,5 +1,5 @@
|
||||||
<link rel="import" href="bower_components/polymer/polymer.html">
|
<link rel="import" href="../bower_components/polymer/polymer.html">
|
||||||
<link rel="import" href="bower_components/core-style/core-style.html">
|
<link rel="import" href="../bower_components/core-style/core-style.html">
|
||||||
|
|
||||||
<polymer-element name="home-assistant-style" noscript>
|
<polymer-element name="home-assistant-style" noscript>
|
||||||
<template>
|
<template>
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<link rel="import" href="home-assistant-main.html">
|
<link rel="import" href="home-assistant-main.html">
|
||||||
<link rel="import" href="home-assistant-api.html">
|
<link rel="import" href="home-assistant-api.html">
|
||||||
<link rel="import" href="home-assistant-style.html">
|
<link rel="import" href="resources/home-assistant-style.html">
|
||||||
|
|
||||||
<polymer-element name="splash-login" attributes="auth">
|
<polymer-element name="splash-login" attributes="auth">
|
||||||
<template>
|
<template>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue