Change config panel navigation (#4377)

* Change config panel navigation

* Show active + don't show toolbar?

* Update ha-panel-config.ts

* Change color of menu toolbar

* Update ha-config-router.ts

* Review comments
This commit is contained in:
Bram Kragten
2020-01-12 17:57:38 +01:00
committed by GitHub
parent a8ed87298a
commit 22792c70c5
35 changed files with 562 additions and 352 deletions

View File

@@ -35,6 +35,7 @@ class HaScriptPicker extends LitElement {
protected render(): TemplateResult | void {
return html`
<hass-subpage
.showBackButton=${!this.isWide}
.header=${this.hass.localize("ui.panel.config.script.caption")}
>
<ha-config-section .isWide=${this.isWide}>
@@ -77,7 +78,7 @@ class HaScriptPicker extends LitElement {
)}"
@click=${this._runScript}
></paper-icon-button>
<paper-item-body>
<paper-item-body two-line>
<div>${computeStateName(script)}</div>
</paper-item-body>
<div class="actions">