Revision 7e6e7605
Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt
templates/webpages/email_journal/_filter.html | ||
---|---|---|
1 |
[%- USE L %][%- USE LxERP %][%- USE HTML %] |
|
2 |
<form action="controller.pl" method="post" id="filter_form"> |
|
3 |
<div class="filter_toggle"> |
|
4 |
<a href="#" onClick="javascript:$('.filter_toggle').toggle()">[% LxERP.t8('Show Filter') %]</a> |
|
5 |
[% IF SELF.filter_summary %]([% LxERP.t8("Current filter") %]: [% SELF.filter_summary %])[% END %] |
|
6 |
</div> |
|
1 |
[% USE L %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE HTML %] |
|
7 | 4 |
|
8 |
<div class="filter_toggle" style="display:none"> |
|
9 |
<a href="#" onClick="javascript:$('.filter_toggle').toggle()">[% LxERP.t8('Hide Filter') %]</a> |
|
10 |
<table id="filter_table"> |
|
11 |
<tr> |
|
12 |
<th align="right">[% LxERP.t8("From") %]</th> |
|
13 |
<td>[% L.input_tag("filter.from:substr::ilike", filter.from_substr__ilike, size = 20) %]</td> |
|
14 |
</tr> |
|
15 |
<tr> |
|
16 |
<th align="right">[% LxERP.t8("Recipients") %]</th> |
|
17 |
<td>[% L.input_tag("filter.recipients:substr::ilike", filter.recipients_substr__ilike, size = 20) %]</td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
20 |
<th align="right">[% LxERP.t8("Sent on") %]</th> |
|
21 |
<td> |
|
22 |
[% L.date_tag("filter.sent_on:date::ge", filter.sent_on_date__ge) %] |
|
23 |
[% LxERP.t8("To Date") %] |
|
24 |
[% L.date_tag("filter.sent_on:date::le", filter.sent_on_date__le) %] |
|
25 |
</td> |
|
26 |
</tr> |
|
27 |
<tr> |
|
28 |
<th align="right">[% LxERP.t8("Status") %]</th> |
|
29 |
<td>[% L.select_tag("filter.status:eq_ignore_empty", [ [ "", "" ], [ "failed", LxERP.t8("failed") ], [ "ok", LxERP.t8("succeeded") ] ], default=filter.status_eq_ignore_empty) %]</td> |
|
30 |
</tr> |
|
5 |
[% BLOCK filter_toggle_panel %] |
|
6 |
<table id="filter_table" class="tbl-horizontal"> |
|
7 |
<tbody> |
|
8 |
<tr> |
|
9 |
<th>[% LxERP.t8("From") %]</th> |
|
10 |
<td>[% L.input_tag("filter.from:substr::ilike", filter.from_substr__ilike, size = 20) %] |
|
11 |
</td> |
|
12 |
</tr> |
|
13 |
<tr> |
|
14 |
<th>[% LxERP.t8("Recipients") %]</th> |
|
15 |
<td>[% L.input_tag("filter.recipients:substr::ilike", filter.recipients_substr__ilike, size = 20) %] |
|
16 |
</td> |
|
17 |
</tr> |
|
18 |
<tr> |
|
19 |
<th>[% LxERP.t8("Sent on") %]</th> |
|
20 |
<td>[% L.date_tag("filter.sent_on:date::ge", filter.sent_on_date__ge) %] [% LxERP.t8("To Date") %] [% L.date_tag("filter.sent_on:date::le", filter.sent_on_date__le) %] |
|
21 |
</td> |
|
22 |
</tr> |
|
23 |
<tr> |
|
24 |
<th>[% LxERP.t8("Status") %]</th> |
|
25 |
<td>[% L.select_tag("filter.status:eq_ignore_empty", [ [ "", "" ], [ "failed", LxERP.t8("failed") ], [ "ok", LxERP.t8("succeeded") ] ], default=filter.status_eq_ignore_empty) %] |
|
26 |
</td> |
|
27 |
</tr> |
|
28 |
</tbody> |
|
31 | 29 |
</table> |
32 |
|
|
33 | 30 |
[% L.hidden_tag("sort_by", FORM.sort_by) %] |
34 | 31 |
[% L.hidden_tag("sort_dir", FORM.sort_dir) %] |
35 | 32 |
[% L.hidden_tag("page", FORM.page) %] |
33 |
<div class="buttons">[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]</div> |
|
34 |
[% END %] |
|
35 |
|
|
36 |
<div class="wrapper"> |
|
37 |
<form action="controller.pl" method="post" id="filter_form"> |
|
38 |
|
|
39 |
[% INCLUDE common/toggle_panel.html %] |
|
40 |
|
|
36 | 41 |
|
37 |
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %] |
|
38 | 42 |
|
39 |
</div>
|
|
43 |
</div> |
|
40 | 44 |
|
41 | 45 |
</form> |
46 |
</div> |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/e*
Dateien in email_journal/* employee/*