1 {% extends 'local_base.html'%}
5 <p>Choose how to login. Or move on to <a href="admin">admin</a>.</p>
11 <h4>Local account</h4>
12 <form action="{% url pithos.im.target.local.login %}" method="post" class="form-stacked">
14 <div class="clearfix">
15 <label for="username">Username:</label>
17 <input class="span3" id="user-username" name="username" type="text" />
20 <div class="clearfix">
21 <label for="password">Password:</label>
23 <input class="span3" id="user-password" name="password" type="password" />
28 <a href="{% url pithos.im.views.local_create %}">Sign up</a>
31 <a href="{% url pithos.im.views.reclaim_password %}">Forgot your password?</a>
35 <input type="hidden" name="next" value="{{ next }}">
36 <button type="submit" class="btn primary">Go</button>
42 <form action="{% url pithos.im.target.invitation.login %}" class="form-stacked">
44 <div class="clearfix">
45 <label for="code">Code:</label>
47 <input class="span3" id="user-code" name="code" type="text" />
52 <input type="hidden" name="next" value="{{ next }}">
53 <button type="submit" class="btn primary">Go</button>
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>