@firstpick/pi-package-webui 0.4.7 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/bin/pi-webui.mjs +148 -52
- package/package.json +2 -2
- package/public/app.js +998 -152
- package/public/index.html +11 -5
- package/public/styles.css +458 -46
- package/tests/http-endpoints-harness.test.mjs +112 -0
- package/tests/mobile-static.test.mjs +40 -18
- package/tests/native-parity.test.mjs +5 -1
package/public/index.html
CHANGED
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
<p id="updateNotificationMessage">A newer Pi version is available.</p>
|
|
53
53
|
<p id="updateNotificationDetail" class="update-notification-detail muted"></p>
|
|
54
54
|
<div class="update-notification-actions">
|
|
55
|
-
<button id="updateNotificationUpdateButton" class="primary" type="button">Update & restart</button>
|
|
55
|
+
<button id="updateNotificationUpdateButton" class="primary" type="button">Update Pi & restart</button>
|
|
56
|
+
<button id="updateNotificationUpdateAllButton" type="button">Update all & restart</button>
|
|
56
57
|
<button id="updateNotificationDismissButton" type="button">Later</button>
|
|
57
58
|
</div>
|
|
58
59
|
</div>
|
|
@@ -332,8 +333,10 @@
|
|
|
332
333
|
<div id="sidePanelSectionControls" class="side-panel-section-content" hidden>
|
|
333
334
|
<div class="side-panel-controls">
|
|
334
335
|
<div class="control-field">
|
|
335
|
-
<label for="modelSelect">Model</label>
|
|
336
|
+
<label id="modelControlLabel" for="modelSelect" title="Open or close model search" tabindex="0">Model</label>
|
|
337
|
+
<input id="modelSearchInput" class="model-search-input" type="search" placeholder="Search models…" autocomplete="off" spellcheck="false" hidden />
|
|
336
338
|
<select id="modelSelect" title="Model"></select>
|
|
339
|
+
<div id="modelSearchResults" class="model-search-results" role="listbox" aria-label="Model search results" hidden></div>
|
|
337
340
|
<button id="setModelButton" type="button">Set model</button>
|
|
338
341
|
</div>
|
|
339
342
|
<div class="control-field">
|
|
@@ -367,8 +370,10 @@
|
|
|
367
370
|
<div id="terminalTabsLayoutStatus" class="terminal-tabs-layout-status toggle-control-hint">Top bar</div>
|
|
368
371
|
</div>
|
|
369
372
|
<div class="control-field">
|
|
370
|
-
<label for="themeSelect">Theme</label>
|
|
373
|
+
<label for="themeSelect" id="themeControlLabel" title="Open or close theme search" tabindex="0">Theme</label>
|
|
374
|
+
<input id="themeSearchInput" class="model-search-input theme-search-input" type="search" placeholder="Search themes…" autocomplete="off" spellcheck="false" hidden />
|
|
371
375
|
<select id="themeSelect" title="Theme"></select>
|
|
376
|
+
<div id="themeSearchResults" class="model-search-results theme-search-results" role="listbox" aria-label="Theme search results" hidden></div>
|
|
372
377
|
</div>
|
|
373
378
|
<div class="control-field background-control-field">
|
|
374
379
|
<label for="backgroundInput">Background</label>
|
|
@@ -379,8 +384,8 @@
|
|
|
379
384
|
</div>
|
|
380
385
|
<div id="backgroundStatus" class="background-status muted">Theme default</div>
|
|
381
386
|
</div>
|
|
382
|
-
<div class="control-field network-control-field">
|
|
383
|
-
<label>
|
|
387
|
+
<div id="networkControlField" class="control-field network-control-field" hidden>
|
|
388
|
+
<label>Remote WebUI</label>
|
|
384
389
|
<div id="networkStatus" class="network-status closed">Local only</div>
|
|
385
390
|
<label class="toggle-control remote-auth-toggle" for="remoteAuthToggle">
|
|
386
391
|
<input id="remoteAuthToggle" type="checkbox" />
|
|
@@ -398,6 +403,7 @@
|
|
|
398
403
|
<option value="" selected>Choose action…</option>
|
|
399
404
|
<option value="restart">Restart Server</option>
|
|
400
405
|
<option value="update">Update Pi & Restart</option>
|
|
406
|
+
<option value="update-all">Update Pi + Packages & Restart</option>
|
|
401
407
|
<option value="stop">Stop Server</option>
|
|
402
408
|
</select>
|
|
403
409
|
<button id="runServerActionButton" type="button" disabled>Run</button>
|