diff --git a/web/css/form.css b/web/css/form.css index 0e80897..5828005 100644 --- a/web/css/form.css +++ b/web/css/form.css @@ -16,7 +16,7 @@ padding: 8px; } -.input-grid svg { +.input-grid img { padding: 0; } diff --git a/web/css/style.css b/web/css/style.css index e013dd7..e0d91a4 100644 --- a/web/css/style.css +++ b/web/css/style.css @@ -100,6 +100,10 @@ img, svg { color: var(--main-text-color) } +a img { + vertical-align: unset; +} + hr { border-color: var(--main-text-color); } diff --git a/web/html/index.html b/web/html/index.html index 7eb307e..8e1d383 100644 --- a/web/html/index.html +++ b/web/html/index.html @@ -74,13 +74,13 @@
{{.Notes}}
{{.SizeFormatted}}
Cores
MiB
{{.Name}}
{{.Volume.File}}
@@ -186,7 +186,7 @@ - + {{end}} @@ -195,7 +195,7 @@ - + @@ -221,7 +221,7 @@ - + {{end}} @@ -230,7 +230,7 @@ - + @@ -255,7 +255,7 @@ - + {{end}} @@ -264,7 +264,7 @@ - + @@ -297,7 +297,7 @@ - + @@ -322,7 +322,7 @@ - + {{end}} @@ -336,7 +336,7 @@ {{define "nets-add-net"}} Add Network - + @@ -361,14 +361,14 @@ {{end}} {{define "net"}} - + {{.Net_ID}} {{.Value}} - + @@ -390,7 +390,7 @@ - + @@ -421,7 +421,7 @@ {{define "devices-add-device"}} Add Device - + @@ -444,14 +444,14 @@ {{end}} {{define "device"}} - + {{.Device_ID}} {{.Device_Name}} - + @@ -473,7 +473,7 @@ - + @@ -537,15 +537,15 @@ {{define "boot-target"}} {{if .volume_id}} - - + + {{.volume_id}} {{.file}} {{else if .net_id}} - - + + {{.net_id}} {{.value}} diff --git a/web/templates/instance-card.go.tmpl b/web/templates/instance-card.go.tmpl index fb166ec..72d14e5 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -9,13 +9,16 @@ padding: 0; width: fit-content; } - a, svg { + a, svg, img { line-height: 1em; height: 1em; width: 1em; margin: 0px; padding: 0px; } + a img { + vertical-align: unset; + } #instance-name { overflow-x: hidden; min-width: 0; @@ -57,53 +60,53 @@ {{.Type}} {{if eq .Status "running"}} - + {{else if eq .Status "stopped"}} - + {{else if eq .Status "loading"}} - + {{else}} - + {{end}} {{.Status}} {{.Node}} {{if eq .NodeStatus "online"}} - + {{else if eq .NodeStatus "offline"}} - + {{else if eq .NodeStatus "unknown"}} - + {{else}} {{end}} {{.NodeStatus}} {{if and (eq .NodeStatus "online") (eq .Status "running")}} - - - + + + - + - + {{else if and (eq .NodeStatus "online") (eq .Status "stopped")}} - + - + - + - - + + {{else if and (eq .NodeStatus "online") (eq .Status "loading")}} - - - - - + + + + + {{else}} {{end}}
@@ -221,7 +221,7 @@ - + {{end}} @@ -230,7 +230,7 @@ - + @@ -255,7 +255,7 @@ - + {{end}} @@ -264,7 +264,7 @@ - + @@ -297,7 +297,7 @@ - + @@ -322,7 +322,7 @@ - + {{end}} @@ -336,7 +336,7 @@ {{define "nets-add-net"}} Add Network - + @@ -361,14 +361,14 @@ {{end}} {{define "net"}} - + {{.Net_ID}} {{.Value}} - + @@ -390,7 +390,7 @@ - + @@ -421,7 +421,7 @@ {{define "devices-add-device"}} Add Device - + @@ -444,14 +444,14 @@ {{end}} {{define "device"}} - + {{.Device_ID}} {{.Device_Name}} - + @@ -473,7 +473,7 @@ - + @@ -537,15 +537,15 @@ {{define "boot-target"}} {{if .volume_id}} - - + + {{.volume_id}} {{.file}} {{else if .net_id}} - - + + {{.net_id}} {{.value}} diff --git a/web/templates/instance-card.go.tmpl b/web/templates/instance-card.go.tmpl index fb166ec..72d14e5 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -9,13 +9,16 @@ padding: 0; width: fit-content; } - a, svg { + a, svg, img { line-height: 1em; height: 1em; width: 1em; margin: 0px; padding: 0px; } + a img { + vertical-align: unset; + } #instance-name { overflow-x: hidden; min-width: 0; @@ -57,53 +60,53 @@ {{.Type}} {{if eq .Status "running"}} - + {{else if eq .Status "stopped"}} - + {{else if eq .Status "loading"}} - + {{else}} - + {{end}} {{.Status}} {{.Node}} {{if eq .NodeStatus "online"}} - + {{else if eq .NodeStatus "offline"}} - + {{else if eq .NodeStatus "unknown"}} - + {{else}} {{end}} {{.NodeStatus}} {{if and (eq .NodeStatus "online") (eq .Status "running")}} - - - + + + - + - + {{else if and (eq .NodeStatus "online") (eq .Status "stopped")}} - + - + - + - - + + {{else if and (eq .NodeStatus "online") (eq .Status "loading")}} - - - - - + + + + + {{else}} {{end}}
@@ -255,7 +255,7 @@ - + {{end}} @@ -264,7 +264,7 @@ - + @@ -297,7 +297,7 @@ - + @@ -322,7 +322,7 @@ - + {{end}} @@ -336,7 +336,7 @@ {{define "nets-add-net"}} Add Network - + @@ -361,14 +361,14 @@ {{end}} {{define "net"}} - + {{.Net_ID}} {{.Value}} - + @@ -390,7 +390,7 @@ - + @@ -421,7 +421,7 @@ {{define "devices-add-device"}} Add Device - + @@ -444,14 +444,14 @@ {{end}} {{define "device"}} - + {{.Device_ID}} {{.Device_Name}} - + @@ -473,7 +473,7 @@ - + @@ -537,15 +537,15 @@ {{define "boot-target"}} {{if .volume_id}} - - + + {{.volume_id}} {{.file}} {{else if .net_id}} - - + + {{.net_id}} {{.value}} diff --git a/web/templates/instance-card.go.tmpl b/web/templates/instance-card.go.tmpl index fb166ec..72d14e5 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -9,13 +9,16 @@ padding: 0; width: fit-content; } - a, svg { + a, svg, img { line-height: 1em; height: 1em; width: 1em; margin: 0px; padding: 0px; } + a img { + vertical-align: unset; + } #instance-name { overflow-x: hidden; min-width: 0; @@ -57,53 +60,53 @@ {{.Type}} {{if eq .Status "running"}} - + {{else if eq .Status "stopped"}} - + {{else if eq .Status "loading"}} - + {{else}} - + {{end}} {{.Status}} {{.Node}} {{if eq .NodeStatus "online"}} - + {{else if eq .NodeStatus "offline"}} - + {{else if eq .NodeStatus "unknown"}} - + {{else}} {{end}} {{.NodeStatus}} {{if and (eq .NodeStatus "online") (eq .Status "running")}} - - - + + + - + - + {{else if and (eq .NodeStatus "online") (eq .Status "stopped")}} - + - + - + - - + + {{else if and (eq .NodeStatus "online") (eq .Status "loading")}} - - - - - + + + + + {{else}} {{end}}
@@ -297,7 +297,7 @@ - + @@ -322,7 +322,7 @@ - + {{end}} @@ -336,7 +336,7 @@ {{define "nets-add-net"}} Add Network - + @@ -361,14 +361,14 @@ {{end}} {{define "net"}} - + {{.Net_ID}} {{.Value}} - + @@ -390,7 +390,7 @@ - + @@ -421,7 +421,7 @@ {{define "devices-add-device"}} Add Device - + @@ -444,14 +444,14 @@ {{end}} {{define "device"}} - + {{.Device_ID}} {{.Device_Name}} - + @@ -473,7 +473,7 @@ - + @@ -537,15 +537,15 @@ {{define "boot-target"}} {{if .volume_id}} - - + + {{.volume_id}} {{.file}} {{else if .net_id}} - - + + {{.net_id}} {{.value}} diff --git a/web/templates/instance-card.go.tmpl b/web/templates/instance-card.go.tmpl index fb166ec..72d14e5 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -9,13 +9,16 @@ padding: 0; width: fit-content; } - a, svg { + a, svg, img { line-height: 1em; height: 1em; width: 1em; margin: 0px; padding: 0px; } + a img { + vertical-align: unset; + } #instance-name { overflow-x: hidden; min-width: 0; @@ -57,53 +60,53 @@ {{.Type}} {{if eq .Status "running"}} - + {{else if eq .Status "stopped"}} - + {{else if eq .Status "loading"}} - + {{else}} - + {{end}} {{.Status}} {{.Node}} {{if eq .NodeStatus "online"}} - + {{else if eq .NodeStatus "offline"}} - + {{else if eq .NodeStatus "unknown"}} - + {{else}} {{end}} {{.NodeStatus}} {{if and (eq .NodeStatus "online") (eq .Status "running")}} - - - + + + - + - + {{else if and (eq .NodeStatus "online") (eq .Status "stopped")}} - + - + - + - - + + {{else if and (eq .NodeStatus "online") (eq .Status "loading")}} - - - - - + + + + + {{else}} {{end}}
@@ -322,7 +322,7 @@ - + {{end}} @@ -336,7 +336,7 @@ {{define "nets-add-net"}} Add Network - + @@ -361,14 +361,14 @@ {{end}} {{define "net"}} - + {{.Net_ID}} {{.Value}} - + @@ -390,7 +390,7 @@ - + @@ -421,7 +421,7 @@ {{define "devices-add-device"}} Add Device - + @@ -444,14 +444,14 @@ {{end}} {{define "device"}} - + {{.Device_ID}} {{.Device_Name}} - + @@ -473,7 +473,7 @@ - + @@ -537,15 +537,15 @@ {{define "boot-target"}} {{if .volume_id}} - - + + {{.volume_id}} {{.file}} {{else if .net_id}} - - + + {{.net_id}} {{.value}} diff --git a/web/templates/instance-card.go.tmpl b/web/templates/instance-card.go.tmpl index fb166ec..72d14e5 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -9,13 +9,16 @@ padding: 0; width: fit-content; } - a, svg { + a, svg, img { line-height: 1em; height: 1em; width: 1em; margin: 0px; padding: 0px; } + a img { + vertical-align: unset; + } #instance-name { overflow-x: hidden; min-width: 0; @@ -57,53 +60,53 @@ {{.Type}} {{if eq .Status "running"}} - + {{else if eq .Status "stopped"}} - + {{else if eq .Status "loading"}} - + {{else}} - + {{end}} {{.Status}} {{.Node}} {{if eq .NodeStatus "online"}} - + {{else if eq .NodeStatus "offline"}} - + {{else if eq .NodeStatus "unknown"}} - + {{else}} {{end}} {{.NodeStatus}} {{if and (eq .NodeStatus "online") (eq .Status "running")}} - - - + + + - + - + {{else if and (eq .NodeStatus "online") (eq .Status "stopped")}} - + - + - + - - + + {{else if and (eq .NodeStatus "online") (eq .Status "loading")}} - - - - - + + + + + {{else}} {{end}}
{{.Net_ID}}
{{.Value}}
@@ -390,7 +390,7 @@ - + @@ -421,7 +421,7 @@ {{define "devices-add-device"}} Add Device - + @@ -444,14 +444,14 @@ {{end}} {{define "device"}} - + {{.Device_ID}} {{.Device_Name}} - + @@ -473,7 +473,7 @@ - + @@ -537,15 +537,15 @@ {{define "boot-target"}} {{if .volume_id}} - - + + {{.volume_id}} {{.file}} {{else if .net_id}} - - + + {{.net_id}} {{.value}} diff --git a/web/templates/instance-card.go.tmpl b/web/templates/instance-card.go.tmpl index fb166ec..72d14e5 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -9,13 +9,16 @@ padding: 0; width: fit-content; } - a, svg { + a, svg, img { line-height: 1em; height: 1em; width: 1em; margin: 0px; padding: 0px; } + a img { + vertical-align: unset; + } #instance-name { overflow-x: hidden; min-width: 0; @@ -57,53 +60,53 @@ {{.Type}} {{if eq .Status "running"}} - + {{else if eq .Status "stopped"}} - + {{else if eq .Status "loading"}} - + {{else}} - + {{end}} {{.Status}} {{.Node}} {{if eq .NodeStatus "online"}} - + {{else if eq .NodeStatus "offline"}} - + {{else if eq .NodeStatus "unknown"}} - + {{else}} {{end}} {{.NodeStatus}} {{if and (eq .NodeStatus "online") (eq .Status "running")}} - - - + + + - + - + {{else if and (eq .NodeStatus "online") (eq .Status "stopped")}} - + - + - + - - + + {{else if and (eq .NodeStatus "online") (eq .Status "loading")}} - - - - - + + + + + {{else}} {{end}}
@@ -421,7 +421,7 @@ {{define "devices-add-device"}} Add Device - + @@ -444,14 +444,14 @@ {{end}} {{define "device"}} - + {{.Device_ID}} {{.Device_Name}} - + @@ -473,7 +473,7 @@ - + @@ -537,15 +537,15 @@ {{define "boot-target"}} {{if .volume_id}} - - + + {{.volume_id}} {{.file}} {{else if .net_id}} - - + + {{.net_id}} {{.value}} diff --git a/web/templates/instance-card.go.tmpl b/web/templates/instance-card.go.tmpl index fb166ec..72d14e5 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -9,13 +9,16 @@ padding: 0; width: fit-content; } - a, svg { + a, svg, img { line-height: 1em; height: 1em; width: 1em; margin: 0px; padding: 0px; } + a img { + vertical-align: unset; + } #instance-name { overflow-x: hidden; min-width: 0; @@ -57,53 +60,53 @@ {{.Type}} {{if eq .Status "running"}} - + {{else if eq .Status "stopped"}} - + {{else if eq .Status "loading"}} - + {{else}} - + {{end}} {{.Status}} {{.Node}} {{if eq .NodeStatus "online"}} - + {{else if eq .NodeStatus "offline"}} - + {{else if eq .NodeStatus "unknown"}} - + {{else}} {{end}} {{.NodeStatus}} {{if and (eq .NodeStatus "online") (eq .Status "running")}} - - - + + + - + - + {{else if and (eq .NodeStatus "online") (eq .Status "stopped")}} - + - + - + - - + + {{else if and (eq .NodeStatus "online") (eq .Status "loading")}} - - - - - + + + + + {{else}} {{end}}
{{.Device_ID}}
{{.Device_Name}}
@@ -473,7 +473,7 @@ - + @@ -537,15 +537,15 @@ {{define "boot-target"}} {{if .volume_id}} - - + + {{.volume_id}} {{.file}} {{else if .net_id}} - - + + {{.net_id}} {{.value}} diff --git a/web/templates/instance-card.go.tmpl b/web/templates/instance-card.go.tmpl index fb166ec..72d14e5 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -9,13 +9,16 @@ padding: 0; width: fit-content; } - a, svg { + a, svg, img { line-height: 1em; height: 1em; width: 1em; margin: 0px; padding: 0px; } + a img { + vertical-align: unset; + } #instance-name { overflow-x: hidden; min-width: 0; @@ -57,53 +60,53 @@ {{.Type}} {{if eq .Status "running"}} - + {{else if eq .Status "stopped"}} - + {{else if eq .Status "loading"}} - + {{else}} - + {{end}} {{.Status}} {{.Node}} {{if eq .NodeStatus "online"}} - + {{else if eq .NodeStatus "offline"}} - + {{else if eq .NodeStatus "unknown"}} - + {{else}} {{end}} {{.NodeStatus}} {{if and (eq .NodeStatus "online") (eq .Status "running")}} - - - + + + - + - + {{else if and (eq .NodeStatus "online") (eq .Status "stopped")}} - + - + - + - - + + {{else if and (eq .NodeStatus "online") (eq .Status "loading")}} - - - - - + + + + + {{else}} {{end}}
@@ -537,15 +537,15 @@ {{define "boot-target"}} {{if .volume_id}}
{{.volume_id}}
{{.file}}
{{.net_id}}
{{.value}}
{{.Type}}
{{.Status}}
{{.Node}}
{{.NodeStatus}}