forked from andrew/karung-counting-feedmill-semarang
feat(ui): hide DO-manual, OCR engine, require-plat on office page
display:none only — element IDs, JS handlers and endpoints stay intact, so re-enabling is dropping three inline styles. Default batch mode is manual for the POC, so operators shouldn't see DO/OCR controls.
This commit is contained in:
1 parent
0eef08ded7
commit
5e190daaf6
2 files changed
+8
-3
No files matched your search
@@ -7,6 +7,11 @@ version tags are cut in this repo — POC stage, `main` is the release line).
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
- **Office UI: DO-manual / OCR engine / require-plat temporarily hidden** —
|
||||
`templates/monitoring.html` `display:none` on the DO Manual mode button and the
|
||||
OCR Engine + Require plat meta rows. Hidden, not deleted: element IDs, JS
|
||||
handlers, and endpoints all stay intact, and `default_mode: manual` is the
|
||||
seed. Re-enable by dropping the three inline `display:none;` styles.
|
||||
- **Rebrand: Karung.AI / Karung Counter → Feedmill Counting Platform** — UI page
|
||||
titles, header logo, footer, argparse description, systemd unit `Description`s,
|
||||
README/AGENTS headings. Header CSS shrunk below 640px so the longer brand name
|
||||
|
||||
@@ -310,7 +310,7 @@
|
||||
<button id="btnModeAuto" class="btn btn-sm" style="padding: 4px 10px; font-size: 11px; border-radius: 18px; border: none; background: transparent; color: var(--text-secondary);" onclick="switchBatchMode('auto')">
|
||||
<i class="fa-solid fa-robot"></i> Otomatis
|
||||
</button>
|
||||
<button id="btnModeDoManual" class="btn btn-sm" style="padding: 4px 10px; font-size: 11px; border-radius: 18px; border: none; background: transparent; color: var(--text-secondary);" onclick="switchBatchMode('do_manual')">
|
||||
<button id="btnModeDoManual" class="btn btn-sm" style="display:none; padding: 4px 10px; font-size: 11px; border-radius: 18px; border: none; background: transparent; color: var(--text-secondary);" onclick="switchBatchMode('do_manual')">
|
||||
<i class="fa-solid fa-file-lines"></i> DO Manual
|
||||
</button>
|
||||
<button id="btnModeManual" class="btn btn-sm" style="padding: 4px 10px; font-size: 11px; border-radius: 18px; border: none; background: transparent; color: var(--text-secondary);" onclick="switchBatchMode('manual')">
|
||||
@@ -350,7 +350,7 @@
|
||||
<span class="meta-key">Pipeline Speed</span>
|
||||
<span class="meta-value"><span id="liveFps">--</span> FPS</span>
|
||||
</div>
|
||||
<div class="meta-item">
|
||||
<div class="meta-item" style="display:none;">
|
||||
<span class="meta-key">OCR Engine</span>
|
||||
<span class="meta-value">
|
||||
<select id="monOcrEngine" style="padding:4px 8px;border-radius:8px;border:1px solid var(--border-color);background:var(--bg-base);color:var(--text-primary);font-size:12px;" onchange="setOcrEngine(this.value)">
|
||||
@@ -361,7 +361,7 @@
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
<div class="meta-item">
|
||||
<div class="meta-item" style="display:none;">
|
||||
<span class="meta-key">Require plat</span>
|
||||
<span class="meta-value">
|
||||
<label style="font-weight:400;">
|
||||
|
||||
Reference in new issue
Block a user