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