48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
|
%#
|
||
|
%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2025-01-20 12:01:10
|
||
|
%#
|
||
|
<div id="Nutups-STATUS" class="partial Nutups-STATUS">
|
||
|
<script>
|
||
|
window.onload = function() {
|
||
|
SelectInput();
|
||
|
};
|
||
|
</script>
|
||
|
% if ($config->{debug} == 1) {
|
||
|
<pre>
|
||
|
%= dumper $nut_data
|
||
|
</pre>
|
||
|
% }
|
||
|
% my $btn = l('nut_APPLY');
|
||
|
%= form_for "nutupsu" => (method => 'POST') => begin
|
||
|
% param 'trt' => $nut_data->{trt} unless param 'trt';
|
||
|
%= hidden_field 'trt' => $nut_data->{trt}
|
||
|
%# Inputs etc in here.
|
||
|
|
||
|
<div class=inline-buttons>
|
||
|
|
||
|
|
||
|
<a href='nutupsd?trt=CONFIG' class='link link1'>
|
||
|
%= l('nut_Configure_NutUPS')
|
||
|
</a>
|
||
|
%#= link_to l('nut_Configure_NutUPS'), 'nutupsd?trt=CONFIG' , class=>'link link1'
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<h2 class='subh1'><%=l('nut_Status_of_the_controlled_UPS')%></h2>
|
||
|
|
||
|
<p class='paragraph para1'>
|
||
|
%=l('nut_Descriptive_paragraph')
|
||
|
</p>
|
||
|
|
||
|
<span class=label>
|
||
|
%=l('nut_Status_(from_upsd)')
|
||
|
</span><span class=data>
|
||
|
% param 'UPSStatus' => $nut_data->{UPSStatus} unless param 'UPSStatus';
|
||
|
%= text_area 'UPSStatus', cols=>40, rows=>10, Readonly=>'true'
|
||
|
</span><br>
|
||
|
|
||
|
%# Probably finally by a submit.
|
||
|
%end
|
||
|
</div>
|