root / snf-astakos-app / astakos / im / templates / im / profile_bak.html @ 792c2f3b
History | View | Annotate | Download (2.4 kB)
1 |
{% extends "im/account_base.html" %} |
---|---|
2 |
|
3 |
{% block body %} |
4 |
|
5 |
<form action={%url edit_profile %} method="post" class="withlabels hidden-submit">{% 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 |
|
18 |
<div class="auth_methods"> |
19 |
<br /><br /> |
20 |
<div class="assigned"> |
21 |
<h2><a href="#">Available authentication methods</a></h2> |
22 |
<p>You can login to your account using the following methods</p> |
23 |
<ul class="auth_providers"> |
24 |
{% for provider in user_providers %} |
25 |
<li>
|
26 |
<h2>
|
27 |
{{ provider.settings.title }} |
28 |
<span class="actions" style="margin-left: 40px"> |
29 |
{% for name, url in provider.settings.extra_actions %} |
30 |
<a href="{{ url }}" title="{{ name }}">{{ name }}</a> |
31 |
{% endfor %} |
32 |
{% if provider.can_remove %} |
33 |
<a href="{% url remove_auth_provider provider.pk %}" title="disble">Remove</a> |
34 |
{% endif %} |
35 |
</span>
|
36 |
</h2>
|
37 |
<p>{{ provider.details_display }}</p> |
38 |
<br /> |
39 |
</li>
|
40 |
{% empty %} |
41 |
<li>No available authentication methods</li> |
42 |
{% endfor %} |
43 |
</ul>
|
44 |
</div>
|
45 |
<div class="notassigned"> |
46 |
<p>You can add the following authentication methods to your account </p> |
47 |
<ul class="auth_providers"> |
48 |
{% for provider in user_available_providers %} |
49 |
<li>
|
50 |
<h2><a href="{{ provider.add_url }}">{{ provider.title }}</a></h2> |
51 |
<p>{{ provider.add_description }}</p> |
52 |
<br /> |
53 |
</li>
|
54 |
{% empty %} |
55 |
No available providers. |
56 |
{% endfor %} |
57 |
</ul>
|
58 |
</div>
|
59 |
</div>
|
60 |
|
61 |
</form>
|
62 |
|
63 |
<div class="two-cols-links"> |
64 |
<p><a href="{% url password_change %}">Change Password</a></p> |
65 |
<p>
|
66 |
<a href="https://okeanos.grnet.gr/home/">Back to ~okeanos</a> |
67 |
<a href="https://cyclades.okeanos.grnet.gr/ui/">Take me to cyclades</a> |
68 |
<a href="https://pithos.okeanos.grnet.gr/ui/">Take me to pithos+</a> |
69 |
</p>
|
70 |
</div>
|
71 |
{% endblock body %} |