Update deviceDetails.php

Updated "WOL" 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:05:53 +02:00
committed by GitHub
parent b18bcc7692
commit 89342ba9ee

View File

@@ -649,6 +649,9 @@
}
</script>
<?php
if ($_REQUEST['mac'] != 'Internet') {
?>
<h4 class=""><i class="fa-solid fa-power-off"></i> <?= lang('DevDetail_Tab_Tools_WOL_Title');?></h4>
<div style="width:100%; text-align: center; margin-bottom: 50px;">
<button type="button" id="wol" class="btn btn-primary pa-btn" style="margin: auto;" onclick="wol()"><?= lang('DevDetail_Tab_Tools_WOL_Start');?></button>
@@ -669,7 +672,10 @@
}
})
}
</script>
</script>
<?php
}
?>
<h4 class=""><i class="fa-solid fa-ethernet"></i> <?= lang('DevDetail_Nmap_Scans');?></h4>
<div style="width:100%; text-align: center;">