root / pithos / im / templates / index.html @ bee5ffa6
History | View | Annotate | Download (2.4 kB)
1 |
{% extends 'local_base.html'%} |
---|---|
2 |
|
3 |
{% block title%} |
4 |
<h2>Welcome</h2> |
5 |
<p>Choose how to login. Or move on to <a href="admin">admin</a>.</p> |
6 |
{% endblock title%} |
7 |
|
8 |
{% block body%} |
9 |
<div class="row"> |
10 |
<div class="span4"> |
11 |
<h4>Local account</h4> |
12 |
<form action="{% url pithos.im.target.local.login %}" method="post" class="form-stacked"> |
13 |
<fieldset>
|
14 |
<div class="clearfix"> |
15 |
<label for="username">Username:</label> |
16 |
<div class="input"> |
17 |
<input class="span3" id="user-username" name="username" type="text" /> |
18 |
</div>
|
19 |
</div>
|
20 |
<div class="clearfix"> |
21 |
<label for="password">Password:</label> |
22 |
<div class="input"> |
23 |
<input class="span3" id="user-password" name="password" type="password" /> |
24 |
</div>
|
25 |
</div>
|
26 |
</fieldset>
|
27 |
<div>
|
28 |
<a href="{% url pithos.im.views.local_create %}">Sign up</a> |
29 |
</div>
|
30 |
<div>
|
31 |
<a href="{% url pithos.im.views.reclaim_password %}">Forgot your password?</a> |
32 |
</div>
|
33 |
<br>
|
34 |
<div class=""> |
35 |
<input type="hidden" name="next" value="{{ next }}"> |
36 |
<button type="submit" class="btn primary">Go</button> |
37 |
</div>
|
38 |
</form>
|
39 |
</div>
|
40 |
<div class="span4"> |
41 |
<h4>Invitation</h4> |
42 |
<form action="{% url pithos.im.target.invitation.login %}" class="form-stacked"> |
43 |
<fieldset>
|
44 |
<div class="clearfix"> |
45 |
<label for="code">Code:</label> |
46 |
<div class="input"> |
47 |
<input class="span3" id="user-code" name="code" type="text" /> |
48 |
</div>
|
49 |
</div>
|
50 |
</fieldset>
|
51 |
<div class=""> |
52 |
<input type="hidden" name="next" value="{{ next }}"> |
53 |
<button type="submit" class="btn primary">Go</button> |
54 |
</div>
|
55 |
</form>
|
56 |
</div>
|
57 |
<div class="span8"> |
58 |
<h4>Other provider</h4> |
59 |
<a href="{% url pithos.im.target.shibboleth.login %}{% ifnotequal next "" %}?next={{ next|urlencode }}{% endifnotequal %}" alt="Shibboleth"><img src="/im/static/shibboleth.png" width="120" height="120"></a> |
60 |
<a href="{% url pithos.im.target.twitter.login %}{% ifnotequal next "" %}?next={{ next|urlencode }}{% endifnotequal %}" alt="Twitter"><img src="/im/static/twitter.png" width="120" height="120"></a> |
61 |
</div>
|
62 |
</div>
|
63 |
{% endblock body%} |