mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-21 14:09:59 +01:00
Design improvements on stations.html
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -31,7 +31,7 @@
|
||||
<span id="networksFound">0</span>
|
||||
<br />
|
||||
MAC: <span id="apMAC"></span>
|
||||
<span id="selectAllBtns">
|
||||
<span id="selectAllBtns" style="visibility:'hidden'">
|
||||
<br />
|
||||
<button class="marginNull button-primary left" onclick="select(-2)">deselect all</button>
|
||||
<button class="marginNull button-primary right" onclick="select(-1)">select all</button>
|
||||
|
||||
@@ -38,8 +38,7 @@ function getResults() {
|
||||
|
||||
var tr = '';
|
||||
if (res.aps.length > 0) {
|
||||
tr += '<tr><th>Ch</th><th>SSID</th><th>RSSI</th><th>Encrypt.</th>';
|
||||
tr += '<th>Select</th></tr>'
|
||||
tr += '<tr><th>Ch</th><th>SSID</th><th>RSSI</th><th>Encrypt.</th><th>Select</th></tr>';
|
||||
}
|
||||
|
||||
for (var i = 0; i < res.aps.length; i++) {
|
||||
|
||||
@@ -35,9 +35,7 @@ function getResults() {
|
||||
clientsFound.innerHTML = res.clients.length;
|
||||
|
||||
var tr = '';
|
||||
if (res.clients.length > 0) tr += '<tr><th>Pkts</th><th>Vendor</th><th>Name</th><th>MAC</th><th>AP</th>';
|
||||
if (res.clients.length > 1) tr += '<th><button class="marginNull button-primary" onclick="select(-1)">select</button> | <button class="marginNull button-primary" onclick="select(-2)">deselect</button> all</th></tr>';
|
||||
else tr += '<th>Select</th></tr>';
|
||||
if (res.clients.length > 0) tr += '<tr><th>Pkts</th><th>Vendor</th><th>Name</th><th>MAC</th><th>AP</th><th>Select</th></tr>';
|
||||
|
||||
for (var i = 0; i < res.clients.length; i++) {
|
||||
|
||||
|
||||
@@ -30,16 +30,21 @@
|
||||
<a id="clientScanStatus" class="right padding">scanning...</a>
|
||||
<br />
|
||||
<p class="warn">The access point will be unavailable while scanning and you may have to reconnect!<p>
|
||||
<p>Client devices found: <span id="clientsFound">0</span></p>
|
||||
<p>
|
||||
Stations found: <span id="clientsFound">0</span>
|
||||
<br />
|
||||
<button class="marginNull button-primary left" onclick="select(-2)">deselect all</button>
|
||||
<button class="marginNull button-primary right" onclick="select(-1)">select all</button>
|
||||
</p>
|
||||
<br />
|
||||
<table></table>
|
||||
|
||||
<p class="block bold" >Saved clients: <span id="clientNames"></span></p>
|
||||
<p class="block bold" >Saved stations: <span id="clientNames"></span></p>
|
||||
<table id="nameList"></table>
|
||||
|
||||
<button class="button-warn left" onclick="clearNameList()">clear</button>
|
||||
<br class="clear" />
|
||||
<p>Add client:</p>
|
||||
<p>Add station:</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
Reference in New Issue
Block a user