Admin view renamed to Users view
[myslice.git] / portal / templates / usersview.html
1 {# fine for either layout-unfold1.html (logged in) or layout-unfold2.html (needs a login prompt) #}
2 {% extends layout_1_or_2 %}
3
4 {% block unfold_margin %}
5 {% include 'widget-login.html' %}
6 {% endblock unfold_margin %}
7
8 {% block head %}
9 <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/dashboard.css" />
10 {% endblock %}
11
12 {% block unfold_main %}
13
14 <h1>MySlice Users</h1>
15 <div id="middle" align="center">
16     <div class="well">
17         <table class="mytable table table-bordered table-hover">
18             <tr class="odd">
19                 <th>Email</th>
20                                 <th>Authority</th>
21                 <th>Status</th>
22             </tr>
23             {% for user in user_list %}
24             <tr class="border_bottom">
25                 <td class="odd">
26                                         <a href="/portal/user/{{user.email}}"><span class="glyphicon glyphicon-search"></span></a>      
27                                         {{ user.email }} 
28                                 </td>
29                                 <td class="odd"> {{ user.authority }} </td>
30                                 <td class="even"> {{ user.status }} </td>
31             </tr>
32             {%endfor%}
33         </table>
34     </div>
35 </div>
36 </div>
37
38 {% endblock %}