Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 027157f9

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

  • ID 027157f96627e9959d2464c626ae5c587ffe788f
  • Vorgänger 21e851b6
  • Nachfolger 4cecc00e

Neues Design 2019 Standard-Code templates/webpages/fu/

Unterschiede anzeigen:

templates/webpages/fu/search.html
1 1
[% USE T8 %]
2 2
[% USE L %]
3 3
[% USE HTML %]
4
<h1>[% title %]</h1>
5

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

  
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>
30

  
31
    <tr>
32
     <td align="right">[% 'Subject' | $T8 %]</td>
33
     <td><input name="subject" size="20"></td>
34
    </tr>
35

  
36
    <tr>
37
     <td align="right">[% 'Body' | $T8 %]</td>
38
     <td><input name="body" size="20"></td>
39
    </tr>
40

  
41
    <tr>
42
     <td align="right">[% 'Reference' | $T8 %]</td>
43
     <td><input name="reference" size="20"></td>
44
    </tr>
45 4

  
46
    <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>
54
    </tr>
55

  
56
    <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>
64
    </tr>
5
<h1>[% title %]</h1>
65 6

  
66
    <tr>
67
     <td align="right">[% 'Include in Report' | $T8 %]</td>
68
     <td>
7
<script type="text/javascript">
8
  $(function(){ document.Form.subject.focus(); });
9
</script>
69 10

  
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>
11
<form action="fu.pl" method="post" name="Form" id="form">
76 12

  
13
<div class="wrapper">
14
  <table class="tbl-horizontal">
15
    <tbody>
16
      <tr>
17
        <th>[% 'Created for' | $T8 %]</th>
77 18
        <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>
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>
80 31
        </td>
81
       </tr>
82

  
83
       <tr>
32
      </tr>
33
      <tr>
34
        <th>[% 'Subject' | $T8 %]</th>
35
        <td><input type="text" name="subject" class="wi-wider"></td>
36
      </tr>
37
      <tr>
38
        <th>[% 'Body' | $T8 %]</th>
39
        <td><input type="text" name="body" class="wi-wider"></td>
40
      </tr>
41
      <tr>
42
        <th>[% 'Reference' | $T8 %]</th>
43
        <td><input type="text" name="reference" class="wi-wider"></td>
44
      </tr>
45
      <tr>
46
        <th>[% 'Follow-Up Date' | $T8 %]</th>
84 47
        <td>
85
         <input type="checkbox" name="not_done" id="not_done" value="1" checked>
86
         <label for="not_done">[% 'Not done yet' | $T8 %]</label>
48
          [% 'From'      | $T8 %] [% L.date_tag('follow_up_date_from') %]
49
          [% 'To (time)' | $T8 %] [% L.date_tag('follow_up_date_to'  ) %]
87 50
        </td>
88

  
51
      </tr>
52
      <tr>
53
        <th>[% 'Created on' | $T8 %]</th>
89 54
        <td>
90
         <input type="checkbox" name="done" id="done" value="1">
91
         <label for="done">[% 'Done' | $T8 %]</label>
55
          [% 'From'      | $T8 %] [% L.date_tag('itime_from') %]
56
          [% 'To (time)' | $T8 %] [% L.date_tag('itime_to'  ) %]
92 57
        </td>
93
       </tr>
94
      </table>
58
      </tr>
59
    </tbody>
60
  </table>
61
</div>
95 62

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

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

Auch abrufbar als: Unified diff