Revision 9bcfd9bb
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/am/add_unit.html | ||
---|---|---|
5 | 5 |
|
6 | 6 |
[% PROCESS "am/_units_header_info.html" %] |
7 | 7 |
|
8 |
<hr> |
|
9 |
|
|
10 | 8 |
<form method="post" action="[% HTML.escape(script) %]" id="form"> |
9 |
<div class="wrapper"> |
|
10 |
<input type="hidden" name="type" value="unit"> |
|
11 |
|
|
12 |
<table class="tbl-horizontal"> |
|
13 |
<colgroup> <col class="wi-normal"><col class="wi-lightwide"> </colgroup> |
|
14 |
<tbody> |
|
15 |
<tr> |
|
16 |
<th>[% 'Unit' | $T8 %]</th> |
|
17 |
<td><input type="text" name="new_name" size="20" class="wi-normal"></td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
20 |
<th>[% 'Base unit' | $T8 %]</th> |
|
21 |
<td> |
|
22 |
<select name="new_base_unit" class="wi-normal"> |
|
23 |
[% FOREACH row = NEW_BASE_UNIT_DDBOX %] |
|
24 |
<option [% row.selected %]>[% row.name %]</option> |
|
25 |
[% END %] |
|
26 |
</select> |
|
27 |
</td> |
|
28 |
</tr> |
|
29 |
<tr> |
|
30 |
<th>[% 'Factor' | $T8 %]</th> |
|
31 |
<td><input type="text" name="new_factor" class="wi-normal"></td> |
|
32 |
</tr> |
|
33 |
</tbody> |
|
34 |
</table> |
|
35 |
|
|
36 |
<table class="tbl-horizontal"> |
|
37 |
<caption>[% '' | $T8 %]</caption> |
|
38 |
<colgroup> <col class="wi-normal"><col class="wi-lightwide"><col class="wi-small"><col class="wi-lightwide"> </colgroup> |
|
39 |
<tbody> |
|
40 |
[% FOREACH language = LANGUAGES %] |
|
41 |
<tr> |
|
42 |
<th>[% language.description %]</th> |
|
43 |
<td><input type="text" name="new_localized_[% language.id %]" class="wi-normal" maxlength="20"></td> |
|
44 |
<th>[% 'Plural' | $T8 %]</th> |
|
45 |
<td><input type="text" name="new_localized_plural_[% language.id %]" class="wi-normal" maxlength="20"></td> |
|
46 |
</tr> |
|
47 |
[% END %] |
|
48 |
</tbody> |
|
49 |
</table> |
|
50 |
|
|
11 | 51 |
|
12 |
<input type="hidden" name="type" value="unit"> |
|
13 |
|
|
14 |
<table> |
|
15 |
<tr> |
|
16 |
<th align="right">[% 'Unit' | $T8 %]</th> |
|
17 |
<td><input name="new_name" size="20" maxlength="20"></td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
20 |
<th align="right">[% 'Base unit' | $T8 %]</th> |
|
21 |
<td> |
|
22 |
<select name="new_base_unit"> |
|
23 |
[% FOREACH row = NEW_BASE_UNIT_DDBOX %]<option [% row.selected %]>[% row.name %]</option>[% END %] |
|
24 |
</select> |
|
25 |
</td> |
|
26 |
</tr> |
|
27 |
<tr> |
|
28 |
<th align="right">[% 'Factor' | $T8 %]</th> |
|
29 |
<td><input name="new_factor"></td> |
|
30 |
</tr> |
|
31 |
|
|
32 |
[% FOREACH language = LANGUAGES %] |
|
33 |
<tr> |
|
34 |
<th align="right">[% language.description %]</th> |
|
35 |
<td><input name="new_localized_[% language.id %]" size="20" maxlength="20"></td> |
|
36 |
<th align="right">[% 'Plural' | $T8 %]</th> |
|
37 |
<td><input name="new_localized_plural_[% language.id %]" size="20" maxlength="20"></td> |
|
38 |
</tr> |
|
39 |
[% END %] |
|
40 |
</table> |
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
</div><!-- /.wrapper --> |
|
41 | 56 |
</form> |
57 |
|
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/am/add_unit.html