@javierfrancoleal/dsh-supervisor 1.0.13 → 1.0.14
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/dashboard.html +13 -0
- package/package.json +1 -1
package/dashboard.html
CHANGED
|
@@ -75,6 +75,13 @@ pre{background:#0f172a;color:#d7e3f4;border-radius:12px;padding:12px;font-size:1
|
|
|
75
75
|
.tabs button.active{background:var(--blue);color:#fff;border-color:var(--blue)}
|
|
76
76
|
table{width:100%;border-collapse:collapse;font-size:14px}
|
|
77
77
|
td,th{border-bottom:1px solid var(--line);padding:9px 6px;text-align:left}
|
|
78
|
+
#splash{position:fixed;inset:0;background:linear-gradient(135deg,#4D6BFE,#7c5cff);display:flex;align-items:center;justify-content:center;z-index:100;transition:opacity .5s,visibility .5s}
|
|
79
|
+
#splash.done{opacity:0;visibility:hidden}
|
|
80
|
+
.splash-inner{text-align:center;color:#fff;padding:20px}
|
|
81
|
+
.splash-inner b{display:block;font-size:22px;margin-top:14px;letter-spacing:.02em}
|
|
82
|
+
.splash-inner span{font-size:12.5px;opacity:.85}
|
|
83
|
+
@media (prefers-reduced-motion: no-preference){.splash-inner svg path{stroke-dasharray:100;stroke-dashoffset:100;animation:drawStroke 1.2s cubic-bezier(.4,0,.2,1) forwards}}
|
|
84
|
+
@media (prefers-reduced-motion: reduce){#splash{display:none}}
|
|
78
85
|
.hidden{display:none}
|
|
79
86
|
.kban{background:#fef3c7;border:1px solid #f59e0b;color:#92400e;border-radius:12px;padding:12px 14px;margin:10px 0;font-weight:700;font-size:15px}
|
|
80
87
|
.chip{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:5px 12px;font-size:13px;font-weight:600}
|
|
@@ -141,6 +148,10 @@ body.wall pre{max-height:40vh}
|
|
|
141
148
|
</style>
|
|
142
149
|
</head>
|
|
143
150
|
<body>
|
|
151
|
+
<div id="splash"><div class="splash-inner">
|
|
152
|
+
<svg width="96" height="96" viewBox="0 0 64 64" aria-hidden="true"><defs><linearGradient id="splg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#ffffff"/><stop offset="1" stop-color="#e0e7ff"/></linearGradient></defs><path pathLength="100" d="M10 32 C10 22 16 14 32 14 C48 14 54 22 54 32 C54 42 48 50 32 50 C20 50 12.5 45.2 10.5 38.5 C14 42.5 20 41 25.4 34.8 A6.6 6.6 0 0 1 38.6 34.8 C38.6 31.4 36.6 28.2 32 22.5 C27.4 28.2 25.4 31.4 25.4 34.8" fill="none" stroke="url(#splg)" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
153
|
+
<b>Le Veilleux</b><span id="splashTag">The AI works. The human watches, decides, reviews.</span>
|
|
154
|
+
</div></div>
|
|
144
155
|
<header>
|
|
145
156
|
<h1 id="appTitle"><svg width="26" height="26" viewBox="0 0 64 64" aria-hidden="true"><path d="M10 32 C10 22 16 14 32 14 C48 14 54 22 54 32 C54 42 48 50 32 50 C20 50 12.5 45.2 10.5 38.5 C14 42.5 20 41 25.4 34.8 A6.6 6.6 0 0 1 38.6 34.8 C38.6 31.4 36.6 28.2 32 22.5 C27.4 28.2 25.4 31.4 25.4 34.8" fill="none" stroke="#ffffff" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/></svg> <span style="vertical-align:5px">Le Veilleux</span></h1>
|
|
146
157
|
<span class="who" id="who"></span>
|
|
@@ -328,6 +339,7 @@ $("darkBtn").onclick=()=>{darkOn=!darkOn;try{localStorage.setItem("dsh-dark",dar
|
|
|
328
339
|
$("soundBtn").onclick=()=>{soundOn=!soundOn;try{localStorage.setItem("dsh-sound",soundOn?"1":"0");}catch(e){}applyToggles();};
|
|
329
340
|
try{darkOn=localStorage.getItem("dsh-dark")==="1";soundOn=localStorage.getItem("dsh-sound")!=="0";}catch(e){}
|
|
330
341
|
applyToggles();
|
|
342
|
+
setTimeout(()=>{$("splash").classList.add("done");},1500);
|
|
331
343
|
async function reRenderDynamic(){
|
|
332
344
|
if(!me)return;
|
|
333
345
|
if(me.role==="owner"){loadMetrics($("ownerMetrics"));loadUsers();loadUsage();loadField();renderOrders();renderSuggest();}
|
|
@@ -374,6 +386,7 @@ function panelLinks(){const u=me?encodeURIComponent(me.name):"",r=me?encodeURICo
|
|
|
374
386
|
function applyLang(){
|
|
375
387
|
try{localStorage.setItem("dsh-lang",cur);}catch(e){}
|
|
376
388
|
$("welcomeClose").onclick=()=>{$("welcomeCard").style.display="none";try{localStorage.setItem("lv-welcome","1");}catch(e){}};
|
|
389
|
+
$("splashTag").textContent=t("tagline");
|
|
377
390
|
$("welcomeTitle").textContent=t("welcomeTitle");$("welcomeBody").textContent=t("welcomeBody");$("wallNote").textContent=t("wallNote");
|
|
378
391
|
$("loginTitle").textContent=t("login");$("tagline").textContent=t("tagline");$("loginUser").placeholder=t("user");
|
|
379
392
|
["loginUser","loginPass"].forEach(id=>$(id).addEventListener("input",()=>$("loginError").classList.add("hidden")));$("loginPass").placeholder=t("password");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@javierfrancoleal/dsh-supervisor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "The Veilleux central control plane of the J.Franco agentic workflow suite: user accounts, the live conversation flow (listen → per-person summary → confirm → orders), telemetry, and the universal sector dashboard with 10 languages. Created by J.Franco.",
|
|
5
5
|
"author": "J.Franco",
|
|
6
6
|
"license": "MIT",
|