Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c47333a1

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID c47333a121bd0165177d023a20a24292ad2e1e1c
  • Vorgänger 77b3cfd4
  • Nachfolger fb136c79

Neues Design 2019 Standard-Code templates/webpages/shop_order/_filter.html

Unterschiede anzeigen:

templates/webpages/shop_order/_filter.html
1
 <form method="post" action="controller.pl" name="shop_orders" id="shoporders">
2
 <table id='filter_table'>
3

  
4
    <tr>
5
     <th align="right">[% 'Shop' | $T8 %]</th>
6
     <td>[% L.select_tag('filter.shop_id:eq_ignore_empty', SELF.shops, value_key = 'value', title_key = 'title', default=0) %]</td>
7
    </tr>
8

  
9
    <tr>
10
     <th align="right">[% 'Status' | $T8 %]</th>
11
     <td>[% L.select_tag('filter.transferred:eq_ignore_empty', SELF.transferred, value_key = 'value', title_key = 'title', default=0) %]</td>
12
    </tr>
13

  
14

  
15
    <tr>
16
     <th align="right">[% 'from' | $T8 %]</th>
17
     <td>[% L.date_tag('filter.order_date:date::ge', FORM.filter.order_date_date__ge) %]</td>
18
    </tr>
19

  
20
    <tr>
21
     <th align="right">[% 'to' | $T8 %]</th>
22
     <td>[% L.date_tag('filter.order_date:date::le', FORM.filter.order_date_date__le) %]</td>
23
    </tr>
24

  
25
    <tr>
26
      <th align="right">[% 'Obsolete' | $T8 %]</th>
27
      <td>[% L.yes_no_tag('filter.obsolete', FORM.filter.obsolete, default='0', with_empty=1, empty_title='---') %]</td>
28
    </tr>
29

  
30
 </table>
31

  
32

  
33
<a href='#' onClick='javascript:$("#filter_table input").val("");$("#filter_table input[type=checkbox]").prop("checked", 0);'>[% 'Reset' | $T8 %]</a>
34
<br>
35 1
[% USE T8 %]
36 2
[% USE L %]
37 3
[% USE LxERP %]
38 4
[% USE HTML %]
5
<form method="post" action="controller.pl" name="shop_orders" id="shoporders">
6

  
7
<div class="wrapper">
8

  
9
<table id='filter_table' class="tbl-horizontal">
10
  <tr>
11
    <th>[% 'Shop' | $T8 %]</th>
12
    <td>[% L.select_tag('filter.shop_id:eq_ignore_empty', SELF.shops, value_key = 'value', title_key = 'title', default=0, class='wi-normal') %]</td>
13
  </tr>
14
  <tr>
15
    <th>[% 'Status' | $T8 %]</th>
16
    <td>[% L.select_tag('filter.transferred:eq_ignore_empty', SELF.transferred, value_key = 'value', title_key = 'title', default=0, class='wi-normal') %]</td>
17
  </tr>
18
  <tr>
19
    <th>[% 'from' | $T8 %]</th>
20
    <td>[% L.date_tag('filter.order_date:date::ge', FORM.filter.order_date_date__ge, class='wi-date') %]</td>
21
  </tr>
22
  <tr>
23
    <th>[% 'to' | $T8 %]</th>
24
    <td>[% L.date_tag('filter.order_date:date::le', FORM.filter.order_date_date__le, class='wi-date') %]</td>
25
  </tr>
26
  <tr>
27
    <th>[% 'Obsolete' | $T8 %]</th>
28
    <td>[% L.yes_no_tag('filter.obsolete', FORM.filter.obsolete, default='0', with_empty=1, empty_title='---', class='wi-small') %]</td>
29
  </tr>
30
</table>
31

  
32

  
33
<div class="buttons">
34
  <a href='#' onClick='javascript:$("#filter_table input").val("");$("#filter_table input[type=checkbox]").prop("checked", 0);' class="button neutral">[% 'Reset' | $T8 %]</a>
35
</div>
36

  
37
</div><!-- /.wrapper -->

Auch abrufbar als: Unified diff