mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-11 11:26:35 +00:00
Polymer 2 fixes
This commit is contained in:
parent
8b6db691ef
commit
4f9f6dd8ed
@ -103,7 +103,7 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
computeAutomation: function (automations, automationId, creatingNew) {
|
computeAutomation: function (automations, automationId, creatingNew) {
|
||||||
if (creatingNew) {
|
if (creatingNew || !automations) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
for (var i = 0; i < automations.length; i++) {
|
for (var i = 0; i < automations.length; i++) {
|
||||||
|
@ -5,23 +5,24 @@
|
|||||||
<link rel="import" href="../../../src/components/buttons/ha-call-service-button.html">
|
<link rel="import" href="../../../src/components/buttons/ha-call-service-button.html">
|
||||||
|
|
||||||
<dom-module id="hassio-hass-info">
|
<dom-module id="hassio-hass-info">
|
||||||
<style include="iron-flex ha-style">
|
|
||||||
paper-card {
|
|
||||||
display: block;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.info {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.info td:nth-child(2) {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
.errors {
|
|
||||||
color: var(--google-red-500);
|
|
||||||
margin-top: 16px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<template>
|
<template>
|
||||||
|
<style include="iron-flex ha-style">
|
||||||
|
paper-card {
|
||||||
|
display: block;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.info {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.info td:nth-child(2) {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.errors {
|
||||||
|
color: var(--google-red-500);
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<paper-card heading="Home Assistant">
|
<paper-card heading="Home Assistant">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<table class='info'>
|
<table class='info'>
|
||||||
|
@ -4,23 +4,23 @@
|
|||||||
<link rel="import" href="../../../src/components/buttons/ha-call-api-button.html">
|
<link rel="import" href="../../../src/components/buttons/ha-call-api-button.html">
|
||||||
|
|
||||||
<dom-module id="hassio-host-info">
|
<dom-module id="hassio-host-info">
|
||||||
<style include="iron-flex ha-style">
|
|
||||||
paper-card {
|
|
||||||
display: block;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.info {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.info td:nth-child(2) {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
.errors {
|
|
||||||
color: var(--google-red-500);
|
|
||||||
margin-top: 16px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<template>
|
<template>
|
||||||
|
<style include="iron-flex ha-style">
|
||||||
|
paper-card {
|
||||||
|
display: block;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.info {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.info td:nth-child(2) {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.errors {
|
||||||
|
color: var(--google-red-500);
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<paper-card heading="Host OS">
|
<paper-card heading="Host OS">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<table class='info'>
|
<table class='info'>
|
||||||
|
@ -4,23 +4,23 @@
|
|||||||
<link rel="import" href="../../../src/components/buttons/ha-call-api-button.html">
|
<link rel="import" href="../../../src/components/buttons/ha-call-api-button.html">
|
||||||
|
|
||||||
<dom-module id="hassio-supervisor-info">
|
<dom-module id="hassio-supervisor-info">
|
||||||
<style include="iron-flex ha-style">
|
|
||||||
paper-card {
|
|
||||||
display: block;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.info {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.info td:nth-child(2) {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
.errors {
|
|
||||||
color: var(--google-red-500);
|
|
||||||
margin-top: 16px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<template>
|
<template>
|
||||||
|
<style include="iron-flex ha-style">
|
||||||
|
paper-card {
|
||||||
|
display: block;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.info {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.info td:nth-child(2) {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.errors {
|
||||||
|
color: var(--google-red-500);
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<paper-card heading="Supervisor">
|
<paper-card heading="Supervisor">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<table class='info'>
|
<table class='info'>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user