Polymer .9: Some cleanup

This commit is contained in:
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="./state-card-display.html">
<link rel="import" href="../components/state-info.html"> <link rel="import" href="../components/state-info.html">
<dom-module is="state-card-configurator"> <dom-module id="state-card-configurator">
<template> <template>
<state-card-display state-obj="[[stateObj]]"></state-card-display> <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-configurator.html">
<link rel="import" href="state-card-scene.html"> <link rel="import" href="state-card-scene.html">
<dom-module is="state-card-content"> <dom-module id="state-card-content">
<style> <style>
:host { :host {
display: block; display: block;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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