Skip to content

Commit cb9ef0d

Browse files
committed
feat: rearrange ui
1 parent 131c6b7 commit cb9ef0d

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

templates/setup.html

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,33 +1600,33 @@ <h3 style="color: rgb(248, 113, 113); font-size: 14px; font-weight: 600; margin-
16001600
</div>
16011601
</div>
16021602

1603-
<button type="submit">💾 Save Configuration</button>
1604-
</form>
1605-
1606-
<!-- Model Confidence Insights (outside the config form) -->
1607-
<div style="margin-top: 24px;">
1608-
<button type="button" class="collapsible-btn" onclick="ciToggle('ci-content')">
1609-
<span><span class="icon">📊</span> Model Confidence Insights</span>
1610-
<span class="arrow"></span>
1611-
</button>
1612-
<div id="ci-content" class="collapsible-content">
1613-
<div class="collapsible-inner">
1614-
<p class="help-text" style="margin-bottom: 16px;">
1615-
This panel summarizes how confident the model is across each weather class. Low average confidence or low sample counts indicate classes where the model is uncertain or under-observed. Use it to decide which conditions need more captured and labeled training data.
1616-
</p>
1617-
<div id="ci-body" style="background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(71, 85, 105, 0.5); border-radius: 8px; padding: 16px;">
1618-
<div id="ci-status" style="color: rgb(148, 163, 184); font-size: 13px;">Expand to load statistics.</div>
1619-
<div id="ci-header" style="display: none; margin-bottom: 16px; color: rgb(148, 163, 184); font-size: 12px;"></div>
1620-
<div id="ci-controls" style="display: none; gap: 10px; margin-bottom: 16px;">
1621-
<button type="button" id="ci-refresh" onclick="ciLoad()" style="padding: 6px 14px; background: rgba(6, 182, 212, 0.15); border: 1px solid rgb(6, 182, 212); border-radius: 6px; color: rgb(6, 182, 212); font-size: 12px; font-weight: 600; cursor: pointer;">↻ Refresh</button>
1622-
<button type="button" id="ci-reset" onclick="ciReset()" style="padding: 6px 14px; background: rgba(248, 113, 113, 0.12); border: 1px solid rgb(248, 113, 113); border-radius: 6px; color: rgb(248, 113, 113); font-size: 12px; font-weight: 600; cursor: pointer;">⟲ Reset Statistics</button>
1603+
<!-- Model Confidence Insights (buttons use type="button" so they do not submit the form) -->
1604+
<div style="margin-top: 24px; margin-bottom: 24px;">
1605+
<button type="button" class="collapsible-btn" onclick="ciToggle('ci-content')">
1606+
<span><span class="icon">📊</span> Model Confidence Insights</span>
1607+
<span class="arrow"></span>
1608+
</button>
1609+
<div id="ci-content" class="collapsible-content">
1610+
<div class="collapsible-inner">
1611+
<p class="help-text" style="margin-bottom: 16px;">
1612+
This panel summarizes how confident the model is across each class. Low average confidence or low sample counts indicate classes where the model is uncertain or under-observed. Use it to decide which conditions need more captured and labeled training data.
1613+
</p>
1614+
<div id="ci-body" style="background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(71, 85, 105, 0.5); border-radius: 8px; padding: 16px;">
1615+
<div id="ci-status" style="color: rgb(148, 163, 184); font-size: 13px;">Expand to load statistics.</div>
1616+
<div id="ci-header" style="display: none; margin-bottom: 16px; color: rgb(148, 163, 184); font-size: 12px;"></div>
1617+
<div id="ci-controls" style="display: none; gap: 10px; margin-bottom: 16px;">
1618+
<button type="button" id="ci-refresh" onclick="ciLoad()" style="padding: 6px 14px; background: rgba(6, 182, 212, 0.15); border: 1px solid rgb(6, 182, 212); border-radius: 6px; color: rgb(6, 182, 212); font-size: 12px; font-weight: 600; cursor: pointer;">↻ Refresh</button>
1619+
<button type="button" id="ci-reset" onclick="ciReset()" style="padding: 6px 14px; background: rgba(248, 113, 113, 0.12); border: 1px solid rgb(248, 113, 113); border-radius: 6px; color: rgb(248, 113, 113); font-size: 12px; font-weight: 600; cursor: pointer;">⟲ Reset Statistics</button>
1620+
</div>
1621+
<div id="ci-classes"></div>
1622+
<div id="ci-advice" style="margin-top: 16px;"></div>
16231623
</div>
1624-
<div id="ci-classes"></div>
1625-
<div id="ci-advice" style="margin-top: 16px;"></div>
16261624
</div>
16271625
</div>
16281626
</div>
1629-
</div>
1627+
1628+
<button type="submit">💾 Save Configuration</button>
1629+
</form>
16301630

16311631
<script>
16321632
var ciLoaded = false;

0 commit comments

Comments
 (0)