Revision f6d007d8
Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt
templates/webpages/admin/check_auth_database.html | ||
---|---|---|
1 |
|
|
2 |
<h1>[% title %]</h1> |
|
3 |
|
|
4 |
<form method="post" action="controller.pl"> |
|
5 |
[%- L.hidden_tag("action", 'Admin/create_auth_db') %] |
|
6 |
[%- L.hidden_tag("{AUTH}admin_password", LXCONFIG.authentication.admin_password) %] |
|
7 |
|
|
8 |
<p> |
|
9 |
[% 'The database for user management and authentication does not exist. You can create let kivitendo create it with the following parameters:' | $T8 %] |
|
10 |
</p> |
|
11 |
|
|
12 |
<table border="0"> |
|
13 |
<tr> |
|
14 |
<td>[% 'Host' | $T8 %]:</td> |
|
15 |
<td>[% HTML.escape(SELF.db_cfg.host) %]</td> |
|
16 |
</tr> |
|
17 |
<tr> |
|
18 |
<td>[% 'Port' | $T8 %]:</td> |
|
19 |
<td>[% HTML.escape(SELF.db_cfg.port) %]</td> |
|
20 |
</tr> |
|
21 |
<tr> |
|
22 |
<td>[% 'User name' | $T8 %]:</td> |
|
23 |
<td>[% HTML.escape(SELF.db_cfg.user) %]</td> |
|
24 |
</tr> |
|
25 |
<tr> |
|
26 |
<td>[% 'Database name' | $T8 %]:</td> |
|
27 |
<td>[% HTML.escape(SELF.db_cfg.db) %]</td> |
|
28 |
</tr> |
|
29 | 1 |
[% USE T8 %] |
30 | 2 |
[% USE HTML %] |
31 | 3 |
[% USE L %] |
32 | 4 |
[% USE LxERP %] |
5 |
|
|
6 |
<h1>[% title %]</h1> |
|
7 |
|
|
8 |
<form method="post" action="controller.pl"> |
|
9 |
[% L.hidden_tag("action", 'Admin/create_auth_db') %] |
|
10 |
[% L.hidden_tag("{AUTH}admin_password", LXCONFIG.authentication.admin_password) %] |
|
11 |
|
|
12 |
<p>[% 'The database for user management and authentication does not exist. You can create let kivitendo create it with the following parameters:' | $T8 %]</p> |
|
13 |
|
|
14 |
<table class="tbl-horizontal"> |
|
15 |
<tr> |
|
16 |
<th>[% 'Host' | $T8 %]:</th> |
|
17 |
<td>[% HTML.escape(SELF.db_cfg.host) %]</td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
20 |
<th>[% 'Port' | $T8 %]:</th> |
|
21 |
<td>[% HTML.escape(SELF.db_cfg.port) %]</td> |
|
22 |
</tr> |
|
23 |
<tr> |
|
24 |
<th>[% 'User name' | $T8 %]:</th> |
|
25 |
<td>[% HTML.escape(SELF.db_cfg.user) %]</td> |
|
26 |
</tr> |
|
27 |
<tr> |
|
28 |
<th>[% 'Database name' | $T8 %]:</th> |
|
29 |
<td>[% HTML.escape(SELF.db_cfg.db) %]</td> |
|
30 |
</tr> |
|
33 | 31 |
</table> |
34 | 32 |
|
35 |
<p> |
|
36 |
[% 'Please enter the name of the database that will be used as the template for the new database:' | $T8 %] |
|
37 |
</p> |
|
33 |
<p>[% 'Please enter the name of the database that will be used as the template for the new database:' | $T8 %]</p> |
|
38 | 34 |
|
39 | 35 |
<p>[% 'Template database' | $T8 %]: [% L.input_tag('db_template', "template1") %]</p> |
40 | 36 |
|
41 |
<p> |
|
42 |
[% 'If the database user listed above does not have the right to create a database then enter the name and password of the superuser below:' | $T8 %] |
|
43 |
</p> |
|
44 |
|
|
45 |
<table border="0"> |
|
46 |
<tr> |
|
47 |
<td>[% 'Superuser name' | $T8 %]:</td> |
|
48 |
<td>[% L.input_tag('db_superuser', AUTH.DB_config.user, class="initial_focus") %]</td> |
|
49 |
</tr> |
|
50 |
|
|
51 |
<tr> |
|
52 |
<td>[% 'Password' | $T8 %]:</td> |
|
53 |
<td>[% L.input_tag('db_superuser_password', AUTH.DB_config.password, type='password') %]</td> |
|
54 |
</tr> |
|
37 |
<p>[% 'If the database user listed above does not have the right to create a database then enter the name and password of the superuser below:' | $T8 %]</p> |
|
38 |
|
|
39 |
<table class="tbl-horizontal"> |
|
40 |
<tr> |
|
41 |
<th>[% 'Superuser name' | $T8 %]:</th> |
|
42 |
<td>[% L.input_tag('db_superuser', AUTH.DB_config.user, class="initial_focus") %]</td> |
|
43 |
</tr> |
|
44 |
<tr> |
|
45 |
<th>[% 'Password' | $T8 %]:</th> |
|
46 |
<td>[% L.input_tag('db_superuser_password', AUTH.DB_config.password, type='password') %]</td> |
|
47 |
</tr> |
|
55 | 48 |
</table> |
56 | 49 |
|
57 | 50 |
[% L.submit_tag("dummy", LxERP.t8("Create Dataset")) %] |
58 | 51 |
[% L.button_tag("history.back()", LxERP.t8("Back")) %] |
59 |
</form> |
|
52 |
</form> |
|
53 |
|
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/admin/check_auth_database.html