venmugilrajan commited on
Commit
3d71dca
Β·
verified Β·
1 Parent(s): 58c2d4c

Upload index.html with huggingface_hub

Browse files
Files changed (1) hide show
  1. 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" style="display: none;">
467
  <header class="sheet-head">
468
  <h2 class="sheet-title">Detection</h2>
469
- <button class="ghost-btn" popovertarget="panel-settings" popovertargetaction="hide">Close</button>
 
 
 
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" style="display: none;">
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>