{{ $older := .older }} {{ $newer := .newer }}

Available Disks

{{ if len .drives }} {{ range .drives }} {{ $temp := .GetTemperature }} {{ if gt $temp 50 }} {{ else if gt $temp 30 }} {{ else }} {{ end }} {{ end }}
ID Name Model Serial Temperature
#{{ .ID }} {{ .Name }} {{ .Model }} {{ .Serial }} {{ $temp }}°C {{ $temp }}°C {{ $temp }}°C
{{ else }}

No hard drives found.

{{ end }}

Temperature Graph

{{ if len .drives }} {{ range .drives }}
/dev/{{.Name}}

{{.Model}}:{{.HWID}} {{.Size}}

{{ .Model }} Image

{{ end }} {{ else }}

No hard drives found.

{{ end }}