Update deviceDetails.php

Updated "Ping" section so that it is only visible if the device does not have mac="Internet"
This commit is contained in:
Carlos V
2023-08-19 13:15:27 +02:00
committed by GitHub
parent bcd804403a
commit fcde1a275e

View File

@@ -561,6 +561,9 @@
}
?>
<?php
if ($_REQUEST['mac'] != 'Internet') {
?>
<h4 class=""><i class="fa-solid fa-arrows-spin"></i> <?= lang('DevDetail_Tab_Tools_Ping_Title');?></h4>
<div style="width:100%; text-align: center; margin-bottom: 50px;">
<button type="button" id="ping" class="btn btn-primary pa-btn" style="margin: auto;" onclick="ping()"><?= lang('DevDetail_Tab_Tools_Ping_Start');?></button>
@@ -582,6 +585,9 @@
})
}
</script>
<?php
}
?>
<?php
if ($_REQUEST['mac'] != 'Internet') {