Edit template for controller - Refine params copy and bring DB opens up to spec with UTF8
This commit is contained in:
60
output/Nutups/AdminLTE/_nut_STATUS.html.new.ep
Normal file
60
output/Nutups/AdminLTE/_nut_STATUS.html.new.ep
Normal file
@@ -0,0 +1,60 @@
|
||||
%#
|
||||
%# 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>
|
Reference in New Issue
Block a user