Spaces:
Running
Running
Upload index.html with huggingface_hub
Browse files- index.html +8 -5
index.html
CHANGED
|
@@ -51,8 +51,8 @@
|
|
| 51 |
<button class="ghost-btn guide-btn" popovertarget="panel-guide" id="btn-open-guide" aria-label="Open Sign Guide">
|
| 52 |
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="vertical-align: -2px; margin-right: 5px;"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg><span>Sign Guide</span>
|
| 53 |
</button>
|
| 54 |
-
<button class="ghost-btn" popovertarget="panel-settings">Settings</button>
|
| 55 |
-
<button class="ghost-btn" popovertarget="panel-help">Shortcuts</button>
|
| 56 |
<button class="ghost-btn theme-toggle-btn" id="btn-theme-toggle" aria-label="Toggle Light or Dark Mode" title="Toggle Light / Dark Mode">
|
| 57 |
<span id="theme-toggle-icon" aria-hidden="true">βοΈ</span>
|
| 58 |
</button>
|
|
@@ -463,10 +463,13 @@
|
|
| 463 |
</section>
|
| 464 |
|
| 465 |
<!-- ββ SETTINGS (top layer) βββββββββββββββββββββββββββββββββββββββββββββ -->
|
| 466 |
-
<div popover id="panel-settings" class="sheet"
|
| 467 |
<header class="sheet-head">
|
| 468 |
<h2 class="sheet-title">Detection</h2>
|
| 469 |
-
<
|
|
|
|
|
|
|
|
|
|
| 470 |
</header>
|
| 471 |
|
| 472 |
<div class="field">
|
|
@@ -498,7 +501,7 @@
|
|
| 498 |
</div>
|
| 499 |
|
| 500 |
<!-- ββ SHORTCUTS (top layer) ββββββββββββββββββββββββββββββββββββββββββββ -->
|
| 501 |
-
<div popover id="panel-help" class="sheet"
|
| 502 |
<header class="sheet-head">
|
| 503 |
<h2 class="sheet-title">How it works</h2>
|
| 504 |
<button class="ghost-btn" popovertarget="panel-help" popovertargetaction="hide">Close</button>
|
|
|
|
| 51 |
<button class="ghost-btn guide-btn" popovertarget="panel-guide" id="btn-open-guide" aria-label="Open Sign Guide">
|
| 52 |
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="vertical-align: -2px; margin-right: 5px;"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg><span>Sign Guide</span>
|
| 53 |
</button>
|
| 54 |
+
<button class="ghost-btn" id="btn-open-settings" popovertarget="panel-settings">Settings</button>
|
| 55 |
+
<button class="ghost-btn" id="btn-open-shortcuts" popovertarget="panel-help">Shortcuts</button>
|
| 56 |
<button class="ghost-btn theme-toggle-btn" id="btn-theme-toggle" aria-label="Toggle Light or Dark Mode" title="Toggle Light / Dark Mode">
|
| 57 |
<span id="theme-toggle-icon" aria-hidden="true">βοΈ</span>
|
| 58 |
</button>
|
|
|
|
| 463 |
</section>
|
| 464 |
|
| 465 |
<!-- ββ SETTINGS (top layer) βββββββββββββββββββββββββββββββββββββββββββββ -->
|
| 466 |
+
<div popover id="panel-settings" class="sheet">
|
| 467 |
<header class="sheet-head">
|
| 468 |
<h2 class="sheet-title">Detection</h2>
|
| 469 |
+
<div style="display: flex; gap: 8px; align-items: center;">
|
| 470 |
+
<button class="ghost-btn" id="btn-reset-settings" title="Reset detection settings to defaults" style="font-size: 11px; padding: 4px 8px;">Reset</button>
|
| 471 |
+
<button class="ghost-btn" id="btn-close-settings" popovertarget="panel-settings" popovertargetaction="hide">Close</button>
|
| 472 |
+
</div>
|
| 473 |
</header>
|
| 474 |
|
| 475 |
<div class="field">
|
|
|
|
| 501 |
</div>
|
| 502 |
|
| 503 |
<!-- ββ SHORTCUTS (top layer) ββββββββββββββββββββββββββββββββββββββββββββ -->
|
| 504 |
+
<div popover id="panel-help" class="sheet">
|
| 505 |
<header class="sheet-head">
|
| 506 |
<h2 class="sheet-title">How it works</h2>
|
| 507 |
<button class="ghost-btn" popovertarget="panel-help" popovertargetaction="hide">Close</button>
|