Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 81ca8fc2

Von Hans Peter Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID 81ca8fc26ca6798e357192e2ee72cece55d7f774
  • Vorgänger 1b0453c5
  • Nachfolger e98e07ec

Neues kivitendo Design Aenderungen in templates/webpages/generic*

Dateien in generic/* und generictranslations/*

Unterschiede anzeigen:

templates/webpages/generic/print_options.html
1
[%- USE T8 %]
1
[% USE T8 %]
2 2
[% USE HTML %]
3
<!--
4
  PENDENT: Was soll diese Form des Dialogs?
5
           Show_Headers sollte hier sowieso auf TRUE gestellt sein,
6
           und der Dialog könnte vertikal statt horizontal ausgerichtet sein.
7
-->
3 8

  
4
<table width="100%" cellspacing="0" cellpadding="0">
5
 <tr>
6
  <td>
7
   <table>
8
    [%- IF show_headers %]
9
    <tr>
10
     [%- FOREACH row = SELECTS %]
11
     [%- IF row.show %]
12
     <th align="left" id="print_options_header_[% row.sname %]">[%- row.hname %]</th>
13
     [%- END %]
14
     [%- END %]
15
     [%- IF display_copies %]
16
     <th align="left" id="print_options_header_copies">[% 'Copies' | $T8 %]</th>
17
     [%- END %]
18
     [%- IF display_groupitems %]
19
     <th align="left" id="print_options_header_groupitems">[% 'Group Items' | $T8 %]</th>
20
     [%- END %]
21
     [%- IF display_bothsided %]
22
     <th align="left" id="print_options_header_bothsided">[% 'Both-sided' | $T8 %]</th>
23
     [%- END %]
24
     [%- IF display_remove_draft %]
25
     <th align="left" id="print_options_header_remove_draft">[% 'Remove Draft' | $T8 %]</th>
26
     [%- END %]
27
    </tr>
28
    [%- END %]
29
    <tr>
30
     [%- FOREACH row = SELECTS %]
31
     [%- IF row.show %]
32
     <td id="print_options_input_[% row.sname %]">
33
      <select name="[%- name_prefix %][%- row.sname %]" id="[%- id_prefix %][%- row.sname %]">
34
       [%- FOREACH data = row.DATA %]
35
        <option value="[% data.value %]" [% data.selected %]>[% data.oname %]</option>
36
       [%- END %]
37
      </select>
38
     </td>
39
     [%- END %]
40
     [%- END %]
41
     [%- IF display_copies %]
42
     <td id="print_options_input_copies">[%- IF !show_headers %][%- 'Copies' | $T8 %][%- END %]<input name="[%- name_prefix %]copies" id="[% id_prefix %]copies" size="2" value="[% HTML.escape(copies) %]"></td>
43
     [%- END %]
44
     [%- IF display_groupitems %]
45
     <td id="print_options_input_groupitems">[%- IF !show_headers %][% 'Group Items' | $T8 %][%- END %]
46
      <input name="[%- name_prefix %]groupitems" id="[% id_prefix %]groupitems" type="checkbox" class="checkbox" [% groupitems_checked %]>
47
     </td>
48
     [%- END %]
49
     [%- IF display_bothsided %]
50
     <td id="print_options_input_bothsided">[%- IF !show_headers %][% 'Both-sided' | $T8 %][%- END %]
51
      <input name="[%- name_prefix %]bothsided" id="[% id_prefix %]bothsided" type="checkbox" class="checkbox" [% bothsided_checked %]>
52
     </td>
53
     [%- END %]
54
     [%- IF display_remove_draft %]
55
     <td id="print_options_input_remove_draft">[%- IF !show_headers %][% 'Remove Draft' | $T8 %][%- END %]
56
      <input name="[%- name_prefix %]remove_draft" id="[% id_prefix %]remove_draft" type="checkbox" class="checkbox" [% remove_draft_checked %]>
57
     </td>
58
     [%- END %]
59
    </tr>
60
   </table>
61
  </td>
62
  <td align=right>
63
   <table><tr><th>[% status_msg %]</th></tr></table>
64
  </td>
65
 </tr>
9
<table class="tbl-horizontal">
10
  <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
11
  [% # IF show_headers %]
12
    <body>
13
       [% FOREACH row = SELECTS %]
14
         [% IF row.show %]
15
           <tr>
16
             <th id="print_options_header_[% row.sname %]">[% row.hname %]</th>
17
             <td id="print_options_input_[% row.sname %]">
18
               <select name="[% name_prefix %][% row.sname %]" id="[% id_prefix %][% row.sname %]" class="wi-lightwide">
19
                 [% FOREACH data = row.DATA %]
20
                   <option value="[% data.value %]" [% data.selected %]>[% data.oname %]</option>
21
                 [% END %]
22
               </select>
23
             </td>
24
           </tr>
25
         [% END %]
26
       [% END %]
27
       [% IF display_copies %]
28
         <tr>
29
           <th id="print_options_header_copies">[% 'Copies' | $T8 %]</th>
30
           <td id="print_options_input_copies">
31
             <input type="text" name="[% name_prefix %]copies" id="[% id_prefix %]copies" size="2" value="[% HTML.escape(copies) %]" class="wi-small">
32
           </td>
33
         </tr>
34
       [% END %]
35
       [% IF display_groupitems %]
36
         <tr>
37
           <th id="print_options_header_groupitems">[% 'Group Items' | $T8 %]</th>
38
           <td id="print_options_input_groupitems">
39
             <input name="[% name_prefix %]groupitems" id="[% id_prefix %]groupitems" type="checkbox" [% groupitems_checked %]>
40
           </td>
41
         </tr>
42
       [% END %]
43
       [% IF display_bothsided %]
44
         <tr>
45
           <th id="print_options_header_bothsided">[% 'Both-sided' | $T8 %]</th>
46
           <td id="print_options_input_bothsided">
47
             <input name="[% name_prefix %]bothsided" id="[% id_prefix %]bothsided" type="checkbox" [% bothsided_checked %]>
48
           </td>
49
         </tr>
50
       [% END %]
51
       [% IF display_remove_draft %]
52
         <tr>
53
           <th id="print_options_header_remove_draft">[% 'Remove Draft' | $T8 %]</th>
54
           <td id="print_options_input_remove_draft">
55
             <input name="[% name_prefix %]remove_draft" id="[% id_prefix %]remove_draft" type="checkbox" [% remove_draft_checked %]>
56
           </td>
57
         </tr>
58
       [% END %]
59
    </body>
60
  [% # END %]
66 61
</table>
62

  
63
[% IF status_msg %]
64
  <div class="message message_hint">[% status_msg %]</div>
65
[% END %]

Auch abrufbar als: Unified diff