61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
|
%#
|
||
|
%# Generated by SM2Gen version:0.9(20Jan2025) Chameleon version:4.5.4 On Python:3.12.3 at 2025-01-20 16:21:33
|
||
|
%#
|
||
|
<div>
|
||
|
|
||
|
<!--
|
||
|
<script>
|
||
|
window.onload = function() {
|
||
|
SelectInput();
|
||
|
};
|
||
|
</script>
|
||
|
-->
|
||
|
|
||
|
% if (config->{debug} == 1) {
|
||
|
<pre>
|
||
|
<%= dumper $nut_data %>
|
||
|
</pre>
|
||
|
% }
|
||
|
|
||
|
% my $btn = l("Apply");
|
||
|
|
||
|
<form action="/smanager/nutupsu" method="POST">
|
||
|
% param "trt" => $nut_data->{trt} unless param "trt";
|
||
|
<%= hidden_field "trt" => $nut_data->{trt} %>
|
||
|
|
||
|
%# Inputs etc in here.
|
||
|
|
||
|
<div>
|
||
|
<a href="nutupsd?trt=CONFIG" class = "btn btn-sm btn-primary">
|
||
|
<%= l ("nut_Configure_NutUPS") %>
|
||
|
</a>
|
||
|
</div>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><%= l ("nut_Status_of_the_controlled_UPS")%></h2>
|
||
|
|
||
|
<div >
|
||
|
<%= l ("nut_Descriptive_paragraph") %>
|
||
|
</div>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<!--
|
||
|
<span class="">
|
||
|
%=l("nut_Status_(from_upsc)")
|
||
|
</span>
|
||
|
<span class="">
|
||
|
% param "UPSStatus" => $nut_data->{UPSStatus} unless param "UPSStatus";
|
||
|
%= text_area "UPSStatus", cols=>55, rows=>35, Readonly=>"true"
|
||
|
</span>
|
||
|
<br>
|
||
|
-->
|
||
|
|
||
|
<%= include "partials/_nut_UPS_STATUS" %>
|
||
|
|
||
|
%# Probably finally by a submit.
|
||
|
</form>
|
||
|
|
||
|
</div>
|