Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e8278141

Von Sven Schöling vor mehr als 3 Jahren hinzugefügt

  • ID e8278141e05ae63eb093cf31b6f3aa4ca5dccd7a
  • Vorgänger 33f22a47
  • Nachfolger 76a443dc

mobile: login screen auf komponenten umgeschrieben

Unterschiede anzeigen:

templates/mobile_webpages/login_screen/user_login.html
1 1
[%- USE T8 %]
2
[%- USE P %]
2 3
[%- USE HTML %][%- USE L -%][%- USE LxERP -%]
3 4

  
4 5
<center>
......
28 29

  
29 30
    <form method="post" name="loginscreen" action="controller.pl" target="_top" class="col s12">
30 31
      <div class="row">
31
        <div class="input-field col s12">
32
          [% L.input_tag('{AUTH}login', FORM.$auth_login, id='auth_login', class='initial_focus validate', label=LxERP.t8('Login Name')) %]
33
          <label for='auth_login'>[% 'Login Name' | $T8 %]</label>
34
        </div>
32
       [% P.M.input_tag('{AUTH}login', FORM.$auth_login, id='auth_login', class='initial_focus validate col s12', label=LxERP.t8('Login Name')) %]
35 33
      </div>
36 34
      <div class="row">
37
        <div class="input-field col s12">
38
          [% L.input_tag('{AUTH}password', '', type='password', id='auth_password', class='validate', label=LxERP.t8('Password')) %]
39
          <label for='auth_password'>[% 'Password' | $T8 %]</label>
40
        </div>
35
        [% P.M.input_tag('{AUTH}password', '', type='password', id='auth_password', class='validate col s12', label=LxERP.t8('Password')) %]
41 36
      </div>
42 37
      <div class="row">
43
        <div class="input-field col s12">
44
          [% L.select_tag('{AUTH}client_id', SELF.clients, id='auth_client_id', title_key='name', default=SELF.default_client_id) %]
45
          <label for='auth_client_id'>[% 'Client' | $T8 %]</label>
46
        </div>
38
        [% P.M.select_tag('{AUTH}client_id', SELF.clients, id='auth_client_id', class='col s12', title_key='name', default=SELF.default_client_id) %]
47 39
      </div>
48 40

  
49

  
50 41
      <div class="row">
51 42
        [% L.hidden_tag("action", "LoginScreen/login") %]
52
        <button type='submit' name='btn_login' class='col s12 btn btn-large waves-effect'>Login</button>
43
        [% P.M.submit_tag("btn_login", "Login", class="col s12", large=1) %]
53 44
      </div>
54 45
    </form>
55 46

  

Auch abrufbar als: Unified diff