AdminView: user management view created
[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>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>Status</th>
21             </tr>
22             {% for user in user_list %}
23             <tr class="border_bottom">
24                 <td class="odd"> {{ user.email }} </td>
25                                 <td class="even"> {{ user.status }} </td>
26
27             </tr>
28             {%endfor%}
29         </table>
30     </div>
31 </div>
32 </div>
33
34 {% endblock %}