%#
%# 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('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="">
		
	
		<a href='nutupsd?trt=CONFIG' class="">
			%= l('nut_Configure_NutUPS')
		</a>
		%#= link_to l('nut_Configure_NutUPS'), 'nutupsd?trt=CONFIG' , class=> 'link link1'
	
	
		</div>
		
	
		<h2 class=""><%=l('nut_Status_of_the_controlled_UPS')%></h2>
	
		<p class="">
			%=l('nut_Descriptive_paragraph')
		</p>

<!--
		<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.
	%end    
</div>
