SM2Gen/Targets/Nfsshare/nfs_TABLE.html.ep

48 lines
1.7 KiB
Plaintext
Raw Permalink Normal View History

2024-04-28 13:03:06 +02:00
%#
%# Generated by SM2Gen version:0.8 Chameleon version:3.8.1 On Python:3.12.3 at 2024-09-14 05:33
2024-04-28 13:03:06 +02:00
%#
<div id="Nfsshare-TABLE" class="partial Nfsshare-TABLE">
2024-04-09 11:36:36 +02:00
<script>
window.onload = function() {
SelectInput();
};
</script>
<h2>
2024-05-06 11:05:43 +02:00
%= l('nfs_Hello_TABLE');
2024-04-09 11:36:36 +02:00
</h2>
% my $btn = l('nfs_APPLY');
2024-04-09 11:36:36 +02:00
%= form_for "Nfsshared" => (method => 'POST') => begin
2024-09-12 20:37:27 +02:00
% param 'trt' => ${prefix}_data->{trt} unless param 'trt';
%= hidden_field 'trt' => ${prefix}_data->{trt}
2024-04-09 11:36:36 +02:00
%# Inputs etc in here.
2024-04-28 13:03:06 +02:00
<h2><%=l('nfs_Manage_NFS_Ibay_settings:')%></h2>
2024-04-28 13:03:06 +02:00
<br /><table class="sme-border TableSort sme-table">
2024-04-24 17:09:23 +02:00
<thead>
<tr table-head-row>
<th class='sme-border table-head-col table-head-col-Name '><%=l('nfs_Name')%></th>
<th class='sme-border table-head-col table-head-col-Description '><%=l('nfs_Description')%></th>
<th class='sme-border table-head-col table-head-col-Nfs status '><%=l('Nfs_status')%></th>
<th class='sme-border table-head-col table-head-col-Action '><%=l('nfs_Action')%></th>
2024-04-24 17:09:23 +02:00
</tr>
</thead>
<tbody>
% my $control_data = $self->stash('ibays');
% foreach my $row (@$control_data) {
<tr class='table-row'>
<td class='sme-border table-col table-col-Name'><%=$c->render_to_string(inline=>$row->{Name})%></td>
<td class='sme-border table-col table-col-Description'><%=$c->render_to_string(inline=>$row->{Description})%></td>
<td class='sme-border table-col table-col-flag'><%=$c->render_to_string(inline=>$row->{flag})%></td>
<td class='sme-border table-col table-col-Modify'><%=$c->render_to_string(inline=>$row->{Modify})%></td>
2024-04-24 17:09:23 +02:00
</tr>
%}
</tbody>
</table>
2024-04-09 11:36:36 +02:00
%# Probably finally by a submit.
%end
2024-04-09 11:36:36 +02:00
</div>