]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/dbupgrade/warning.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / dbupgrade / warning.html
1 [% USE T8 %]
2 [% USE HTML %]
3 [% USE LxERP %]
4 [% USE L %]
5
6 <div class="wrapper">
7 <form name="Form" method="post" action="controller.pl">
8
9   <input type="hidden" name="action" value="LoginScreen/login">
10
11   <div class="buttons"><input type="button" onclick="history.back()" value="[% 'Back' | $T8 %]" class="neutral"></div>
12   <p class="message message_hint"> [% LxERP.t8('kivitendo is about to update the database [ #1 ].', dbname) | html %] </p>
13
14   [% IF superuser.need_privileges && !superuser.have_privileges %]
15     <p>
16      [% LxERP.t8("Database superuser privileges are required for the update.") %]
17      [% LxERP.t8("Please provide corresponding credentials.") %]
18     </p>
19
20     [% IF superuser.error %]
21       <p>[% LxERP.t8("Error: #1", superuser.error) %]</p>
22     [% END %]
23
24     <table class="tbl-horizontal">
25       <tbody>
26         <tr>
27            <th>[% LxERP.t8("User name") %]:</th>
28            <td>[% L.input_tag("database_superuser_username", superuser.username) %]</td>
29         </tr>
30         <tr>
31            <th>[% LxERP.t8("Password") %]:</th>
32            <td>[% L.input_tag("database_superuser_password", superuser.password, type="password") %]</td>
33         </tr>
34       </tbody>
35     </table>
36   [% END %]
37
38   <p>[% 'You should create a backup of the database before proceeding because the backup might not be reversible.' | $T8 %] </p>
39   <div class="buttons"><input type="submit" name="dummy" value="[% 'Continue' | $T8 %]"></div>
40
41 </form>
42
43 <div id="nodetails" class="toggle_panel">
44   <a href="#" onclick="$('#details,#nodetails').toggle();" class="button toggle off neutral control-panel">[% LxERP.t8('Show details') %]</a>
45 </div>
46 <div id="details" style="display: none;" class="toggle_panel">
47   <a href="#" onclick="$('#details,#nodetails').toggle();" class="button toggle on neutral with-panel">[% LxERP.t8('Hide details') %]</a>
48   <div class="filter-toggle-panel toggle_panel_block">
49     <p> [% LxERP.t8("List of database upgrades to be applied:") %] </p>
50     <ul>
51       [% FOREACH upgrade_script = unapplied_scripts %]
52         <li>[% HTML.escape(upgrade_script.tag) %]: [% HTML.escape(upgrade_script.description) %]</li>
53       [% END %]
54     </ul>
55   </div><!-- /.filter-toggle-panel -->
56 </div>
57 </div><!-- /.wrapper -->