mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
change wording on scancycle
This commit is contained in:
@@ -963,11 +963,11 @@ def update_devices_data_from_scan ():
|
||||
recordsToUpdate )
|
||||
|
||||
# New Apple devices -> Cycle 15
|
||||
print_log ('Update devices - 6 Cycle for Apple devices')
|
||||
sql.execute ("""UPDATE Devices SET dev_ScanCycle = 1
|
||||
WHERE dev_FirstConnection = ?
|
||||
AND UPPER(dev_Vendor) LIKE '%APPLE%' """,
|
||||
(startTime,) )
|
||||
# print_log ('Update devices - 6 Cycle for Apple devices')
|
||||
# sql.execute ("""UPDATE Devices SET dev_ScanCycle = 1
|
||||
# WHERE dev_FirstConnection = ?
|
||||
# AND UPPER(dev_Vendor) LIKE '%APPLE%' """,
|
||||
# (startTime,) )
|
||||
|
||||
print_log ('Update devices end')
|
||||
|
||||
|
||||
@@ -314,9 +314,9 @@
|
||||
<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-expanded="false" id="dropdownButtonScanCycle">
|
||||
<span class="fa fa-caret-down"></span></button>
|
||||
<ul id="dropdownScanCycle" class="dropdown-menu dropdown-menu-right">
|
||||
<li><a href="javascript:void(0)" onclick="setTextValue('txtScanCycle','1 min')"> Scan 1 min every 5 min</a></li>
|
||||
<li><a href="javascript:void(0)" onclick="setTextValue('txtScanCycle','Enabled')"> Scan Device</a></li>
|
||||
<!-- <li><a href="javascript:void(0)" onclick="setTextValue('txtScanCycle','15 min');"> Scan 12 min every 15 min</a></li> -->
|
||||
<li><a href="javascript:void(0)" onclick="setTextValue('txtScanCycle','0 min');"> Don't Scan</a></li>
|
||||
<li><a href="javascript:void(0)" onclick="setTextValue('txtScanCycle','Disabled');"> Don't Scan</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user