AdminView: List user_email, authority, status
[myslice.git] / portal / templates / adminview.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"> {{ user.email }} </td>
26                                 <td class="odd"> {{ user.authority }} </td>
27                                 <td class="even"> {{ user.status }} </td>
28
29             </tr>
30             {%endfor%}
31         </table>
32     </div>
33 </div>
34 </div>
35
36 {% endblock %}