This commit is contained in:
2024-10-20 17:58:53 +02:00
parent 0b59c94f52
commit 7bddbd3e10
6 changed files with 9 additions and 148 deletions

View File

@ -5,7 +5,7 @@
version="1.1">
<xsl:import href="lib/head.xsl"/>
<xsl:import href="lib/parseCommand.xsl"/>
<xsl:import href="lib/nav.xsl"/>
<xsl:import href="lib/serviceLabel.xsl"/>
<xsl:import href="lib/toast.xsl"/>
@ -70,33 +70,6 @@
<script>
$('.ui.dropdown').dropdown()
hiddenButton.onclick = function(event) {
if (lanScanForm.checkValidity()) {
targetsInputDiv.classList.add('loading')
$.toast({
title : 'Scan en cours...',
message : 'Merci de patienter',
class : 'info',
showIcon : 'satellite dish',
displayTime: 0,
closeIcon : true,
position : 'bottom right',
})
}
}
refreshButton.onclick = function(event) {
refreshButton.getElementsByTagName('i')[0].className = 'loading spinner icon'
$.toast({
title : 'Scan en cours...',
message : 'Merci de patienter',
class : 'info',
showIcon : 'satellite dish',
displayTime: 0,
closeIcon : true,
position : 'bottom right',
})
}
function hostScanning(link) {
link.parentElement.parentElement.classList.add("loading")
$.toast({