|
@@ -373,6 +373,9 @@
|
|
|
}
|
|
}
|
|
|
.panel-input:focus { border-bottom-color: var(--accent, #6366f1); }
|
|
.panel-input:focus { border-bottom-color: var(--accent, #6366f1); }
|
|
|
.panel-input.is-sm { width: 2.5ch; }
|
|
.panel-input.is-sm { width: 2.5ch; }
|
|
|
|
|
+ .panel-input.is-door { width: 4ch; }
|
|
|
|
|
+ .panel-value.is-grow { flex: 1; min-width: 0; }
|
|
|
|
|
+ .panel-value.is-grow .panel-input { width: 100%; }
|
|
|
.type-switch { display: inline-flex; align-items: baseline; gap: 2px; margin-left: 4px; font-size: 10.5px; }
|
|
.type-switch { display: inline-flex; align-items: baseline; gap: 2px; margin-left: 4px; font-size: 10.5px; }
|
|
|
.type-switch-sep { color: var(--text-muted); opacity: 0.35; }
|
|
.type-switch-sep { color: var(--text-muted); opacity: 0.35; }
|
|
|
.type-switch-opt { cursor: pointer; font-weight: 600; color: var(--text-muted); opacity: 0.5; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; text-decoration-thickness: 1px; }
|
|
.type-switch-opt { cursor: pointer; font-weight: 600; color: var(--text-muted); opacity: 0.5; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; text-decoration-thickness: 1px; }
|
|
@@ -1272,7 +1275,7 @@
|
|
|
<div class="panel-row" :class="{ 'is-saving': resDoorState==='saving', 'is-error': resDoorState==='error' }">
|
|
<div class="panel-row" :class="{ 'is-saving': resDoorState==='saving', 'is-error': resDoorState==='error' }">
|
|
|
<span class="panel-label">Door</span>
|
|
<span class="panel-label">Door</span>
|
|
|
<span class="panel-value">
|
|
<span class="panel-value">
|
|
|
- <input class="panel-input" type="text"
|
|
|
|
|
|
|
+ <input class="panel-input is-door" type="text"
|
|
|
:value="editingDoorCode ?? (selection.door_code || '')"
|
|
:value="editingDoorCode ?? (selection.door_code || '')"
|
|
|
@focus="editingDoorCode = selection.door_code || ''"
|
|
@focus="editingDoorCode = selection.door_code || ''"
|
|
|
@input="editingDoorCode = $event.target.value"
|
|
@input="editingDoorCode = $event.target.value"
|
|
@@ -1286,7 +1289,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="panel-row" :class="{ 'is-saving': resKeyState==='saving', 'is-error': resKeyState==='error' }">
|
|
<div class="panel-row" :class="{ 'is-saving': resKeyState==='saving', 'is-error': resKeyState==='error' }">
|
|
|
<span class="panel-label">WiFi key</span>
|
|
<span class="panel-label">WiFi key</span>
|
|
|
- <span class="panel-value">
|
|
|
|
|
|
|
+ <span class="panel-value is-grow">
|
|
|
<input class="panel-input" type="text"
|
|
<input class="panel-input" type="text"
|
|
|
:value="editingWifiKey ?? (selection.wifi_key || '')"
|
|
:value="editingWifiKey ?? (selection.wifi_key || '')"
|
|
|
@focus="editingWifiKey = selection.wifi_key || ''"
|
|
@focus="editingWifiKey = selection.wifi_key || ''"
|
|
@@ -1301,7 +1304,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="panel-row" :class="{ 'is-saving': resSsidState==='saving', 'is-error': resSsidState==='error' }">
|
|
<div class="panel-row" :class="{ 'is-saving': resSsidState==='saving', 'is-error': resSsidState==='error' }">
|
|
|
<span class="panel-label">WiFi SSID</span>
|
|
<span class="panel-label">WiFi SSID</span>
|
|
|
- <span class="panel-value">
|
|
|
|
|
|
|
+ <span class="panel-value is-grow">
|
|
|
<input class="panel-input" type="text"
|
|
<input class="panel-input" type="text"
|
|
|
:value="editingWifiSsid ?? (selection.wifi_ssid || '')"
|
|
:value="editingWifiSsid ?? (selection.wifi_ssid || '')"
|
|
|
@focus="editingWifiSsid = selection.wifi_ssid || ''"
|
|
@focus="editingWifiSsid = selection.wifi_ssid || ''"
|