Skip to content

Commit 07a83f9

Browse files
Lensing
1 parent ae3253d commit 07a83f9

2 files changed

Lines changed: 320 additions & 14 deletions

File tree

attack_timearcs.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,23 @@
7979
<span>Attack Group</span>
8080
</label>
8181
</fieldset>
82-
<button id="lensingToggle" style="padding:6px 12px; border:1px solid #dee2e6; border-radius:4px; background:#fff; cursor:pointer; font-size:12px; font-weight:600; transition: all 0.2s;">
82+
<button id="lensingToggle" style="padding:6px 12px; border:1px solid #dee2e6; border-radius:4px; background:#fff; cursor:pointer; font-size:12px; font-weight:600; transition: all 0.2s;" title="Toggle lensing mode (Shift + L)">
8383
<span>🔍 Lensing</span>
84+
<span style="font-size:10px; opacity:0.7; margin-left:4px;">(⇧L)</span>
8485
</button>
86+
<div style="display:flex; align-items:center; gap:8px; padding:4px 8px; border:1px solid #dee2e6; border-radius:4px;">
87+
<label for="lensingMulSlider" style="font-size:12px; font-weight:600; white-space:nowrap;">Zoom:</label>
88+
<input type="range" id="lensingMulSlider" min="2" max="200" step="1" value="5" style="width:100px; cursor:pointer;" />
89+
<span id="lensingMulValue" style="font-size:12px; min-width:24px; text-align:right;">5x</span>
90+
</div>
8591
</div>
86-
<div class="hint">Columns: timestamp,length,src_ip,dst_ip,protocol,count,attack • Default load: 90min_day1_attacks.csv</div>
87-
<div id="status">Waiting for data…</div>
92+
<div class="hint" style="display: none;">
93+
Columns: timestamp,length,src_ip,dst_ip,protocol,count,attack • Default load: 90min_day1_attacks.csv
94+
<span style="margin-left:12px; padding-left:12px; border-left:1px solid #dee2e6;">
95+
💡 Tip: Press <kbd style="padding:2px 6px; background:#f8f9fa; border:1px solid #dee2e6; border-radius:3px; font-size:11px; font-family:monospace;">Shift + L</kbd> to toggle lensing
96+
</span>
97+
</div>
98+
<div id="status" style="display: none;">Waiting for data…</div>
8899
</header>
89100
<main>
90101
<div class="top-bar">

0 commit comments

Comments
 (0)