Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision db34e1f5

Von Bernd Bleßmann vor etwa 3 Jahren hinzugefügt

  • ID db34e1f51e65fb1239869f74250b6901941bdabe
  • Vorgänger 6aeeb993
  • Nachfolger ce9d008c

Kosmetik: Filemanagement Web-Templates: Einrückung

Unterschiede anzeigen:

templates/webpages/file/import_dialog.html
6 6
   <tr>
7 7
    <th class="listheading" width="3%">[% L.checkbox_tag(source.chk_action _ '_checkall') %]</th>
8 8
    <th class="listheading" width="11%">[% source.chkall_title %]</th>
9
     <th>[% LxERP.t8("Attached Filename") %]</th>
9
    <th>[% LxERP.t8("Attached Filename") %]</th>
10 10
   </tr>
11 11
  </thead>
12 12
  <tbody>
13 13
   [%- FOREACH file = source.files %]
14
   <tr class="listrow[% loop.count % 2 %]">
15
   <td>[%- L.checkbox_tag(source.chk_action _ '[]', 'value'=file.name, 'class'=source.chk_action) %]</td>
16
   <td></td>
17
   <td><span id="[% "filename_" _ file.name %]">[% file.filename %]</span></td>
18
   </tr>
14
    <tr class="listrow[% loop.count % 2 %]">
15
     <td>[%- L.checkbox_tag(source.chk_action _ '[]', 'value'=file.name, 'class'=source.chk_action) %]</td>
16
     <td></td>
17
     <td><span id="[% "filename_" _ file.name %]">[% file.filename %]</span></td>
18
    </tr>
19 19
   [%- END %]
20 20
  </tbody>
21 21
 </table>
22 22

  
23 23
 <p>
24
   [%- L.button_tag("kivi.File.importaction(" _ SELF.object_id _ ",'" _ SELF.object_type _ "','" _ SELF.file_type _ "','" _ source.name _ "','" _ source.path _ "','"_ source.chk_action _ "');", LxERP.t8('Continue'), id => "import_cont_btn") %]</td>
25
   [%- L.button_tag("kivi.File.importclose();" , LxERP.t8('Cancel')  , class => "submit") %]</td></tr>
24
  [%- L.button_tag("kivi.File.importaction(" _ SELF.object_id _ ",'" _ SELF.object_type _ "','" _ SELF.file_type _ "','" _ source.name _ "','" _ source.path _ "','"_ source.chk_action _ "');", LxERP.t8('Continue'), id => "import_cont_btn") %]</td>
25
  [%- L.button_tag("kivi.File.importclose();" , LxERP.t8('Cancel')  , class => "submit") %]</td></tr>
26 26
 </p>
27 27

  
28 28
</form>
29 29

  
30 30
<script type="text/javascript">
31
<!--
32
$(function() {
33
  $('#[% source.chk_action %]_checkall').checkall('INPUT[name="[% source.chk_action %][]"]');
34
});
35
-->
31
 <!--
32
  $(function() {
33
   $('#[% source.chk_action %]_checkall').checkall('INPUT[name="[% source.chk_action %][]"]');
34
  });
35
 -->
36 36
</script>

Auch abrufbar als: Unified diff