Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2a97e655

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 2a97e655e92b373e1b80526a22686da670777d13
  • Vorgänger 58ca9076
  • Nachfolger f640c021

Neues kivitendo Design Aenderungen in templates/webpages/am/..

Unterschiede anzeigen:

templates/webpages/am/add_unit.html
1
[%- USE HTML -%][%- USE T8 -%]
1
[% USE HTML %]
2
[% USE T8 %]
3

  
2 4
<h1>[% 'Add unit' | $T8 %]</h1>
3 5

  
4 6
[% PROCESS "am/_units_header_info.html" %]
5 7

  
6
<hr>
7

  
8 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

  
9 51

  
10
 <input type="hidden" name="type" value="unit">
11

  
12
 <table>
13
  <tr>
14
   <th align="right">[% 'Unit' | $T8 %]</th>
15
   <td><input name="new_name" size="20" maxlength="20"></td>
16
  </tr>
17
  <tr>
18
   <th align="right">[% 'Base unit' | $T8 %]</th>
19
   <td>
20
    <select name="new_base_unit">
21
     [% FOREACH row = NEW_BASE_UNIT_DDBOX %]<option [% row.selected %]>[% row.name %]</option>[% END %]
22
    </select>
23
   </td>
24
  </tr>
25
  <tr>
26
   <th align="right">[% 'Factor' | $T8 %]</th>
27
   <td><input name="new_factor"></td>
28
  </tr>
29

  
30
  [% FOREACH language = LANGUAGES %]
31
   <tr>
32
    <th align="right">[% language.description %]</th>
33
    <td><input name="new_localized_[% language.id %]" size="20" maxlength="20"></td>
34
    <th align="right">[% 'Plural' | $T8 %]</th>
35
    <td><input name="new_localized_plural_[% language.id %]" size="20" maxlength="20"></td>
36
   </tr>
37
  [% END %]
38
 </table>
52

  
53

  
54

  
55
</div><!-- /.wrapper -->
39 56
</form>
57

  

Auch abrufbar als: Unified diff