mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Update deviceDetails.php
Updated "Traceroute" section so that it is only visible if the device does not have mac="Internet"
This commit is contained in:
@@ -583,6 +583,9 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if ($_REQUEST['mac'] != 'Internet') {
|
||||||
|
?>
|
||||||
<h4 class=""><i class="fa-solid fa-route"></i> <?= lang('DevDetail_Tab_Tools_Traceroute_Title');?></h4>
|
<h4 class=""><i class="fa-solid fa-route"></i> <?= lang('DevDetail_Tab_Tools_Traceroute_Title');?></h4>
|
||||||
<div style="width:100%; text-align: center; margin-bottom: 50px;">
|
<div style="width:100%; text-align: center; margin-bottom: 50px;">
|
||||||
<button type="button" id="traceroute" class="btn btn-primary pa-btn" style="margin: auto;" onclick="traceroute()"><?= lang('DevDetail_Tab_Tools_Traceroute_Start');?></button>
|
<button type="button" id="traceroute" class="btn btn-primary pa-btn" style="margin: auto;" onclick="traceroute()"><?= lang('DevDetail_Tab_Tools_Traceroute_Start');?></button>
|
||||||
@@ -604,6 +607,9 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ($_REQUEST['mac'] != 'Internet') {
|
if ($_REQUEST['mac'] != 'Internet') {
|
||||||
|
|||||||
Reference in New Issue
Block a user