root / snf-astakos-app / astakos / im / templates / im / profile.html @ 4c32678b
History | View | Annotate | Download (2.3 kB)
1 |
{% extends "im/account_base.html" %} |
---|---|
2 |
|
3 |
{% block body %} |
4 |
|
5 |
<form action={%url edit_profile %} method="post" class="withlabels">{% csrf_token %} |
6 |
|
7 |
{% with profile_form as form %} |
8 |
{% include "im/form_render.html" %} |
9 |
{% endwith %} |
10 |
|
11 |
<div class="form-row submit"> |
12 |
<input type="hidden" name="next" value="{{ next }}"> |
13 |
<input type="hidden" name="auth" value="{{ user.auth_token }}"> |
14 |
<input type="submit" class="submit altcol" value="UPDATE" /> |
15 |
</div>
|
16 |
|
17 |
<div class="auth_methods"> |
18 |
<br /><br /> |
19 |
<div class="assigned"> |
20 |
<h4>Authentication methods</h4> |
21 |
<p>You can login to your account using the following methods</p> |
22 |
<ul class="auth_providers"> |
23 |
{% for provider in user_providers %} |
24 |
<li>
|
25 |
<h2>
|
26 |
{{ provider.settings.title }} |
27 |
<span class="actions" style="margin-left: 40px"> |
28 |
{% for name, url in provider.settings.extra_actions %} |
29 |
<a href="{{ url }}" title="{{ name }}">{{ name }}</a> |
30 |
{% endfor %} |
31 |
{% if provider.can_remove %} |
32 |
<a href="{% url remove_auth_provider provider.pk %}" title="disble">Remove</a> |
33 |
{% endif %} |
34 |
</span>
|
35 |
</h2>
|
36 |
<p>{{ provider.details_display }}</p> |
37 |
<br /> |
38 |
</li>
|
39 |
{% empty %} |
40 |
<li>No available authentication methods</li> |
41 |
{% endfor %} |
42 |
</ul>
|
43 |
</div>
|
44 |
<div class="notassigned"> |
45 |
<p>You can add the following authentication methods to your account </p> |
46 |
<ul class="auth_providers"> |
47 |
{% for provider in user_available_providers %} |
48 |
<li>
|
49 |
<h2><a href="{{ provider.add_url }}">{{ provider.title }}</a></h2> |
50 |
<p>{{ provider.add_description }}</p> |
51 |
<br /> |
52 |
</li>
|
53 |
{% empty %} |
54 |
No available providers. |
55 |
{% endfor %} |
56 |
</ul>
|
57 |
</div>
|
58 |
</div>
|
59 |
|
60 |
</form>
|
61 |
|
62 |
<div class="two-cols-links"> |
63 |
<p></p> |
64 |
<p>
|
65 |
<a href="https://okeanos.grnet.gr/home/">Back to ~okeanos</a> |
66 |
<a href="https://cyclades.okeanos.grnet.gr/ui/">Take me to cyclades</a> |
67 |
<a href="https://pithos.okeanos.grnet.gr/ui/">Take me to pithos+</a> |
68 |
</p>
|
69 |
</div>
|
70 |
{% endblock body %} |