main
Last change
on this file was
42bd667,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Historial Limpio
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | {{extend 'layout.html'}} |
---|
2 | <link href="{{=URL('static', 'css/showPCs.css')}}" rel="stylesheet" type="text/css" /> |
---|
3 | |
---|
4 | <div class="row"> |
---|
5 | <div id="web2py_user_form" class="col-lg-6" style="background-color:#ededed; margin: 50px auto 5px auto; box-shadow: 0 0 5px #a1a1a1; border-radius:5px;padding: 20px"> |
---|
6 | <h2> |
---|
7 | {{=T('Sign Up') if request.args(0) == 'register' else T('Log In') if request.args(0) == 'login' else T(request.args(0).replace('_',' ').title())}} |
---|
8 | </h2> |
---|
9 | {{=form}} |
---|
10 | {{if request.args(0)=='login' and not 'register' in auth.settings.actions_disabled:}} |
---|
11 | <a href="{{=URL('user/register')}}">{{=T('Register')}}</a> |
---|
12 | <br/> |
---|
13 | {{pass}} |
---|
14 | {{if request.args(0)=='login' and not 'retrieve_password' in auth.settings.actions_disabled:}} |
---|
15 | <a href="{{=URL('user/retrieve_password')}}">{{=T('Lost your password?')}}</a> |
---|
16 | {{pass}} |
---|
17 | {{if request.args(0)=='register':}} |
---|
18 | <a href="{{=URL('user/login')}}">{{=T('Login')}}</a> |
---|
19 | {{pass}} |
---|
20 | </div> |
---|
21 | </div> |
---|
22 | |
---|
23 | {{block page_js}} |
---|
24 | <script> |
---|
25 | jQuery("#web2py_user_form input:visible:enabled:first").focus(); |
---|
26 | {{if request.args(0)=='register':}} |
---|
27 | web2py_validate_entropy(jQuery('#auth_user_password'),100); |
---|
28 | {{elif request.args(0)=='change_password':}} |
---|
29 | web2py_validate_entropy(jQuery('#no_table_new_password'),100); |
---|
30 | {{pass}} |
---|
31 | </script> |
---|
32 | {{end page_js}} |
---|
Note: See
TracBrowser
for help on using the repository browser.