Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d25334c6

Von Hans Peter Schlaepfer vor mehr als 6 Jahren hinzugefügt

  • ID d25334c6f26a49abac9707a54e5b987bd587d96e
  • Vorgänger e7c11f83
  • Nachfolger 3740d9a0

Aenderungen hpschlaepfer

Unterschiede anzeigen:

templates/webpages/fu/search.html
1
[%- USE T8 %]
2
[%- USE L %]
1
[% USE T8 %]
2
[% USE L %]
3 3
[% USE HTML %]
4

  
4 5
<h1>[% title %]</h1>
5 6

  
6
 <script type="text/javascript">
7
   $(function(){ document.Form.subject.focus(); });
8
 </script>
7
<script type="text/javascript">
8
  $(function(){ document.Form.subject.focus(); });
9
</script>
9 10

  
10
 <form action="fu.pl" method="post" name="Form" id="form">
11
  <p>
12
   <table>
13
    <tr>
14
     <td align="right">[% 'Created for' | $T8 %]</td>
15
     <td>
16
      <select name="created_for">
17
       <option></option>
18
       [%- FOREACH row = EMPLOYEES %]
19
       <option value="[% HTML.escape(row.id) %]">
20
        [%- IF row.name %]
21
        [%- HTML.escape(row.name) %] ([% HTML.escape(row.login) %])
22
        [%- ELSE %]
23
        [%- HTML.escape(row.login) %]
24
        [%- END %]
25
       </option>
26
       [%- END %]
27
      </select>
28
     </td>
29
    </tr>
11
<form action="fu.pl" method="post" name="Form" id="form">
30 12

  
13
<div class="wrapper">
14
  <table class="tbl-horizontal">
15
    <tbody>
31 16
    <tr>
32
     <td align="right">[% 'Subject' | $T8 %]</td>
33
     <td><input name="subject" size="20"></td>
17
      <th>[% 'Created for' | $T8 %]</th>
18
      <td> 
19
        <select name="created_for" class="wi-wider">
20
          <option></option>
21
          [% FOREACH row = EMPLOYEES %] 
22
          <option value="[% HTML.escape(row.id) %]"> 
23
            [% IF row.name %] 
24
              [% HTML.escape(row.name) %] ([% HTML.escape(row.login) %]) 
25
            [% ELSE %] 
26
              [% HTML.escape(row.login) %] 
27
            [% END %]
28
          </option>
29
          [% END %] 
30
        </select>
31
      </td>
34 32
    </tr>
35

  
36 33
    <tr>
37
     <td align="right">[% 'Body' | $T8 %]</td>
38
     <td><input name="body" size="20"></td>
34
      <th>[% 'Subject' | $T8 %]</th>
35
      <td><input type="text" name="subject" class="wi-wider"></td>
39 36
    </tr>
40

  
41 37
    <tr>
42
     <td align="right">[% 'Reference' | $T8 %]</td>
43
     <td><input name="reference" size="20"></td>
38
      <th>[% 'Body' | $T8 %]</th>
39
      <td><input type="text" name="body" class="wi-wider"></td>
44 40
    </tr>
45

  
46 41
    <tr>
47
     <td align="right">[% 'Follow-Up Date' | $T8 %]</td>
48
     <td>
49
      [% 'From' | $T8 %]
50
      [% L.date_tag('follow_up_date_from') %]
51
      [% 'To (time)' | $T8 %]
52
      [% L.date_tag('follow_up_date_to') %]
53
     </td>
42
      <th>[% 'Reference' | $T8 %]</th>
43
      <td><input type="text" name="reference" class="wi-wider"></td>
54 44
    </tr>
55

  
56 45
    <tr>
57
     <td align="right">[% 'Created on' | $T8 %]</td>
58
     <td>
59
      [% 'From' | $T8 %]
60
      [% L.date_tag('itime_from') %]
61
      [% 'To (time)' | $T8 %]
62
      [% L.date_tag('itime_to') %]
63
     </td>
46
      <th>[% 'Follow-Up Date' | $T8 %]</th>
47
      <td>
48
        [% 'From'      | $T8 %] [% L.date_tag('follow_up_date_from') %] 
49
        [% 'To (time)' | $T8 %] [% L.date_tag('follow_up_date_to'  ) %] 
50
      </td>
64 51
    </tr>
65

  
66 52
    <tr>
67
     <td align="right">[% 'Include in Report' | $T8 %]</td>
68
     <td>
69

  
70
      <table>
71
       <tr>
72
        <td>
73
         <input type="checkbox" name="due_only" id="due_only" value="1" checked>
74
         <label for="due_only">[% 'Only due follow-ups' | $T8 %]</label>
75
        </td>
76

  
77
        <td>
78
         <input type="checkbox" name="all_users" id="all_users" value="1" checked>
79
         <label for="all_users">[% 'Other users\' follow-ups' | $T8 %]</label>
80
        </td>
81
       </tr>
82

  
83
       <tr>
84
        <td>
85
         <input type="checkbox" name="not_done" id="not_done" value="1" checked>
86
         <label for="not_done">[% 'Not done yet' | $T8 %]</label>
87
        </td>
88

  
89
        <td>
90
         <input type="checkbox" name="done" id="done" value="1">
91
         <label for="done">[% 'Done' | $T8 %]</label>
92
        </td>
93
       </tr>
94
      </table>
95

  
96
     </td>
53
      <th>[% 'Created on' | $T8 %]</th>
54
      <td>
55
        [% 'From'      | $T8 %] [% L.date_tag('itime_from') %] 
56
        [% 'To (time)' | $T8 %] [% L.date_tag('itime_to'  ) %]
57
      </td>
97 58
    </tr>
59
    </tbody>
60
  </table>
61
</div>
62

  
63
<div class="form-addition">
64
  <h3>[% 'Include in Report' | $T8 %]</h3>
65
  <input type="checkbox" name="due_only" id="due_only" value="1" checked>   <label for="due_only">[% 'Only due follow-ups' | $T8 %]</label> <br>
66
  <input type="checkbox" name="all_users" id="all_users" value="1" checked> <label for="all_users">[% 'Other users\' follow-ups' | $T8 %]</label>  <br>
67
  <input type="checkbox" name="not_done" id="not_done" value="1" checked>   <label for="not_done">[% 'Not done yet' | $T8 %]</label>  <br>
68
  <input type="checkbox" name="done" id="done" value="1">                   <label for="done">[% 'Done' | $T8 %]</label>  
69
</div>
98 70

  
99
   </table>
100
  </p>
101
 </form>
71
</form>

Auch abrufbar als: Unified diff