Revision ab382ff2
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
templates/webpages/ap/search.html | ||
---|---|---|
1 | 1 |
[%- USE T8 %] |
2 | 2 |
[%- USE L %][%- USE P -%] |
3 |
[% SET style="width: 250px" %] |
|
3 | 4 |
<h1>[% title %]</h1> |
4 | 5 |
|
5 | 6 |
<form method=post name="search" action=[% script %]> |
... | ... | |
10 | 11 |
<table> |
11 | 12 |
<tr> |
12 | 13 |
<th align=right>[% 'Vendor' | $T8 %]</th> |
13 |
<td colspan=3>[% L.input_tag("vendor", vendor, style="width: 250px", class="initial_focus") %]</td>
|
|
14 |
<td>[% L.input_tag("vendor", vendor, style=style, class="initial_focus") %]</td>
|
|
14 | 15 |
</tr> |
15 | 16 |
<tr> |
16 | 17 |
<th align="right" nowrap>[% 'Contact Person' | $T8 %]</th> |
17 |
<td colspan="3">[% L.input_tag("cp_name", '', size=20) %]</td>
|
|
18 |
<td>[% L.input_tag("cp_name", '', style=style) %]</td>
|
|
18 | 19 |
</tr> |
19 | 20 |
<tr> |
20 | 21 |
<th align=right nowrap>[% 'Department' | $T8 %]</th> |
21 |
<td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style="width: 200px") %]</td>
|
|
22 |
<td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]</td>
|
|
22 | 23 |
</tr> |
23 | 24 |
<tr> |
24 | 25 |
<th align=right nowrap>[% 'Invoice Number' | $T8 %]</th> |
25 |
<td colspan=3><input name=invnumber size=20></td>
|
|
26 |
<td>[% L.input_tag("invnumber", "", style=style) %]</td>
|
|
26 | 27 |
</tr> |
27 | 28 |
<tr> |
28 | 29 |
<th align=right nowrap>[% 'Order Number' | $T8 %]</th> |
29 |
<td colspan=3><input name=ordnumber size=20></td>
|
|
30 |
<td>[% L.input_tag("ordnumber", "", style=style) %]</td>
|
|
30 | 31 |
</tr> |
31 | 32 |
<tr> |
32 | 33 |
<th align=right nowrap>[% 'Notes' | $T8 %]</th> |
33 |
<td><input name=notes size=20></td>
|
|
34 |
<td>[% L.input_tag("notes", "", style=style) %]</td>
|
|
34 | 35 |
<th align="right">[% 'Part Description' | $T8 %]</th> |
35 |
<td><input name="parts_description" size="20"></td>
|
|
36 |
<td>[% L.input_tag("parts_description", "", style=style) %]</td>
|
|
36 | 37 |
</tr> |
37 | 38 |
<tr> |
38 | 39 |
<th align="right">[% 'Project Number' | $T8 %]</th> |
39 |
<td colspan="3">[% P.project_picker("project_id", project_id, style="width: 250px") %]</td>
|
|
40 |
<td>[% P.project_picker("project_id", project_id, style=style) %]</td>
|
|
40 | 41 |
<th align="right">[% 'Part Number' | $T8 %]</th> |
41 |
<td><input name="parts_partnumber" size="20"></td>
|
|
42 |
<td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
|
|
42 | 43 |
</tr> |
43 | 44 |
<tr> |
44 |
<th align=right nowrap>[% 'From' | $T8 %]</th>
|
|
45 |
<th align=right nowrap>[% 'Invoice Date' | $T8 %]</th>
|
|
45 | 46 |
<td> |
46 | 47 |
[% L.date_tag('transdatefrom') %] |
47 |
</td> |
|
48 |
<th align=right>[% 'Bis' | $T8 %]</th> |
|
49 |
<td> |
|
50 |
[% L.date_tag('transdateto') %] |
|
48 |
[% 'Bis' | $T8 %] |
|
49 |
[% L.date_tag('transdateto') %] |
|
51 | 50 |
</td> |
52 | 51 |
</tr> |
53 | 52 |
<input type=hidden name=sort value=transdate> |
Auch abrufbar als: Unified diff
Einkaufsrechnungssuche: Inputs gleich lang gemacht
Naja gut… so gleich lang, wie Inputs nun mal werden, wenn man sie alle
auf eine einheitliche Breite setzt. Comboboxes werden trotzdem leicht
schmaler gerendert.