This commit is contained in:
Adrien MALINGREY 2024-10-17 16:49:56 +02:00
parent 88280ac41d
commit d39798ea4e
5 changed files with 13 additions and 0 deletions

View File

@ -41,6 +41,10 @@ main {
margin-top: 0; margin-top: 0;
} }
.ui.header {
text-transform: capitalize;
}
.share-size { .share-size {
--free-ratio: calc(var(--free) / var(--total)); --free-ratio: calc(var(--free) / var(--total));
--used-percent: calc(100% - 100%*var(--free-ratio)); --used-percent: calc(100% - 100%*var(--free-ratio));

View File

@ -46,6 +46,8 @@
</xsl:call-template> </xsl:call-template>
<xsl:text>compareWith=</xsl:text> <xsl:text>compareWith=</xsl:text>
<xsl:value-of select="$nextCompareWith"/> <xsl:value-of select="$nextCompareWith"/>
<xsl:text>&amp;refreshPeriod=</xsl:text>
<xsl:value-of select="$refreshPeriod"/>
<xsl:text>&amp;sudo=</xsl:text> <xsl:text>&amp;sudo=</xsl:text>
<xsl:value-of select="$sudo"/> <xsl:value-of select="$sudo"/>
</xsl:attribute> </xsl:attribute>

View File

@ -46,6 +46,8 @@
</xsl:call-template> </xsl:call-template>
<xsl:text>compareWith=</xsl:text> <xsl:text>compareWith=</xsl:text>
<xsl:value-of select="$nextCompareWith"/> <xsl:value-of select="$nextCompareWith"/>
<xsl:text>&amp;refreshPeriod=</xsl:text>
<xsl:value-of select="$refreshPeriod"/>
<xsl:text>&amp;sudo=</xsl:text> <xsl:text>&amp;sudo=</xsl:text>
<xsl:value-of select="$sudo"/> <xsl:value-of select="$sudo"/>
</xsl:attribute> </xsl:attribute>
@ -257,6 +259,7 @@ function hostScanning(link) {
</xsl:attribute> </xsl:attribute>
<i class="server icon"></i> <i class="server icon"></i>
<input type="text" readonly="" value="{substring-before(hostnames/hostname/@name, '.')}" placeholder="{address/@addr}" <input type="text" readonly="" value="{substring-before(hostnames/hostname/@name, '.')}" placeholder="{address/@addr}"
title="{$currentHost/hostnames/hostname/@name} ({address/@addr})"
onfocus="this.value='{hostnames/hostname/@name}'; this.select()" onblur="this.value='{substring-before(hostnames/hostname/@name, '.')}'" onfocus="this.value='{hostnames/hostname/@name}'; this.select()" onblur="this.value='{substring-before(hostnames/hostname/@name, '.')}'"
/> />
<xsl:apply-templates select="$currentHost/ports/port | $initHost/ports/port[not(@portid=$currentHost/ports/port/@portid)][not(state/@state='closed')]"> <xsl:apply-templates select="$currentHost/ports/port | $initHost/ports/port[not(@portid=$currentHost/ports/port/@portid)][not(state/@state='closed')]">

View File

@ -46,6 +46,8 @@
</xsl:call-template> </xsl:call-template>
<xsl:text>compareWith=</xsl:text> <xsl:text>compareWith=</xsl:text>
<xsl:value-of select="$nextCompareWith"/> <xsl:value-of select="$nextCompareWith"/>
<xsl:text>&amp;refreshPeriod=</xsl:text>
<xsl:value-of select="$refreshPeriod"/>
<xsl:text>&amp;sudo=</xsl:text> <xsl:text>&amp;sudo=</xsl:text>
<xsl:value-of select="$sudo"/> <xsl:value-of select="$sudo"/>
</xsl:attribute> </xsl:attribute>

View File

@ -46,6 +46,8 @@
</xsl:call-template> </xsl:call-template>
<xsl:text>compareWith=</xsl:text> <xsl:text>compareWith=</xsl:text>
<xsl:value-of select="$nextCompareWith"/> <xsl:value-of select="$nextCompareWith"/>
<xsl:text>&amp;refreshPeriod=</xsl:text>
<xsl:value-of select="$refreshPeriod"/>
<xsl:text>&amp;sudo=</xsl:text> <xsl:text>&amp;sudo=</xsl:text>
<xsl:value-of select="$sudo"/> <xsl:value-of select="$sudo"/>
</xsl:attribute> </xsl:attribute>