@enigmax/dashboard 0.1.32 → 0.1.33
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/assets/index.html +8 -2
- package/package.json +1 -1
package/assets/index.html
CHANGED
|
@@ -2567,7 +2567,11 @@ export {
|
|
|
2567
2567
|
+ (a.loggedIn ? "" : btn("login", "Log in..."))
|
|
2568
2568
|
+ (a.removable ? btn("rename", "Rename") + removeBtn : "")
|
|
2569
2569
|
+ "</div>";
|
|
2570
|
-
|
|
2570
|
+
const toolIc = agentSvg(a.tool);
|
|
2571
|
+
const toolBadge = toolIc
|
|
2572
|
+
? '<span class="aicon set-ic" title="' + esc(a.toolLabel) + '" aria-label="' + esc(a.toolLabel) + '">' + toolIc + "</span>"
|
|
2573
|
+
: '<span class="tag ext">' + esc(a.toolLabel) + "</span> ";
|
|
2574
|
+
return '<div class="set-row"><div class="set-meta"><div class="set-name">' + esc(a.name) + " " + toolBadge + badges
|
|
2571
2575
|
+ '</div><div class="set-hint">' + esc(a.dir) + "</div></div>" + acts + "</div>";
|
|
2572
2576
|
}
|
|
2573
2577
|
function profileRow(p, tools, accounts) {
|
|
@@ -2575,7 +2579,9 @@ export {
|
|
|
2575
2579
|
const cur = p.accounts[t.name] || "";
|
|
2576
2580
|
const opts = ['<option value="">(none)</option>'].concat(accounts.filter((a) => a.tool === t.name)
|
|
2577
2581
|
.map((a) => '<option value="' + esc(a.name) + '"' + (a.name === cur ? " selected" : "") + ">" + esc(a.name) + "</option>")).join("");
|
|
2578
|
-
|
|
2582
|
+
const ic = agentSvg(t.name);
|
|
2583
|
+
const lbl = ic ? '<span class="aicon" title="' + esc(t.label) + '" aria-label="' + esc(t.label) + '">' + ic + "</span>" : esc(t.label);
|
|
2584
|
+
return '<label style="font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:6px;margin:0 12px 6px 0">' + lbl
|
|
2579
2585
|
+ ' <select class="choice" data-prof-tool="' + esc(t.name) + '" data-prof="' + esc(p.name) + '">' + opts + "</select></label>";
|
|
2580
2586
|
}).join("");
|
|
2581
2587
|
const acts = '<div class="set-ctl" style="display:flex;gap:6px;align-items:center">'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enigmax/dashboard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
4
4
|
"description": "Local browser dashboard UI for enigma: the static page and chart assets enigma serves on its loopback dashboard (savings, real tool usage, in-browser settings). Installed on demand by enigma-cli; not a runtime dependency.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|