7 <form name="Form" method="post" action="controller.pl">
9 <input type="hidden" name="action" value="LoginScreen/login">
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>
14 [% IF superuser.need_privileges && !superuser.have_privileges %]
16 [% LxERP.t8("Database superuser privileges are required for the update.") %]
17 [% LxERP.t8("Please provide corresponding credentials.") %]
20 [% IF superuser.error %]
21 <p>[% LxERP.t8("Error: #1", superuser.error) %]</p>
24 <table class="tbl-horizontal">
27 <th>[% LxERP.t8("User name") %]:</th>
28 <td>[% L.input_tag("database_superuser_username", superuser.username) %]</td>
31 <th>[% LxERP.t8("Password") %]:</th>
32 <td>[% L.input_tag("database_superuser_password", superuser.password, type="password") %]</td>
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>
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>
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>
51 [% FOREACH upgrade_script = unapplied_scripts %]
52 <li>[% HTML.escape(upgrade_script.tag) %]: [% HTML.escape(upgrade_script.description) %]</li>
55 </div><!-- /.filter-toggle-panel -->
57 </div><!-- /.wrapper -->