diff --git a/web/templates/backups.go.tmpl b/web/templates/backups.go.tmpl index 04215a0..a2418ec 100644 --- a/web/templates/backups.go.tmpl +++ b/web/templates/backups.go.tmpl @@ -19,9 +19,9 @@
{{.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 72d14e5..0554233 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -60,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 72d14e5..0554233 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -60,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 72d14e5..0554233 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -60,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 72d14e5..0554233 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -60,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 72d14e5..0554233 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -60,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 72d14e5..0554233 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -60,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 72d14e5..0554233 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -60,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 72d14e5..0554233 100644 --- a/web/templates/instance-card.go.tmpl +++ b/web/templates/instance-card.go.tmpl @@ -60,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}}