clavarium 0.2.22-next.1 → 0.2.22-next.2
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/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/web/app.js +1 -1
- package/web/index.html +2 -3
- package/web/style.css +8 -0
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clavarium",
|
|
3
|
-
"version": "0.2.22-next.
|
|
3
|
+
"version": "0.2.22-next.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "clavarium",
|
|
9
|
-
"version": "0.2.22-next.
|
|
9
|
+
"version": "0.2.22-next.2",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@xterm/addon-fit": "^0.11.0",
|
package/package.json
CHANGED
package/web/app.js
CHANGED
|
@@ -2677,7 +2677,7 @@
|
|
|
2677
2677
|
select.dataset.of = `${current}:${wanted}`;
|
|
2678
2678
|
}
|
|
2679
2679
|
if (document.activeElement?.id !== 'wakeups-limit') $('wakeups-limit').value = String(mine.perHour);
|
|
2680
|
-
$('wakeups-sent').textContent =
|
|
2680
|
+
$('wakeups-sent').textContent = `0: no cap · ${mine.sentThisHour} this hour`;
|
|
2681
2681
|
void paintDocket();
|
|
2682
2682
|
}
|
|
2683
2683
|
/* Its docket (server/dockets.mjs): the reminders its tool set, which its owner may take back; the newest events. */
|
package/web/index.html
CHANGED
|
@@ -313,8 +313,7 @@
|
|
|
313
313
|
<button type="submit" class="primary">Add</button>
|
|
314
314
|
</form>
|
|
315
315
|
</details>
|
|
316
|
-
<label for="wakeups-limit">
|
|
317
|
-
<div class="row"><input id="wakeups-limit" type="number" min="0" step="1" inputmode="numeric"><button type="button" id="wakeups-limit-save">Set</button><span class="hint" id="wakeups-sent"></span></div>
|
|
316
|
+
<div class="set-row"><div class="set-what"><label for="wakeups-limit">At most, an hour</label><small id="wakeups-sent">0: no cap</small></div><div class="set-control"><input id="wakeups-limit" type="number" min="0" step="1" inputmode="numeric" style="width:6rem"><button type="button" id="wakeups-limit-save">Set</button></div></div>
|
|
318
317
|
</div>
|
|
319
318
|
</div>
|
|
320
319
|
</details>
|
|
@@ -664,7 +663,7 @@
|
|
|
664
663
|
<!-- NETWORK: this server's Wi-Fi (server/wifi.mjs; done as root by the host program,
|
|
665
664
|
through NetworkManager). A switch goes back by itself when the new network does not work. -->
|
|
666
665
|
<details class="chapter" id="settings-wifi-top" data-chapter="s-network">
|
|
667
|
-
<summary><span class="chapter-title">Network</span><span class="chapter-about">
|
|
666
|
+
<summary><span class="chapter-title">Network</span><span class="chapter-about">Cable and Wi-Fi.</span></summary>
|
|
668
667
|
<div class="chapter-body">
|
|
669
668
|
<div id="wifi" tabindex="-1">
|
|
670
669
|
<p id="wifi-now" role="status"></p>
|
package/web/style.css
CHANGED
|
@@ -1511,3 +1511,11 @@ details.more[open] > summary { margin-bottom: 4px; }
|
|
|
1511
1511
|
#panel #machine-size > :is(p, .row) { grid-column: 1 / -1; }
|
|
1512
1512
|
#panel #machine-size > .row { justify-content: flex-end; }
|
|
1513
1513
|
@media (max-width: 560px) { #panel #machine-size { grid-template-columns: minmax(0, 1fr); } }
|
|
1514
|
+
/* A chapter whose body is one block (Updates, Network): its pieces are the rows, not the block. */
|
|
1515
|
+
:is(#settings, #panel) .chapter-body > :is(#updates, #wifi) { padding: 0; }
|
|
1516
|
+
:is(#updates, #wifi) > * { margin: 0; padding: 12px 16px; }
|
|
1517
|
+
:is(#updates, #wifi) > * + * { border-top: 1px solid var(--line); }
|
|
1518
|
+
:is(#updates, #wifi) > :is([hidden], :empty) { display: none; }
|
|
1519
|
+
:is(#updates, #wifi) > .callout { margin: 8px 16px; padding: 8px 12px; border-top: 0; }
|
|
1520
|
+
:is(#updates, #wifi) > .set-rows { padding: 0; }
|
|
1521
|
+
:is(#updates, #wifi) > .hint { padding-top: 8px; padding-bottom: 8px; }
|