{{ if .Dashboard.TemperatureBar }} {{ template "temperature-bar" . }} {{ end }} {{ if eq .Device.Connected false }} {{ template "404-no-device" . }} {{ else }}
{{ .Device.Product }}
{{ .Lang "txtFirmware" }} {{ .Device.Firmware }}
{{ .Lang "txtProfile" }}
{{ .Lang "txtRgb" }}
{{ .Lang "txtLayout" }}
{{ if .Device.Usb }}
{{ .Lang "txtPollingRate" }}
{{ end }} {{ if eq .Device.Usb false }}
{{ .Lang "txtSleepTimer" }}
{{ end }}
{{ .Lang "txtPerformance" }}
{{ if .Device.Usb }}
{{ .Lang "txtCluster" }}
{{ end }}
{{ .Lang "txtDeleteProfile" }}
{{ range $index, $keys := $keyboard.Row }} {{ $rowClass := $device.UIKeyboardRow }} {{ $marginTop := "" }} {{ if eq $keys.Top 65 }} {{ $marginTop = "keyboard-margin-top" }} {{ else if gt (len $keys.Css) 0 }} {{ $rowClass := $keys.Css }} {{ end }}
{{ range $index, $keys := .Keys }} {{ range $index, $keyEmpty := $keys.KeyEmpty }}
{{ end }} {{ range $amount := $keys.Spacing }}
{{ end }} {{ $keyCss := "keyboard-key" }} {{ if gt (len $keys.KeySpace) 0 }} {{ $keyCss = $keys.KeySpace }} {{ end }} {{ $color := $keys.Color }} {{ if eq $root.Device.Usb false }} {{ $color = $keyboard.Color }} {{ end }}
{{ if $keys.NoColor }} {{ $keys.KeyName }} {{ else }} {{ $keys.KeyName }} {{ end }}
{{ end }}
{{ end }}
{{ end }}