{{ .Device.Product }}
{{ .Lang "txtFirmware" }}
{{ .Lang "txtProfile" }}
{{ .Lang "txtBrightness" }}
{{ .Lang "txtCluster" }}
{{ .Lang "txtOpenRGB" }}
{{ .Lang "txtRgb" }}
{{ .Lang "txtSpeed" }}
{{ .Lang "txtDeleteProfile" }}
{{ range $device := $devices }}
{{ if $device.IsVrmCooler }}
{{ continue }}
{{ end }}
{{ $mainClass := "col-md-2" }}
{{ if $device.IsPSU }}
{{ $mainClass = "col-md-3" }}
{{ end }}
{{ end }}
{{ $device.Name }}
{{ $device.Label }}
{{ $tempLang := $root.Lang "txtTemperature" }}
{{ if $device.ContainsPump }}
{{ $tempLang = $root.Lang "txtLiquid" }}
{{ else if $device.IsCpuBlock }}
{{ $tempLang = $root.Lang "txtLiquid" }}
{{ end }}
{{ if gt $device.Temperature 0.00 }}
{{ end }}
{{ if gt $device.LedChannels 0 }}
{{ $tempLang }}
{{ end }}
{{ if $device.HasSpeed }}
{{ $root.Lang "txtSpeed" }}
{{ end }}
{{ if $device.HasVrmCooler }}
{{ $root.Lang "txtVrmFan" }}
{{ end }}
{{ if $device.HasSpeed }}
{{ $root.Lang "txtProfile" }}
{{ end }}
{{ if $device.HasVrmCooler }}
{{ $root.Lang "txtVrmProfile" }}
{{ end }}
{{ if $device.IsCommanderDuo }}
{{ $root.Lang "txtConfigure" }}
{{ end }}
{{ if $device.IsLinkAdapter }}
{{ $root.Lang "txtRgb" }}
{{ if not $device.IsLinkAdapter }}
{{ $root.Lang "txtRgbOverride" }}
{{ $root.Lang "txtRgbPerLed" }}
{{ end }}
{{ end }}
{{ if and $device.IsLinkAdapter (gt $device.LedChannels 0) }}
{{ range $subDeviceId, $subDevice := $device.SubDevices }}
{{ $subDevice.Name }}
{{ $root.Lang "txtRgbOverride" }}
{{ $root.Lang "txtRgbPerLed" }}
{{ end }}
{{ end }}
{{ if and $lcd $device.ContainsPump }}
{{ $lcdMode := index $deviceProfile.LCDModes $device.ChannelId }}
{{ $lcdRotation := index $deviceProfile.LCDRotations $device.ChannelId }}
{{ $lcdDevs := index $deviceProfile.LCDDevices $device.ChannelId }}
{{ $lcdImage := index $deviceProfile.LCDImages $device.ChannelId }}
{{ if gt $lcdDeviceAmount 1 }}
{{ $root.Lang "txtLcdDevice" }}
{{ end }}
{{ $root.Lang "txtLcdMode" }}
{{ $root.Lang "txtLcdRotation" }}
{{ end }}
{{ if $device.IsPSU }}
{{ $root.Lang "txtPowerOut" }}
{{ range $vk, $val := $device.Volts }}
{{ $railName := "N/A" }}
{{ if eq $vk 0 }}
{{ $railName = $root.Lang "txt3VRail" }}
{{ else if eq $vk 1 }}
{{ $railName = $root.Lang "txt5VRail" }}
{{ else if eq $vk 2 }}
{{ $railName = $root.Lang "txt12VRail" }}
{{ end }}
{{ $volts := index $device.Volts $vk }}
{{ $amps := index $device.Amps $vk }}
{{ $watts := index $device.Watts $vk }}
{{ $railName }}
{{ end }}
{{ end }}