48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
%#
|
|
%# Generated by SME2Gen version:0.6 Chameleon version:4.5.4 On Python:3.10.12 at 2024-04-28 11:53
|
|
%#
|
|
<div id="Nfsshare-TABLE">
|
|
<script>
|
|
window.onload = function() {
|
|
SelectInput();
|
|
};
|
|
</script>
|
|
<h2>
|
|
%= l("nfs Hello TABLE");
|
|
</h2>
|
|
% my $btn = l('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>Manage NFS Ibay settings:</h2>
|
|
|
|
<br /><table class="sme-border TableSort">
|
|
<thead>
|
|
<tr>
|
|
<th class='sme-border'>Name</th>
|
|
<th class='sme-border'>Description</th>
|
|
<th class='sme-border'>Nfs status</th>
|
|
<th class='sme-border'>Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
% my $control_data = $self->stash('ibays');
|
|
% foreach my $row (@$control_data) {
|
|
<tr>
|
|
<td class='sme-border'><%=$c->render_to_string(inline=>$row->{Name})%></td>
|
|
<td class='sme-border'><%=$c->render_to_string(inline=>$row->{Description})%></td>
|
|
<td class='sme-border'><%=$c->render_to_string(inline=>$row->{flag})%></td>
|
|
<td class='sme-border'><%=$c->render_to_string(inline=>$row->{Modify})%></td>
|
|
</tr>
|
|
%}
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
%# Probably finally by a submit.
|
|
% end
|
|
</div>
|