{{ 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 "txtBrightness" }}
{{ $deviceProfile.BrightnessSlider }} %
{{ .Lang "txtRgb" }}
{{ if .Device.Usb }}
{{ .Lang "txtPollingRate" }}
{{ end }}
{{ .Lang "txtCluster" }}
{{ .Lang "txtOpenRGB" }}
{{ .Lang "txtAngleSnapping" }}
{{ .Lang "txtButtonResponseOptimization" }}
{{ .Lang "txtDeleteProfile" }}
{{ .Lang "txtDpi" }}
{{ range $key, $pf := $device.DeviceProfile.Profiles }}
{{ $pf.Name }}
{{ end }}
{{ .Lang "txtRgb" }}
{{ $root.Lang "txtZone" }}: {{ $root.Lang "txtDpi" }}
{{ $root.Lang "txtZone" }}: {{ $root.Lang "txtSniper" }}
{{ range $key, $zone := $device.DeviceProfile.ZoneColors }}
{{ $root.Lang "txtZone" }}: {{ $zone.Name }}
{{ end }}
{{ range $key, $value := $device.KeyAssignment }} {{ if eq $key 1 }} {{ continue }} {{ end }} {{ end }}
{{ .Lang "txtKeyAssignment" }} Default {{ .Lang "txtPressAndHold" }} {{ .Lang "txtOnRelease" }} {{ .Lang "txtAssignmentType" }} {{ .Lang "txtAssignmentKey" }}
{{ $value.Name }}
{{ end }}