@weiping/mbridge-page 0.5.0 → 0.5.1
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/package.json +1 -1
- package/page/style.css +2 -0
- package/page/view.js +9 -1
package/package.json
CHANGED
package/page/style.css
CHANGED
package/page/view.js
CHANGED
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
const REFRESH_MS = 5000;
|
|
8
8
|
|
|
9
|
+
// PAGE_VERSION is this page's own build: the sidebar keeps the iframe it
|
|
10
|
+
// built the first time, so a stale tab shows an old version here (SP14 §2:
|
|
11
|
+
// the plugin page is a one-way ticket — toggle the plugin off and on to
|
|
12
|
+
// get a new frame).
|
|
13
|
+
const PAGE_VERSION = "0.5.1";
|
|
14
|
+
|
|
9
15
|
const TEXT = {
|
|
10
16
|
en: {
|
|
11
17
|
title: "mbridge",
|
|
@@ -458,7 +464,8 @@ function calibrationTable(c) {
|
|
|
458
464
|
// the headline: mbridge's own numbers, not the process table
|
|
459
465
|
root.appendChild(el("header", { class: "head" }, [
|
|
460
466
|
el("h1", {}, [el("span", { text: "mbridge" }),
|
|
461
|
-
el("span", { class: "version", text: " " + (data.version || "") })
|
|
467
|
+
el("span", { class: "version", text: " " + (data.version || "") }),
|
|
468
|
+
el("span", { class: "pagever", text: "page " + PAGE_VERSION })]),
|
|
462
469
|
el("p", { class: "sub", text: t.subtitle }),
|
|
463
470
|
]));
|
|
464
471
|
|
|
@@ -668,6 +675,7 @@ function calibrationTable(c) {
|
|
|
668
675
|
}
|
|
669
676
|
|
|
670
677
|
globalThis.MbridgeView = {
|
|
678
|
+
PAGE_VERSION,
|
|
671
679
|
TEXT,
|
|
672
680
|
REASONS,
|
|
673
681
|
TIERS,
|