Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 58ca9076

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 58ca9076f0b605e39e5efd30489a4d066ff6c5f7
  • Vorgänger d80f175e
  • Nachfolger 2a97e655

Neues kivitendo Design Aenderungen in templates/webpages/admin/..

Unterschiede anzeigen:

templates/webpages/admin/check_auth_database.html
1
[%- USE T8 %]
2
[%- USE HTML %][%- USE L -%][%- USE LxERP -%]
3

  
4
 <h1>[% title %]</h1>
5

  
6
 <form method="post" action="controller.pl">
7
  [%- L.hidden_tag("action", 'Admin/create_auth_db') %]
8
  [%- L.hidden_tag("{AUTH}admin_password", LXCONFIG.authentication.admin_password) %]
9

  
10
  <p>
11
   [% 'The database for user management and authentication does not exist. You can create let kivitendo create it with the following parameters:' | $T8 %]
12
  </p>
13

  
14
  <table border="0">
15
   <tr>
16
    <td>[% 'Host' | $T8 %]:</td>
17
    <td>[% HTML.escape(SELF.db_cfg.host) %]</td>
18
   </tr>
19
   <tr>
20
    <td>[% 'Port' | $T8 %]:</td>
21
    <td>[% HTML.escape(SELF.db_cfg.port) %]</td>
22
   </tr>
23
   <tr>
24
    <td>[% 'User name' | $T8 %]:</td>
25
    <td>[% HTML.escape(SELF.db_cfg.user) %]</td>
26
   </tr>
27
   <tr>
28
    <td>[% 'Database name' | $T8 %]:</td>
29
    <td>[% HTML.escape(SELF.db_cfg.db) %]</td>
30
   </tr>
1
[% USE T8 %]
2
[% USE HTML %]
3
[% USE L %]
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>
31 31
  </table>
32 32

  
33
  <p>
34
   [% 'Please enter the name of the database that will be used as the template for the new database:' | $T8 %]
35
  </p>
33
  <p>[% 'Please enter the name of the database that will be used as the template for the new database:' | $T8 %]</p>
36 34

  
37 35
  <p>[% 'Template database' | $T8 %]: [% L.input_tag('db_template', "template1") %]</p>
38 36

  
39
  <p>
40
   [% '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 %]
41
  </p>
42

  
43
  <table border="0">
44
   <tr>
45
    <td>[% 'Superuser name' | $T8 %]:</td>
46
    <td>[% L.input_tag('db_superuser', AUTH.DB_config.user, class="initial_focus") %]</td>
47
   </tr>
48

  
49
   <tr>
50
    <td>[% 'Password' | $T8 %]:</td>
51
    <td>[% L.input_tag('db_superuser_password', AUTH.DB_config.password, type='password') %]</td>
52
   </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>
53 48
  </table>
54 49

  
55 50
  [% L.submit_tag("dummy", LxERP.t8("Create Dataset")) %]
56 51
  [% L.button_tag("history.back()", LxERP.t8("Back")) %]
57
 </form>
52
</form>
53

  

Auch abrufbar als: Unified diff