user.html 957 Bytes
Newer Older
Marc Duez's avatar
Marc Duez committed
1 2
{{extend 'db_layout.html'}}

3 4 5
<h2>{{=T( request.args(0).replace('_',' ').capitalize() )}}</h2>

<div>
6
{{form['_id'] ="login_form"}}
7
    
8
{{=form}}
9
    
10
{{if request.args(0)=='login':}}
11
    
12
    {{if not 'register' in auth.settings.actions_disabled:}}
13
        {{#<button class="btn" onclick="db.call('default/user/register')">Register</button>}}
14
    {{pass}}
15
    
16
    {{if not 'request_reset_password' in auth.settings.actions_disabled:}}
17
        {{#<button class="btn" onclick="db.call('default/user/request_reset_password')">Lost Password</button>}}
18
    {{pass}}
19 20 21 22 23 24 25 26 27
 
<p>&nbsp;</p>   

<p>
demo login: <i>demo@vidjil.org</i>
<br />password: <i>demo</i>
</p>

<p>
28
  You can <a href="mailto:contact@vidjil.org?Subject=%5BVidjil%5D%20Account%20on%20rbx.vidjil.org&Body=%0ADear%20Vidjil%20Team%2C%0A%0AI%20would%20like%20to%20have%20an%20account%20on%20the%20Vidjil%20server.%0A%0A">request an account</a> on this server to test your data. 
29 30
</p>

31 32
{{pass}}

33
</div>