style
This commit is contained in:
parent
e2239d3894
commit
f0485f6abd
11
index.php
11
index.php
@ -15,10 +15,19 @@
|
|||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
body>.grid {
|
body > .grid {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2.logo {
|
||||||
|
filter: drop-shadow(0 0 2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ui.inverted.segment {
|
||||||
|
background: #1b1c1dc0;
|
||||||
|
backdrop-filter: blur(7px);
|
||||||
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
}
|
}
|
||||||
|
@ -7,12 +7,12 @@
|
|||||||
<xsl:import href="services.xsl" />
|
<xsl:import href="services.xsl" />
|
||||||
<xsl:import href="toast.xsl" />
|
<xsl:import href="toast.xsl" />
|
||||||
|
|
||||||
<xsl:output method="html" encoding="UTF-8" indent="yes" escape-uri-attributes="no" />
|
<xsl:output method="html" encoding="UTF-8" indent="yes" />
|
||||||
<xsl:strip-space elements='*' />
|
<xsl:strip-space elements='*' />
|
||||||
|
|
||||||
<xsl:variable name="stylesheetURL" select="substring-before(substring-after(processing-instruction('xml-stylesheet'),'href="'), '?')" />
|
<xsl:variable name="stylesheetURL" select="substring-before(substring-after(processing-instruction('xml-stylesheet'),'href="'), '?')" />
|
||||||
<xsl:variable name="base" select="concat($stylesheetURL, '/../../')" />
|
<xsl:variable name="base" select="concat($stylesheetURL, '/../../')" />
|
||||||
<xsl:variable name="name" select="substring-before(substring-after(processing-instruction('xml-stylesheet'),'name='), '"')" disable-output-escaping="no"/>
|
<xsl:variable name="name" select="substring-before(substring-after(processing-instruction('xml-stylesheet'),'name='), '"')"/>
|
||||||
|
|
||||||
<xsl:template match="nmaprun">
|
<xsl:template match="nmaprun">
|
||||||
<xsl:variable name="targets" select="substring-after(@args, '-oX - ')" />
|
<xsl:variable name="targets" select="substring-after(@args, '-oX - ')" />
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.1">
|
xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.1">
|
||||||
|
|
||||||
<xsl:template match="nmaprun" mode="nav">
|
<xsl:template match="nmaprun" mode="nav">
|
||||||
|
<xsl:param name="name" />
|
||||||
|
|
||||||
<nav class="ui inverted secondary menu">
|
<nav class="ui inverted secondary menu">
|
||||||
<a href="." class="ui header button item logo">lan<svg class="logo" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 24 24" xml:space="preserve" width="40" height="40"
|
<a href="." class="ui header button item logo">lan<svg class="logo" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 24 24" xml:space="preserve" width="40" height="40"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
@ -86,6 +88,7 @@ scanForm.onsubmit = function(event) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
<xsl:if test="$name">
|
||||||
refreshLink.onclick = function(event) {
|
refreshLink.onclick = function(event) {
|
||||||
refreshLink.getElementsByTagName('i')[0].className = 'loading spinner icon'
|
refreshLink.getElementsByTagName('i')[0].className = 'loading spinner icon'
|
||||||
$.toast({
|
$.toast({
|
||||||
@ -98,6 +101,7 @@ refreshLink.onclick = function(event) {
|
|||||||
position : 'bottom right',
|
position : 'bottom right',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
</xsl:if>
|
||||||
</script>
|
</script>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
Loading…
x
Reference in New Issue
Block a user