blob: dd4076bb5eb3358bfce699faeb2d9666b3808a9d [file] [log] [blame]
Scott Baker62faabc2014-07-13 10:37:26 -07001<script src="{{ STATIC_URL }}/js/vendor/underscore-min.js"></script>
2<script src="{{ STATIC_URL }}/js/vendor/backbone.js"></script>
3<script src="{{ STATIC_URL }}/js/vendor/backbone.wreqr.js"></script>
4<script src="{{ STATIC_URL }}/js/vendor/backbone.babysitter.js"></script>
5<script src="{{ STATIC_URL }}/js/vendor/backbone.marionette.js"></script>
Scott Baker7ee32a02014-07-13 09:52:15 -07006
Scott Baker62faabc2014-07-13 10:37:26 -07007<script src="{{ STATIC_URL }}/js/xoslib/xos-backbone.js"></script>
Scott Baker7ee32a02014-07-13 09:52:15 -07008<script src="{{ STATIC_URL }}/js/xosDeveloper.js"></script>
9
10<div id="developerView">
11</div>
12
13<script type="text/template" id="developer-slicetable-template">
14 <thead>
15 <tr class='header'>
Scott Bakerb6e10662014-07-14 11:15:45 -070016 <th>Slice <span class="sort" id="sort-asc-name">&#9650;</span><span class="sort" id="sort-desc-name">&#9660;</span></th>
17 <th>Privilege<span class="sort" id="sort-asc-sliceInfo.roles">&#9650;</span><span class="sort" id="sort-desc-sliceInfo.roles">&#9660;</span></th>
18 <th>Number of Slivers<span class="sort" id="sort-asc-sliceInfo.sliverCount">&#9650;</span><span class="sort" id="sort-desc-sliceInfo.sliverCount">&#9660;</span></th>
19 <th>Number of Sites<span class="sort" id="sort-asc-sliceInfo.siteCount">&#9650;</span><span class="sort" id="sort-desc-sliceInfo.siteCount">&#9660;</span></th>
Scott Baker7ee32a02014-07-13 09:52:15 -070020 </tr>
21 </thead>
22 <tbody>
23 </tbody>
24</script>
25
26<script type="text/template" id="developer-slicedetail-template">
Scott Bakerb6e10662014-07-14 11:15:45 -070027 <td><a href="http://{{request.get_host}}/admin/core/slice/<%= id %>/"><%= name %></a></td><td><%= sliceInfo.roles[0] %></td><td><%= sliceInfo.sliverCount %></td><td><%= sliceInfo.siteCount %></td>
28</script>
Scott Baker7ee32a02014-07-13 09:52:15 -070029