feat: add branch overviews scoped outdoor plans and complete room moves
This commit is contained in:
1 parent
382d6e04f2
commit
16eddacebf
35 files changed
+2598
-2116
No files matched your search
@@ -28,6 +28,7 @@ export interface RoomActions {
|
||||
removeCorner(index: number): void;
|
||||
duplicate(): void;
|
||||
remove(): void;
|
||||
move(): void;
|
||||
rememberView(): void;
|
||||
applyPackage(pkg: PackageId): void;
|
||||
openSpots(): void;
|
||||
@@ -164,6 +165,7 @@ export function renderRoomForm(host: EditorHost, state: SideState, room: Room, a
|
||||
return html`<section>
|
||||
<div class="nf-h3row"><h3>${t("room")}</h3>${actions.lockButton}</div>
|
||||
${host.doc.topology&&host.floor?html`<div class="nf-room-context" title=${floorTopologyPath(host.doc,host.floor)}>${floorTopologyPath(host.doc,host.floor)}</div>`:nothing}
|
||||
${host.doc.topology?html`<button class="nf-btn nf-room-move-open" ?disabled=${!host.admin} @click=${()=>actions.move()}>Raum verschieben…</button>`:nothing}
|
||||
<div class="nf-form">
|
||||
${textField(host, t("room_name"), room.name, (v) => actions.patch({ name: v }), { wide: true })}
|
||||
${selectField(host, isSymcon(host.hass)?"Bereich (Symcon)":t("area"), room.area_id ?? "", areaChoices, (id) => actions.setArea(id), { wide: true })}
|
||||
|
||||
Reference in new issue
Block a user