+
State
${state.editorDirty ? "Edited" : "Matches solver output"}
diff --git a/src/repixelizer/gui_static/app.js b/src/repixelizer/gui_static/app.js
index a7efe93..934c11b 100644
--- a/src/repixelizer/gui_static/app.js
+++ b/src/repixelizer/gui_static/app.js
@@ -158,7 +158,7 @@ function renderEventLog() {
}
for (const entry of state.eventLog) {
const node = document.createElement("div");
- node.className = "event-item";
+ node.className = "info-card event-item";
node.innerHTML = `
${entry.label}${entry.detail}`;
eventLog.appendChild(node);
}
@@ -349,7 +349,7 @@ function renderStatusMetricItems(items) {
statusMetrics.style.setProperty("--status-metric-count", String(Math.max(items.length, 1)));
for (const { label, value } of items) {
const node = document.createElement("div");
- node.className = "status-metric";
+ node.className = "info-card status-metric";
node.title = `${label}: ${value}`;
node.innerHTML = `
${label}${value}`;
statusMetrics.appendChild(node);
@@ -368,15 +368,15 @@ function renderInference() {
return;
}
inferenceSummary.innerHTML = `
-
+
Chosen Grid
${state.inference.target_width} x ${state.inference.target_height}
-
+
Phase
${formatNumber(state.inference.phase_x, 2)}, ${formatNumber(state.inference.phase_y, 2)}
-
+
Confidence
${formatNumber(state.inference.confidence, 3)}
@@ -385,7 +385,7 @@ function renderInference() {
const topCandidates = state.inference.top_candidates.slice(0, 6);
for (const candidate of topCandidates) {
const node = document.createElement("div");
- node.className = "candidate-card";
+ node.className = "info-card candidate-card";
const rerank = candidate.breakdown["phase_rerank_rank"];
node.innerHTML = `
${candidate.target_width} x ${candidate.target_height}
@@ -492,7 +492,7 @@ function renderSummary() {
];
for (const [label, value] of entries) {
const card = document.createElement("div");
- card.className = "summary-card";
+ card.className = "info-card summary-card";
card.innerHTML = `
${label}${formatNumber(value, 3)}`;
summaryPanel.appendChild(card);
}
@@ -825,11 +825,11 @@ function renderEditor() {
}
}
editorMeta.innerHTML = `
-
+
Canvas
${offscreenCanvas.width} x ${offscreenCanvas.height}
-
+
State
${state.editorDirty ? "Edited" : "Matches solver output"}
diff --git a/src/repixelizer/gui_static/index.html b/src/repixelizer/gui_static/index.html
index 04aa082..30e3d52 100644
--- a/src/repixelizer/gui_static/index.html
+++ b/src/repixelizer/gui_static/index.html
@@ -9,14 +9,14 @@