Templates werden nicht mehr übersetzt gespeichert.
[kivitendo-erp.git] / templates / webpages / admin / update_dataset_master.html
1 [%- USE T8 %]
2 [% USE HTML %]<body class="admin">
3
4  <h2>[% title %]</h2>
5
6  [% IF ALL_UPDATED %]
7   [% 'All Datasets up to date!' | $T8 %]
8
9   [% ELSE %]
10
11   <form method="post" action="admin.pl">
12
13    <p>[% 'The following Datasets need to be updated' | $T8 %]:</p>
14
15    <table>
16     <tr>
17      <th class="listtop">[% 'Update?' | $T8 %]</th>
18      <th class="listtop">[% 'Dataset' | $T8 %]</th>
19      <th class="listtop">[% 'Driver' | $T8 %]</th>
20      <th class="listtop">[% 'Host' | $T8 %]</th>
21      <th class="listtop">[% 'Port' | $T8 %]</th>
22      <th class="listtop">[% 'User' | $T8 %]</th>
23     </tr>
24
25     [% FOREACH row = NEED_UPDATES %]
26      <tr class="listrow[% loop.count % 2 %]">
27       <td><input type="checkbox" name="update_[% loop.count %]" id="update_[% loop.count %]" value="1" checked></td>
28       <td>
29        <input type="hidden" name="dbname_[% loop.count %]" value="[% HTML.escape(row.dbname) %]">
30        <label for="update_[% loop.count %]">[% HTML.escape(row.dbname) %]</label>
31       </td>
32       <td><input type="hidden" name="dbdriver_[% loop.count %]" value="Pg">PostgreSQL</td>
33       <td><input type="hidden" name="dbhost_[% loop.count %]" value="[% HTML.escape(row.dbhost) %]">[% HTML.escape(row.dbhost) %]</td>
34       <td><input type="hidden" name="dbport_[% loop.count %]" value="[% HTML.escape(row.dbport) %]">[% HTML.escape(row.dbport) %]</td>
35       <td><input type="hidden" name="dbuser_[% loop.count %]" value="[% HTML.escape(row.dbuser) %]">[% HTML.escape(row.dbuser) %]</td>
36      </tr>
37
38     [% END %]
39    </table>
40
41    <input type="hidden" name="rowcount" value="[% NEED_UPDATES.size %]">
42
43    <input name="callback" type="hidden" value="admin.pl?action=list_users">
44    <input type="hidden" name="nextsub" value="dbupdate">
45
46    <hr size="3" noshade>
47
48    <br>
49
50    <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">
51
52   </form>
53
54  [% END %]
55
56 </body>
57 </html>