2024-04-28 13:03:06 +02:00
|
|
|
%#
|
2024-05-03 19:08:44 +02:00
|
|
|
%# Generated by SME2Gen version:0.6 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-03 17:51
|
2024-04-28 13:03:06 +02:00
|
|
|
%#
|
2024-04-09 11:36:36 +02:00
|
|
|
<div id="Nfsshare-TABLE">
|
|
|
|
<script>
|
|
|
|
window.onload = function() {
|
|
|
|
SelectInput();
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<h2>
|
2024-05-03 19:08:44 +02:00
|
|
|
%= l("nfs_Hello_TABLE");
|
2024-04-09 11:36:36 +02:00
|
|
|
</h2>
|
2024-05-03 19:08:44 +02:00
|
|
|
% my $btn = l('nfs_APPLY');
|
2024-04-09 11:36:36 +02:00
|
|
|
%= form_for "Nfsshared" => (method => 'POST') => begin
|
|
|
|
|
|
|
|
% param 'trt' => $nfs_data->{trt} unless param 'trt';
|
|
|
|
%= hidden_field 'trt' => $nfs_data->{trt}
|
|
|
|
%# Inputs etc in here.
|
2024-04-28 13:03:06 +02:00
|
|
|
|
|
|
|
<h2>Manage NFS Ibay settings:</h2>
|
|
|
|
|
|
|
|
<br /><table class="sme-border TableSort">
|
2024-04-24 17:09:23 +02:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2024-04-25 17:23:07 +02:00
|
|
|
<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>
|
2024-04-24 17:09:23 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
% my $control_data = $self->stash('ibays');
|
|
|
|
% foreach my $row (@$control_data) {
|
|
|
|
<tr>
|
2024-04-28 13:03:06 +02:00
|
|
|
<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>
|
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
|
|
|
|
</div>
|