aboutsummaryrefslogtreecommitdiffstats
path: root/static/dashboard.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/dashboard.js')
-rw-r--r--static/dashboard.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/dashboard.js b/static/dashboard.js
index 5479312..5dc8939 100644
--- a/static/dashboard.js
+++ b/static/dashboard.js
@@ -138,7 +138,7 @@ export default {
c.querySelector(".v").textContent = v;
if (s != null) c.querySelector(".s").textContent = s;
if (fill != null) c.querySelector(".fill").style.width = `${Math.max(0, Math.min(100, fill))}%`;
- c.classList.toggle("warn", Boolean(warn));
+ c.classList.toggle("hot", Boolean(warn));
};
// A disabled module's parts are left out.
@@ -179,7 +179,7 @@ export default {
const program = (title, p) => {
const model = `<span class="model">${esc(p.model ? short(p.model) : "—")}</span>`;
if (!(p.cost > 0)) { // local or free models: tokens, not dollars
- return `<div class="prog row"><h3>${esc(title)}</h3>${model}
+ return `<div class="prog inline"><h3>${esc(title)}</h3>${model}
<span class="tok"><span class="lbl">session</span><b class="num">${tok(p.session_tokens)}</b></span>
<span class="tok"><span class="lbl">total</span><b class="num">${tok(p.tokens)}</b></span></div>`;
}