From bd8e988444ba53d422c27c3d4630ed317ce9c819 Mon Sep 17 00:00:00 2001 From: adrien Date: Sun, 20 Oct 2024 15:03:45 +0200 Subject: [PATCH] export head --- style.css | 13 +++++++ templates/cards.xsl | 57 ++++++----------------------- templates/compact.xsl | 73 +++++++------------------------------ templates/hostsTable.xsl | 57 ++++++----------------------- templates/lib/head.xsl | 56 ++++++++++++++++++++++++++++ templates/lib/toast.xsl | 14 ++++--- templates/servicesTable.xsl | 57 ++++++----------------------- 7 files changed, 126 insertions(+), 201 deletions(-) create mode 100644 templates/lib/head.xsl diff --git a/style.css b/style.css index 093cff8..cfc2692 100644 --- a/style.css +++ b/style.css @@ -51,3 +51,16 @@ main { --color: hsl(calc(120*var(--free-ratio)) 100% 50%); background-image: linear-gradient(to right, var(--color) var(--used-percent), transparent var(--used-percent), transparent) !important; } + +.compact .ui.icon.buttons .mini.button { + padding: 0.5em; +} + +.compact { + overflow-x: scroll; +} + +.compact > input{ + min-width: 10em; + padding-right: .1em; +} diff --git a/templates/cards.xsl b/templates/cards.xsl index 0284a97..861170a 100755 --- a/templates/cards.xsl +++ b/templates/cards.xsl @@ -4,6 +4,7 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.1"> + @@ -33,47 +34,13 @@ - - - - - - - ;URL= - - /scan.php?targets= - - & - - - - - compareWith= - - &refreshPeriod= - - &sudo= - - - - - - <xsl:text>lanScan - </xsl:text> - <xsl:value-of select="$targets"/> - - - - - - - - - - - - - - + + + + + + +