Revision c08d0b66 pithos/im/templates/index.html
b/pithos/im/templates/index.html | ||
---|---|---|
7 | 7 |
|
8 | 8 |
{% block body%} |
9 | 9 |
<div class="row"> |
10 |
{% if "local" in standard_modules %}
|
|
10 |
{% if "local" in standard_modules %} |
|
11 | 11 |
<div class="span4"> |
12 | 12 |
<h4>Local account</h4> |
13 | 13 |
<form action="{% url pithos.im.target.local.login %}" method="post" class="form-stacked"> |
... | ... | |
38 | 38 |
</div> |
39 | 39 |
</form> |
40 | 40 |
</div> |
41 |
{% endif %} |
|
42 |
{% if "invitation" in standard_modules %} |
|
41 |
{% endif %}
|
|
42 |
{% if "invitation" in standard_modules %}
|
|
43 | 43 |
<div class="span4"> |
44 | 44 |
<h4>Invitation</h4> |
45 | 45 |
<form action="{% url pithos.im.target.invitation.login %}" class="form-stacked"> |
... | ... | |
57 | 57 |
</div> |
58 | 58 |
</form> |
59 | 59 |
</div> |
60 |
{% endif %} |
|
61 |
{% if other_modules %} |
|
60 |
{% endif %}
|
|
61 |
{% if other_modules %}
|
|
62 | 62 |
<div class="span8"> |
63 | 63 |
<h4>Other provider</h4> |
64 | 64 |
{% for o in other_modules %} |
65 | 65 |
<a href="/im/login/{{ o }}{% ifnotequal next "" %}?next={{ next|urlencode }}{% endifnotequal %}" alt="{{ o|title }}"><img src="/im/static/{{ o }}.png" width="120" height="120"></a> |
66 | 66 |
{% endfor %} |
67 | 67 |
</div> |
68 |
{% endif %} |
|
68 |
{% endif %}
|
|
69 | 69 |
</div> |
70 | 70 |
{% endblock body%} |
Also available in: Unified diff