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