Add in shares contrib also fix comment out script in partial add fix json5 python
This commit is contained in:
69
Targets/Shares/_sf_LIST.html.ep
Normal file
69
Targets/Shares/_sf_LIST.html.ep
Normal file
@@ -0,0 +1,69 @@
|
||||
%#
|
||||
%# Generated by SM2Gen version:0.9(20Jan2025) Chameleon version:4.5.4 On Python:3.12.3 at 2025-05-21 08:46:42
|
||||
%#
|
||||
<div id="Shares-LIST" class="partial Shares-LIST">
|
||||
# <script>
|
||||
# window.onload = function() {
|
||||
# SelectInput();
|
||||
# };
|
||||
# </script>
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
%= dumper $sf_data
|
||||
</pre>
|
||||
% }
|
||||
% my $btn = l('sf_APPLY');
|
||||
|
||||
% $c->param(Selected => undef); #This may need deleting for a params panel - only needed for a table
|
||||
|
||||
%= form_for "sharesu" => (method => 'POST') => begin
|
||||
% param 'trt' => $sf_data->{trt} unless param 'trt';
|
||||
%= hidden_field 'trt' => $sf_data->{trt}
|
||||
%# Inputs etc in here.
|
||||
|
||||
<h1 class='head'><%=l('sf_Create,_modify,_or_remove_shared')%></h1>
|
||||
|
||||
<h2 class='subh'><%=l('sf_Manage_shared-folders_settings:')%></h2>
|
||||
|
||||
<p class='paragraph para1'>
|
||||
%=l('sf_You_can_remove_any_shared')
|
||||
</p>
|
||||
|
||||
<p class='paragraph para2'>
|
||||
%=l('sf_Create_a_new_shared_folder')
|
||||
</p>
|
||||
|
||||
<a href='shared-folderu?trt=MODIFY' class='link link1'>
|
||||
%= l('sf_Create_a_new_shared_folder')
|
||||
</a>
|
||||
%#= link_to l('sf_Create_a_new_shared_folder'), 'shared-folderu?trt=MODIFY' , class=>'link link1'
|
||||
|
||||
|
||||
<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-Name '><%=l('sf_Name')%></th>
|
||||
<th class='sme-border table-head-col table-head-col-Description '><%=l('sf_Description')%></th>
|
||||
<th class='sme-border table-head-col table-head-col-Actionp '><%=l('sf_Actionp')%></th>
|
||||
<th class='sme-border table-head-col table-head-col-Actionm '><%=l('sf_Actionm')%></th>
|
||||
<th class='sme-border table-head-col table-head-col-Actionr '><%=l('sf_Actionr')%></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class='tabl1'>
|
||||
% my $control_data = $c->stash('Table1');
|
||||
% foreach my $row (@$control_data) {
|
||||
<tr class='table-row'>
|
||||
<td class='sme-border table-col table-col-Table1-Name'><%=$c->render_to_string(inline=>$row->{'Table1-Name'})%></td>
|
||||
<td class='sme-border table-col table-col-Table1-Description'><%=$c->render_to_string(inline=>$row->{'Table1-Description'})%></td>
|
||||
<td class='sme-border table-col table-col-Table1-Actionp'><%=$c->render_to_string(inline=>$row->{'Table1-Actionp'})%></td>
|
||||
<td class='sme-border table-col table-col-Table1-Actionm'><%=$c->render_to_string(inline=>$row->{'Table1-Actionm'})%></td>
|
||||
<td class='sme-border table-col table-col-Table1-Actionr'><%=$c->render_to_string(inline=>$row->{'Table1-Actionr'})%></td>
|
||||
</tr>
|
||||
%}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
%# Probably finally by a submit.
|
||||
%end
|
||||
</div>
|
Reference in New Issue
Block a user