%# %# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-19 12:30:21 %#

%= l('du_Hello_PARAMS');

% my $btn = l('du_APPLY'); %= form_for "DiskUsaged" => (method => 'POST') => begin % param 'trt' => $du_data->{trt} unless param 'trt'; %= hidden_field 'trt' => $du_data->{trt} %# Inputs etc in here.

<%=l('du_Disk_usage')%>

<%=l('du_Manage_DiskUsage_settings:')%>

%=l('du_Wed_Sep_11_19:01:00_BST')

	Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/main-root   29G  4.8G   24G  17% /
devtmpfs               2.0G     0  2.0G   0% /dev
tmpfs                  2.0G   12K  2.0G   1% /dev/shm
tmpfs                  2.0G     0  2.0G   0% /sys/fs/cgroup
tmpfs                  2.0G  648K  2.0G   1% /run
/dev/sda1              497M  111M  386M  23% /boot'

% my $control_data = $self->stash('Table1'); % foreach my $row (@$control_data) { %}
<%=l('du_I-bays')%> <%=l('du_Usage')%> <%=l('du_Path')%>
<%=$c->render_to_string(inline=>$row->{'Table1-I-bays'})%> <%=$c->render_to_string(inline=>$row->{'Table1-Usage'})%> <%=$c->render_to_string(inline=>$row->{'Table1-Path'})%>

% my $control_data = $self->stash('Table2'); % foreach my $row (@$control_data) { %}
<%=l('du_Users')%> <%=l('du_Usage')%> <%=l('du_Path')%>
<%=$c->render_to_string(inline=>$row->{'Table2-Users'})%> <%=$c->render_to_string(inline=>$row->{'Table2-Usage'})%> <%=$c->render_to_string(inline=>$row->{'Table2-Path'})%>
%# Probably finally by a submit. %end