mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 04:06:35 +00:00
More BP tweaks (#7884)
This commit is contained in:
parent
2cca25f4d0
commit
1e90c6387c
@ -111,6 +111,9 @@ class HaBluePrintPicker extends LitElement {
|
|||||||
paper-listbox {
|
paper-listbox {
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
}
|
}
|
||||||
|
paper-item {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,6 @@ import "./action/ha-automation-action";
|
|||||||
import { fireEvent } from "../../../common/dom/fire_event";
|
import { fireEvent } from "../../../common/dom/fire_event";
|
||||||
import { haStyle } from "../../../resources/styles";
|
import { haStyle } from "../../../resources/styles";
|
||||||
import { HassEntity } from "home-assistant-js-websocket";
|
import { HassEntity } from "home-assistant-js-websocket";
|
||||||
import { navigate } from "../../../common/navigate";
|
|
||||||
import {
|
import {
|
||||||
BlueprintOrError,
|
BlueprintOrError,
|
||||||
Blueprints,
|
Blueprints,
|
||||||
@ -144,11 +143,6 @@ export class HaBlueprintAutomationEditor extends LitElement {
|
|||||||
"ui.panel.config.automation.editor.blueprint.no_blueprints"
|
"ui.panel.config.automation.editor.blueprint.no_blueprints"
|
||||||
)
|
)
|
||||||
: html`<ha-circular-progress active></ha-circular-progress>`}
|
: html`<ha-circular-progress active></ha-circular-progress>`}
|
||||||
<mwc-button @click=${this._navigateBlueprints}>
|
|
||||||
${this.hass.localize(
|
|
||||||
"ui.panel.config.automation.editor.blueprint.manage_blueprints"
|
|
||||||
)}
|
|
||||||
</mwc-button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
${this.config.use_blueprint.path
|
${this.config.use_blueprint.path
|
||||||
@ -263,10 +257,6 @@ export class HaBlueprintAutomationEditor extends LitElement {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private _navigateBlueprints() {
|
|
||||||
navigate(this, "/config/blueprint");
|
|
||||||
}
|
|
||||||
|
|
||||||
static get styles(): CSSResult[] {
|
static get styles(): CSSResult[] {
|
||||||
return [
|
return [
|
||||||
haStyle,
|
haStyle,
|
||||||
@ -276,9 +266,6 @@ export class HaBlueprintAutomationEditor extends LitElement {
|
|||||||
}
|
}
|
||||||
.blueprint-picker-container {
|
.blueprint-picker-container {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
}
|
||||||
h3 {
|
h3 {
|
||||||
margin: 16px;
|
margin: 16px;
|
||||||
|
@ -59,6 +59,9 @@ export class HuiThemeSelectEditor extends LitElement {
|
|||||||
paper-dropdown-menu {
|
paper-dropdown-menu {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
paper-item {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1160,7 +1160,6 @@
|
|||||||
"header": "Blueprint",
|
"header": "Blueprint",
|
||||||
"blueprint_to_use": "Blueprint to use",
|
"blueprint_to_use": "Blueprint to use",
|
||||||
"no_blueprints": "You don't have any blueprints",
|
"no_blueprints": "You don't have any blueprints",
|
||||||
"manage_blueprints": "Manage Blueprints",
|
|
||||||
"no_inputs": "This blueprint doesn't have any inputs."
|
"no_inputs": "This blueprint doesn't have any inputs."
|
||||||
},
|
},
|
||||||
"modes": {
|
"modes": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user