[% IF mode == 'multiplex' %]
[% class = 'MFC' %]
<img title="[% name %]" [% IF user_info.auth %]onclick="set_gas(this.getAttribute('gas'))"[% END %] src="/celltest/dev_png/m1.png" class="device [% class %]_[% name %]" devclass="[% class %]" devname="[% name %]" gas="">
[% ELSE %]
[% class = 'gas' %]
<img title="[% name %]" [% IF user_info.auth %][% IF mode == 'auto' || mode == 'manual' %]onclick="var fl = set_gas('[% name %]');[% IF mode == 'manual' %] if(fl != null){alert('Remember to set gas flow for [% name %] to '+fl + ' manually');}[% END %]"[% END %][% END %] src="/celltest/dev_png/[% IF mode == 'auto' %]MFC.png[% ELSE %]m3.png[% END %]" class="device [% class%]_[% name %]" devclass="[% class %]" devname="[% name %]">
[% END %]
<br>
<div class="[% class%]_[% name %]_value">[% label %]</div>
