Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 9bcfd9bb

Von Hans P. Schlaepfer vor mehr als 4 Jahren hinzugefügt

  • ID 9bcfd9bb64dc50153165336489c4fc5b3d7d93aa
  • Vorgänger d9b49c4d
  • Nachfolger 5e2cb84f

Neues Design 2019 Standard-Code templates/webpages/am/add_unit.html

Unterschiede anzeigen:

templates/webpages/am/add_unit.html
[% PROCESS "am/_units_header_info.html" %]
<hr>
<form method="post" action="[% HTML.escape(script) %]" id="form">
<div class="wrapper">
<input type="hidden" name="type" value="unit">
<table class="tbl-horizontal">
<colgroup> <col class="wi-normal"><col class="wi-lightwide"> </colgroup>
<tbody>
<tr>
<th>[% 'Unit' | $T8 %]</th>
<td><input type="text" name="new_name" size="20" class="wi-normal"></td>
</tr>
<tr>
<th>[% 'Base unit' | $T8 %]</th>
<td>
<select name="new_base_unit" class="wi-normal">
[% FOREACH row = NEW_BASE_UNIT_DDBOX %]
<option [% row.selected %]>[% row.name %]</option>
[% END %]
</select>
</td>
</tr>
<tr>
<th>[% 'Factor' | $T8 %]</th>
<td><input type="text" name="new_factor" class="wi-normal"></td>
</tr>
</tbody>
</table>
<table class="tbl-horizontal">
<caption>[% '' | $T8 %]</caption>
<colgroup> <col class="wi-normal"><col class="wi-lightwide"><col class="wi-small"><col class="wi-lightwide"> </colgroup>
<tbody>
[% FOREACH language = LANGUAGES %]
<tr>
<th>[% language.description %]</th>
<td><input type="text" name="new_localized_[% language.id %]" class="wi-normal" maxlength="20"></td>
<th>[% 'Plural' | $T8 %]</th>
<td><input type="text" name="new_localized_plural_[% language.id %]" class="wi-normal" maxlength="20"></td>
</tr>
[% END %]
</tbody>
</table>
<input type="hidden" name="type" value="unit">
<table>
<tr>
<th align="right">[% 'Unit' | $T8 %]</th>
<td><input name="new_name" size="20" maxlength="20"></td>
</tr>
<tr>
<th align="right">[% 'Base unit' | $T8 %]</th>
<td>
<select name="new_base_unit">
[% FOREACH row = NEW_BASE_UNIT_DDBOX %]<option [% row.selected %]>[% row.name %]</option>[% END %]
</select>
</td>
</tr>
<tr>
<th align="right">[% 'Factor' | $T8 %]</th>
<td><input name="new_factor"></td>
</tr>
[% FOREACH language = LANGUAGES %]
<tr>
<th align="right">[% language.description %]</th>
<td><input name="new_localized_[% language.id %]" size="20" maxlength="20"></td>
<th align="right">[% 'Plural' | $T8 %]</th>
<td><input name="new_localized_plural_[% language.id %]" size="20" maxlength="20"></td>
</tr>
[% END %]
</table>
</div><!-- /.wrapper -->
</form>

Auch abrufbar als: Unified diff