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