[% class = 'PSU' -%]
<div class="complex_device default_dev device [% class %]_[% name %]" devclass="[% class %]" devname="[% name %]" title="[% IF label %][% label %][% ELSE %][% name %][% END %]">
[% name.substr(0,9) %]
<br>
<div style="display:inline-block;" class="[% class%]_[% name %]_current" [% IF user_info.auth %]onclick="set_current('[% name %]')"[% END %]>Current</div>
<br>
<div style="display:inline-block;" class="[% class%]_[% name %]_voltage" [% IF user_info.auth %]onclick="set_voltage('[% name %]')"[% END %]>Voltage</div>
</div>