mirror of
https://github.com/smittix/intercept.git
synced 2026-04-25 07:10:00 -07:00
- Extract inline CSS to static/css/modes/ (acars, aprs, tscm) - Create HTML partials for all 9 modes in templates/partials/modes/ - Reduce index.html from 11,862 to 10,281 lines (~15% reduction) - Use Jinja2 includes for cleaner template organization Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
71 lines
3.7 KiB
HTML
71 lines
3.7 KiB
HTML
<!-- BLUETOOTH MODE -->
|
|
<div id="bluetoothMode" class="mode-content">
|
|
<div class="section">
|
|
<h3>Bluetooth Interface</h3>
|
|
<div class="form-group">
|
|
<select id="btInterfaceSelect">
|
|
<option value="">Detecting interfaces...</option>
|
|
</select>
|
|
</div>
|
|
<button class="preset-btn" onclick="refreshBtInterfaces()" style="width: 100%;">
|
|
Refresh Interfaces
|
|
</button>
|
|
<div class="info-text" style="margin-top: 8px; display: grid; grid-template-columns: auto auto; gap: 4px 8px; align-items: center;" id="btToolStatus">
|
|
<span>hcitool:</span><span class="tool-status missing">Checking...</span>
|
|
<span>bluetoothctl:</span><span class="tool-status missing">Checking...</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h3>Scan Mode</h3>
|
|
<div class="checkbox-group" style="margin-bottom: 10px;">
|
|
<label><input type="radio" name="btScanMode" value="bluetoothctl" checked> bluetoothctl (Recommended)</label>
|
|
<label><input type="radio" name="btScanMode" value="hcitool"> hcitool (Legacy)</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Scan Duration (sec)</label>
|
|
<input type="text" id="btScanDuration" value="30" placeholder="30">
|
|
</div>
|
|
<div class="checkbox-group">
|
|
<label>
|
|
<input type="checkbox" id="btScanBLE" checked>
|
|
Scan BLE Devices
|
|
</label>
|
|
<label>
|
|
<input type="checkbox" id="btScanClassic" checked>
|
|
Scan Classic BT
|
|
</label>
|
|
<label>
|
|
<input type="checkbox" id="btDetectBeacons" checked>
|
|
Detect Trackers (AirTag/Tile)
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h3>Device Actions</h3>
|
|
<div class="form-group">
|
|
<label>Target MAC</label>
|
|
<input type="text" id="btTargetMac" placeholder="AA:BB:CC:DD:EE:FF">
|
|
</div>
|
|
<button class="preset-btn" onclick="btEnumServices()" style="width: 100%;">
|
|
Enumerate Services
|
|
</button>
|
|
</div>
|
|
|
|
<!-- Tracker Following Alert -->
|
|
<div id="trackerFollowingAlert" class="tracker-following-alert" style="display: none;">
|
|
<!-- Populated by JavaScript -->
|
|
</div>
|
|
|
|
<button class="run-btn" id="startBtBtn" onclick="startBtScan()">
|
|
Start Scanning
|
|
</button>
|
|
<button class="stop-btn" id="stopBtBtn" onclick="stopBtScan()" style="display: none;">
|
|
Stop Scanning
|
|
</button>
|
|
<button class="preset-btn" onclick="resetBtAdapter()" style="margin-top: 5px; width: 100%;">
|
|
Reset Adapter
|
|
</button>
|
|
</div>
|