Revision 34af475f
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
templates/webpages/admin/dbadmin.html | ||
---|---|---|
2 | 2 |
|
3 | 3 |
[% INCLUDE 'common/flash.html' %] |
4 | 4 |
|
5 |
<h1>[% HTML.escape(title) %]</h1>
|
|
5 |
<h1>[% LxERP.t8("Database login (#1)", title) %]</h1>
|
|
6 | 6 |
|
7 |
<p><a href="controller.pl?action=Admin/show">[% LxERP.t8('Back') %]</a></p>
|
|
7 |
<p>[% LxERP.t8('Here you only provide the credentials for logging into the database.') %] [% LxERP.t8('Nothing will be created or deleted at this stage!') %]</p>
|
|
8 | 8 |
|
9 | 9 |
<form method="post" action="controller.pl"> |
10 | 10 |
<table> |
11 | 11 |
<tr> |
12 | 12 |
<th align="right">[% LxERP.t8('Host') %]</th> |
13 |
<td>[% L.input_tag('dbhost', FORM.dbhost, size=30, class="initial_focus") %]</td>
|
|
13 |
<td>[% L.input_tag('dbhost', dbhost, size=30, class="initial_focus") %]</td> |
|
14 | 14 |
<th align="right">[% LxERP.t8('Port') %]</th> |
15 |
<td>[% L.input_tag('dbport', FORM.dbport, size=6) %]</td>
|
|
15 |
<td>[% L.input_tag('dbport', dbport, size=6) %]</td> |
|
16 | 16 |
</tr> |
17 | 17 |
|
18 | 18 |
<tr> |
19 | 19 |
<th align="right">[% LxERP.t8('Database User') %]</th> |
20 |
<td>[% L.input_tag("dbuser", FORM.dbuser, size=30) %]</td>
|
|
20 |
<td>[% L.input_tag("dbuser", dbuser, size=30) %]</td> |
|
21 | 21 |
<th align="right">[% LxERP.t8('Password') %]</th> |
22 |
<td>[% L.input_tag("dbpasswd", FORM.dbpasswd, type='password', size=30) %]</td>
|
|
22 |
<td>[% L.input_tag("dbpasswd", dbpasswd, type='password', size=30) %]</td> |
|
23 | 23 |
</tr> |
24 | 24 |
|
25 | 25 |
<tr> |
26 | 26 |
<th align="right">[% LxERP.t8('Database template') %]</th> |
27 |
<td>[% L.input_tag("dbdefault", FORM.dbdefault, size=30) %]</td>
|
|
27 |
<td>[% L.input_tag("dbdefault", dbdefault, size=30) %]</td> |
|
28 | 28 |
</tr> |
29 | 29 |
</table> |
30 | 30 |
|
31 |
<div> |
|
32 |
[% L.hidden_tag("action", 'Admin/dispatch') %] |
|
33 |
[% L.submit_tag('action_create_dataset', LxERP.t8('Create Dataset')) %] |
|
34 |
[% L.submit_tag('action_delete_dataset', LxERP.t8('Delete Dataset')) %] |
|
35 |
</div> |
|
36 |
</form> |
|
31 |
[% L.hidden_tag("action", 'Admin/dispatch') %] |
|
37 | 32 |
|
38 |
<p>[% LxERP.t8('This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!') %]</p> |
|
33 |
<p> |
|
34 |
[% L.submit_tag('action_' _ next_action, LxERP.t8('Login')) %] |
|
35 |
</p> |
|
36 |
</form> |
Auch abrufbar als: Unified diff
Administrationsbereich mit Menüsystem versehen