kivitendo/templates/webpages/dbupgrade/warning.html @ 1d1f3140
dfee9199 | Sven Schöling | [%- USE T8 %]
|
||
[%- USE HTML %]
|
||||
f30f0cce | Moritz Bunkus | [%- USE LxERP %][%- USE L -%]
|
||
540c0b5e | Moritz Bunkus | <form name="Form" method="post" action="controller.pl">
|
||
aa6ce434 | Moritz Bunkus | |||
540c0b5e | Moritz Bunkus | <input type="hidden" name="action" value="LoginScreen/login">
|
||
4b937d1a | Sven Donath | <p><input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]"></p>
|
||
e3f07619 | Sven Donath | <p class="message_hint">
|
||
fe8f7c08 | Sven Schöling | [% LxERP.t8('kivitendo is about to update the database [ #1 ].', dbname) | html %]
|
||
e3f07619 | Sven Donath | </p>
|
||
f30f0cce | Moritz Bunkus | |||
[% IF superuser.need_privileges && !superuser.have_privileges %]
|
||||
<p>
|
||||
[% LxERP.t8("Database superuser privileges are required for the update.") %]
|
||||
[% LxERP.t8("Please provide corresponding credentials.") %]
|
||||
</p>
|
||||
[% IF superuser.error %]
|
||||
<p>[% LxERP.t8("Error: #1", superuser.error) %]</p>
|
||||
[% END %]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>[% LxERP.t8("User name") %]:</td>
|
||||
<td>[% L.input_tag("database_superuser_username", superuser.username) %]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[% LxERP.t8("Password") %]:</td>
|
||||
<td>[% L.input_tag("database_superuser_password", superuser.password, type="password") %]</td>
|
||||
</tr>
|
||||
</table>
|
||||
[% END %]
|
||||
aa6ce434 | Moritz Bunkus | <p>
|
||
77919bac | Sven Schöling | [% 'You should create a backup of the database before proceeding because the backup might not be reversible.' | $T8 %]
|
||
aa6ce434 | Moritz Bunkus | </p>
|
||
dfee9199 | Sven Schöling | <input type="submit" name="dummy" value="[% 'Continue' | $T8 %]">
|
||
aa6ce434 | Moritz Bunkus | </form>
|
||
54746051 | Moritz Bunkus | |||
<p id="nodetails">
|
||||
f1168af4 | Moritz Bunkus | <a href="#" onclick="$('#details,#nodetails').toggle();">[% LxERP.t8('Show details') %]</a>
|
||
54746051 | Moritz Bunkus | </p>
|
||
<div id="details" style="display: none;">
|
||||
<p>
|
||||
f1168af4 | Moritz Bunkus | <a href="#" onclick="$('#details,#nodetails').toggle();">[% LxERP.t8('Hide details') %]</a>
|
||
54746051 | Moritz Bunkus | </p>
|
||
<p>
|
||||
[% LxERP.t8("List of database upgrades to be applied:") %]
|
||||
</p>
|
||||
<ul>
|
||||
[% FOREACH upgrade_script = unapplied_scripts %]
|
||||
<li>[% HTML.escape(upgrade_script.tag) %]: [% HTML.escape(upgrade_script.description) %]</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
</div>
|