SM2Gen/Targets/_nfs_TABLE.html.ep

48 lines
1.7 KiB
Plaintext

%#
%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.10.12 at 2024-06-20 16:05
%#
<div id="Nfsshare-TABLE" class="partial Nfsshare-TABLE">
<script>
window.onload = function() {
SelectInput();
};
</script>
<h2>
%= l('nfs_Hello_TABLE');
</h2>
% my $btn = l('nfs_APPLY');
%= form_for "Nfsshared" => (method => 'POST') => begin
% param 'trt' => $nfs_data->{trt} unless param 'trt';
%= hidden_field 'trt' => $nfs_data->{trt}
%# Inputs etc in here.
<h2><%=l('nfs_Manage_NFS_Ibay_settings:')%></h2>
<br /><table class="sme-border TableSort sme-table">
<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>
</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>
</tr>
%}
</tbody>
</table>
%# Probably finally by a submit.
%end
</div>