Modal box style fix
[astakos] / snf-astakos-app / astakos / im / templates / im / profile_auth_methods.html
1 <div class="auth_methods">
2     <h2>ENABLED AUTHENTICATION METHODS</h2>
3     <ul>
4         {% for provider in user_providers %}
5         <li>
6             <a href="#">{{ provider.title_display }}</a>
7             <div class="wrap">
8                 <p>{{ provider.details_display }}</p>
9                 <div class="actions">
10
11                       {% for name, url in provider.settings.extra_actions %}
12                       <a href="{{ url }}" title="{{ name }}">{{ name }}</a>
13                       {% endfor %}
14                       {% if provider.can_remove %}
15                           <div class="dialog-wrap">
16                             <a href="#" title="disable" class="red">Disable x</a>
17                             <div class="dialog">
18                               Are you sure you want to disable this method?<br />
19                               <a href="{% url remove_auth_provider provider.pk %}" 
20                                 class="yes submit">Yes</a>&nbsp;&nbsp;&nbsp;<a href="#" class="no submit">No</a>
21                             </div>      
22                           </div>
23                             
24                       {% endif %}
25                 </div>
26             </div>
27         </li>
28         {% empty %}
29         <li>No available authentication methods</li>
30         {% endfor %}
31         
32     </ul>
33     <ul class="notassigned">
34         <li>
35             <a href="#">+ Add new authentication method</a>
36             
37             <div class="wrap">
38                 {% for provider in user_available_providers %}
39                 <p><a href="{{ provider.add_url }}">
40                   {{ provider.get_title_display }}</a><br />
41                 <span class="description">
42                   {{ provider.get_description_display }}
43                 </span>
44                   </p>
45                 {% empty %}
46                 No available providers 
47                 {% endfor %}    
48             </div>
49             
50         </li>
51     </ul>
52     
53 </div>
54