Polymer .9: Some cleanup

pull/132/head
Paulus Schoutsen 2015-05-20 23:42:46 -07:00
parent 69ae1d3534
commit 451cde7918
19 changed files with 19 additions and 19 deletions

View File

@ -3,7 +3,7 @@
<link rel="import" href="./state-card-display.html">
<link rel="import" href="../components/state-info.html">
<dom-module is="state-card-configurator">
<dom-module id="state-card-configurator">
<template>
<state-card-display state-obj="[[stateObj]]"></state-card-display>

View File

@ -6,7 +6,7 @@
<link rel="import" href="state-card-configurator.html">
<link rel="import" href="state-card-scene.html">
<dom-module is="state-card-content">
<dom-module id="state-card-content">
<style>
:host {
display: block;

View File

@ -2,7 +2,7 @@
<link rel="import" href="../components/state-info.html">
<dom-module is="state-card-display">
<dom-module id="state-card-display">
<style>
.state {
margin-left: 16px;

View File

@ -3,7 +3,7 @@
<link rel="import" href="./state-card-display.html">
<link rel="import" href="./state-card-toggle.html">
<dom-module is="state-card-scene">
<dom-module id="state-card-scene">
<template>
<template is='dom-if' if=[[allowToggle]]>
<state-card-toggle state-obj="[[stateObj]]"></state-card-toggle>

View File

@ -2,7 +2,7 @@
<link rel="import" href="../components/state-info.html">
<dom-module is="state-card-thermostat">
<dom-module id="state-card-thermostat">
<style>
.state {
margin-left: 16px;

View File

@ -2,7 +2,7 @@
<link rel="import" href="state-card-content.html">
<dom-module is="state-card">
<dom-module id="state-card">
<style>
:host {
border-radius: 2px;

View File

@ -1,6 +1,6 @@
<link rel="import" href="../bower_components/polymer/polymer.html">
<dom-module is="display-time">
<dom-module id="display-time">
<template>[[computeTime(dateObj)]]</template>
</dom-module>

View File

@ -4,7 +4,7 @@
<link rel="import" href="../resources/home-assistant-icons.html">
<dom-module is="domain-icon">
<dom-module id="domain-icon">
<template>
<iron-icon icon="[[computeIcon(domain, state)]]"></iron-icon>
</template>

View File

@ -2,7 +2,7 @@
<link rel="import" href="../components/logbook-entry.html">
<dom-module is="ha-logbook">
<dom-module id="ha-logbook">
<style>
:host {
display: block;

View File

@ -4,7 +4,7 @@
<link rel="import" href="display-time.html">
<link rel="import" href="relative-ha-datetime.html">
<dom-module is="logbook-entry">
<dom-module id="logbook-entry">
<style>
:host {
display: block;

View File

@ -2,7 +2,7 @@
<link rel="import" href="../resources/moment-js.html">
<dom-module is="relative-ha-datetime">
<dom-module id="relative-ha-datetime">
<template>
<span>[[relativeTime]]</span>
</template>

View File

@ -4,7 +4,7 @@
<link rel="import" href="domain-icon.html">
<dom-module id="services-list" attributes="cbServiceClicked">
<dom-module id="services-list">
<style>
ul {
margin: 0;

View File

@ -3,7 +3,7 @@
<link rel="import" href="domain-icon.html">
<dom-module is="state-badge">
<dom-module id="state-badge">
<style>
:host {
position: relative;

View File

@ -2,7 +2,7 @@
<link rel="import" href="../cards/state-card.html">
<dom-module is="state-cards" attributes="states" noscript>
<dom-module id="state-cards">
<style>
:host {
display: block;

View File

@ -4,7 +4,7 @@
<link rel="import" href="state-badge.html">
<link rel="import" href="relative-ha-datetime.html">
<dom-module is="state-info">
<dom-module id="state-info">
<style>
state-badge {
float: left;

View File

@ -5,7 +5,7 @@
<link rel="import" href="../bower_components/iron-icons/notification-icons.html">
<dom-module is="stream-status">
<dom-module id="stream-status">
<style>
:host {
display: inline-block;

View File

@ -8,7 +8,7 @@
<!-- <link rel="import" href="../bower_components/core-style/core-style.html"> -->
<dom-module is="partial-base">
<dom-module id="partial-base">
<template>
<paper-header-panel class='fit'>
<paper-toolbar>

View File

@ -6,7 +6,7 @@
<link rel="import" href="../components/ha-logbook.html">
<dom-module is="partial-logbook">
<dom-module id="partial-logbook">
<style>
.content {
background-color: white;

View File

@ -7,7 +7,7 @@
<link rel="import" href="../components/state-cards.html">
<dom-module is="partial-states">
<dom-module id="partial-states">
<style>
.listening {
position: absolute;