* Entity Registry UI * Tweak style in fullscreen * Fix UI comments * Fix imports * Change title margin * Fix graph rendering * More style fixes * Remove unused parameter
33 lines
853 B
HTML
33 lines
853 B
HTML
<link rel='import' href='../../../../bower_components/polymer/polymer-element.html'>
|
|
|
|
<link rel="import" href="../../../../bower_components/iron-flex-layout/iron-flex-layout-classes.html">
|
|
|
|
<dom-module id='more-info-script'>
|
|
<template>
|
|
<style is="custom-style" include="iron-flex iron-flex-alignment"></style>
|
|
|
|
<div class='layout vertical'>
|
|
<div class='data-entry layout justified horizontal'>
|
|
<div class='key'>Last Action</div>
|
|
<div class='value'>[[stateObj.attributes.last_action]]</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</dom-module>
|
|
|
|
<script>
|
|
class MoreInfoScript extends Polymer.Element {
|
|
static get is() { return 'more-info-script'; }
|
|
|
|
static get properties() {
|
|
return {
|
|
stateObj: {
|
|
type: Object,
|
|
},
|
|
};
|
|
}
|
|
}
|
|
|
|
customElements.define(MoreInfoScript.is, MoreInfoScript);
|
|
</script>
|