Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e6a735e8

Von Hans Peter Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID e6a735e8113430887451e7abf935e6dba2329357
  • Vorgänger 1a81805b
  • Nachfolger c1bf8f4f

Neues kivitendo Design Aenderungen in templates/webpages/l*

Dateien letter/* liquidity_projection/* login/* login_screen/*

Unterschiede anzeigen:

templates/webpages/login_screen/user_login.html
1
[%- USE T8 %]
2
[%- USE HTML %][%- USE L -%][%- USE LxERP -%]
3
[%- SET auth_client = '{AUTH}client' %]
4
[%- SET auth_login  = '{AUTH}login'  %]
5
 <center>
6
  <table class="login" border="3" cellpadding="20">
7
   <tr>
8
    <td class="login" align="center">
9
     <a href="http://www.kivitendo.de" target="_top" class="no-underlined-links"><img src="image/kivitendo.png" class='kivitendo-logo' border="0"></a>
10
     <h1>[% LxERP.t8('kivitendo v#1', version) %]</h1>
1
[% USE T8 %]
2
[% USE HTML %]
3
[% USE L %]
4
[% USE LxERP %]
5
[% SET auth_client = '{AUTH}client' %]
6
[% SET auth_login  = '{AUTH}login'  %]
7

  
8

  
9
<h1>[% LxERP.t8('kivitendo v#1', version) %]</h1>
10
<div id="login-elements">
11
<div class="logo">
12
  <a href="http://www.kivitendo.de" target="_top" class="no-underlined-links"><img src="image/kivitendo.png" class='kivitendo-logo'></a>
13
</div>
11 14

  
12 15
[% IF error %]
13
     <div class="message_error_login">[% HTML.escape(error) %]</div>
16
  <div class="message message_error">[% HTML.escape(error) %]</div>
14 17
[% END %]
15 18
[% IF warning %]
16
     <div class="message_hint">[% HTML.escape(warning) %]</div>
19
  <div class="message message_hint">[% HTML.escape(warning) %]</div>
17 20
[% END %]
18 21
[% IF info %]
19
     <div class="message_ok">[% HTML.escape(info) %]</div>
22
  <div class="message message_ok">[% HTML.escape(info) %]</div>
20 23
[% END %]
21 24

  
22
[% IF SELF.clients.size %]
23
[%- SET style="width: 250px" %]
24
      <form method="post" name="loginscreen" action="controller.pl" target="_top">
25
<div class="separate-form">
25 26

  
26
       <input type="hidden" name="show_dbupdate_warning" value="1">
27
[% IF SELF.clients.size %]
28
<form method="post" name="loginscreen" action="controller.pl" target="_top">
29
<input type="hidden" name="show_dbupdate_warning" value="1">
27 30

  
28
       <table width="100%">
29
        <tr>
30
         <td align="center">
31
          <table>
32
           <tr>
33
            <th align="right">[% 'Login Name' | $T8 %]</th>
34
            <td>[% L.input_tag('{AUTH}login', FORM.$auth_login, id='auth_login', style=style, class='initial_focus') %]</td>
35
           </tr>
36
           <tr>
37
            <th align="right">[% 'Password' | $T8 %]</th>
38
            <td>[% L.input_tag('{AUTH}password', '', type='password', style=style) %]</td>
39
           </tr>
40
           <tr>
41
            <th align="right">[% 'Client' | $T8 %]</th>
42
            <td>[% L.select_tag('{AUTH}client_id', SELF.clients, title_key='name', default=SELF.default_client_id, style=style) %]</td>
43
           </tr>
44
          </table>
31
<table class="tbl-horizontal login">
32
  <caption>[% 'User login' | $T8 %]</caption>
33
  <colgroup><col class="wi-small"><col class="wi-normal"></colgroup>
34
  <tbody>
35
    <tr>
36
      <th>[% 'Login Name' | $T8 %]</th>
37
      <td>[% L.input_tag('{AUTH}login', FORM.$auth_login, id='auth_login', class='initial_focus wi-normal') %]</td>
38
    </tr>
39
    <tr>
40
      <th>[% 'Password' | $T8 %]</th>
41
      <td>[% L.input_tag('{AUTH}password', '', type='password', class='wi-normal') %]</td>
42
    </tr>
43
    <tr>
44
      <th>[% 'Client' | $T8 %]</th>
45
      <td>[% L.select_tag('{AUTH}client_id', SELF.clients, title_key='name', default=SELF.default_client_id, class='wi-normal') %]</td>
46
    </tr>
47
    <tr>
48
      <th>&nbsp;</th>
49
      <td>
50
      <input type="hidden" name="action" value="LoginScreen/login">
51
      <input type="submit" value="[% 'Login' | $T8 %]">
52
      </td>
53
    </tr>
54
  </tbody>
55
</table>
45 56

  
46
          <br>
47
          <input type="hidden" name="action" value="LoginScreen/login">
48
          <input type="submit" value="[% 'Login' | $T8 %]">
49 57

  
50
         </td>
51
        </tr>
52
       </table>
58
</form>
59
</div><!-- /.separate-form -->
53 60

  
54
      </form>
55
[%- ELSE %]
56
      <p>
57
       [% LxERP.t8("No clients have been created yet.") %]
58
       [% LxERP.t8("Please do so in the administration area.") %]
59
      </p>
61
[% ELSE %]
62
  <p>
63
    [% LxERP.t8("No clients have been created yet.") %]
64
    [% LxERP.t8("Please do so in the administration area.") %]
65
  </p>
66
  <p><a href="controller.pl?action=Admin/login">[% LxERP.t8("Administration area") %]</a></p>
67
[% END %]
60 68

  
61
      <p>
62
       <a href="controller.pl?action=Admin/login">[% LxERP.t8("Administration area") %]</a>
63
      </p>
64
[%- END %]
69
<div>
70
  <p> <a href="controller.pl?action=Admin/login" target="_top">[% LxERP.t8('Administration area') %]</a> &nbsp;|&nbsp; <a href="doc/kivitendo-Dokumentation.pdf" target="_top">[% LxERP.t8('Documentation') %]</a> </p>
71
</div>
65 72

  
66
    </td>
67
   </tr>
68
  </table>
73
</div>
69 74

  
70
  <p>
71
   <a href="controller.pl?action=Admin/login" target="_top">[%- LxERP.t8('Administration area') %]</a>
72
   &nbsp;|&nbsp;
73
   <a href="doc/kivitendo-Dokumentation.pdf" target="_top">[%- LxERP.t8('Documentation') %]</a>
74
  </p>
75 75

  
76 76
[% IF FORM.$auth_client %]
77 77
<script type='text/javascript'>

Auch abrufbar als: Unified diff