blob: 707ee968bb11c90e969ba7b531cce106d11fca10 [file] [log] [blame]
Siobhan Tullycf04fb62014-01-11 11:25:57 -05001{% extends "admin/base.html" %}
2{% load admin_static %}
3
Siobhan Tully90040c22014-01-13 23:47:24 -05004{% block content %}
5<h1>Welcome <a href="core/user/{{user.id}}">{{user.email}}</a> from Site: <a href="core/site/{{site.id}}">{{site}}</a></h1>
6<table class="table table-striped table-bordered table-hover table-condensed">
7<thead><tr>
8<th class="sortable">Slices</th><th class="sortable">Privilege</th>
9<th class="sortable">Reservations</th>
10</tr></thead>
11{% for entry in userSliceInfo %}
12<tr><td> <a href="core/slice/{{entry.slice.id}}">{{entry.slice.name}}</a><br>
13</td><td>{{entry.role}}</td>
14{% if entry.reservations %}
15<td><a href="core/slice/{{entry.slice.id}}/#reservations">
16{% for resSlot in entry.reservations.1 %}
17{{resSlot}} <br>
18{% endfor %}
19</a></td></tr>
20{% else %}
21<td></td></tr>
22{% endif %}
23{% endfor %}
24</table>
25{% endblock %}