SM2Gen/Targets/Diskusage/_d_PARAMS.html.ep

84 lines
3.0 KiB
Plaintext
Raw Permalink Normal View History

2024-10-18 16:34:35 +02:00
%#
%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-23 09:05:54
%#
<div id="Diskusage-PARAMS" class="partial Diskusage-PARAMS">
<script>
window.onload = function() {
SelectInput();
};
</script>
<h2>
%= l('d_Hello_PARAMS');
</h2>
% my $btn = l('d_APPLY');
%= form_for "Diskusaged" => (method => 'POST') => begin
% param 'trt' => $d_data->{trt} unless param 'trt';
%= hidden_field 'trt' => $d_data->{trt}
%# Inputs etc in here.
<h1 class='head'><%=l('Disk_usage')%></h1>
<h2 class='subh'><%=l('d_Manage_Diskusage_settings:')%></h2>
<p class='paragraph para1'>
%=l('d_Wed_Sep_11_19:01:00_BST')
</p>
<pre class='preformatted pref1'>
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'
</pre>
<br /><table class="sme-border TableSort sme-table tabl1 ">
<thead class='tabl1'>
<tr table-head-row>
<th class='sme-border table-head-col table-head-col-I-bays '><%=l('d_I-bays')%></th>
<th class='sme-border table-head-col table-head-col-Usage '><%=l('d_Usage')%></th>
<th class='sme-border table-head-col table-head-col-Path '><%=l('d_Path')%></th>
</tr>
</thead>
<tbody class='tabl1'>
% my $control_data = $self->stash('Table1');
% foreach my $row (@$control_data) {
<tr class='table-row'>
<td class='sme-border table-col table-col-Table1-I-bays'><%=$c->render_to_string(inline=>$row->{'Table1-I-bays'})%></td>
<td class='sme-border table-col table-col-Table1-Usage'><%=$c->render_to_string(inline=>$row->{'Table1-Usage'})%></td>
<td class='sme-border table-col table-col-Table1-Path'><%=$c->render_to_string(inline=>$row->{'Table1-Path'})%></td>
</tr>
%}
</tbody>
</table>
<br /><table class="sme-border TableSort sme-table tabl2 ">
<thead class='tabl2'>
<tr table-head-row>
<th class='sme-border table-head-col table-head-col-Users '><%=l('d_Users')%></th>
<th class='sme-border table-head-col table-head-col-Usage '><%=l('d_Usage')%></th>
<th class='sme-border table-head-col table-head-col-Path '><%=l('d_Path')%></th>
</tr>
</thead>
<tbody class='tabl2'>
% my $control_data = $self->stash('Table2');
% foreach my $row (@$control_data) {
<tr class='table-row'>
<td class='sme-border table-col table-col-Table2-Users'><%=$c->render_to_string(inline=>$row->{'Table2-Users'})%></td>
<td class='sme-border table-col table-col-Table2-Usage'><%=$c->render_to_string(inline=>$row->{'Table2-Usage'})%></td>
<td class='sme-border table-col table-col-Table2-Path'><%=$c->render_to_string(inline=>$row->{'Table2-Path'})%></td>
</tr>
%}
</tbody>
</table>
%# Probably finally by a submit.
%end
</div>