blob: 95d13837510e1f462e6cf830e0ae4e0e3a01e0dd [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 Baker79a095e2014-11-11 17:35:39 -08007<script src="{{ STATIC_URL }}/js/xoslib/xos-defaults.js"></script>
Scott Baker62faabc2014-07-13 10:37:26 -07008<script src="{{ STATIC_URL }}/js/xoslib/xos-backbone.js"></script>
Scott Baker7ee32a02014-07-13 09:52:15 -07009<script src="{{ STATIC_URL }}/js/xosDeveloper.js"></script>
10
Scott Baker5dfd5022014-07-14 11:40:59 -070011<link rel="stylesheet" type="text/css" href="{% static 'css/xosDeveloper.css' %}" media="all">
12
Scott Baker7ee32a02014-07-13 09:52:15 -070013<div id="developerView">
14</div>
15
16<script type="text/template" id="developer-slicetable-template">
17 <thead>
Scott Baker5dfd5022014-07-14 11:40:59 -070018 <tr class="developer-header">
Scott Bakerb6e10662014-07-14 11:15:45 -070019 <th>Slice <span class="sort" id="sort-asc-name">&#9650;</span><span class="sort" id="sort-desc-name">&#9660;</span></th>
20 <th>Privilege<span class="sort" id="sort-asc-sliceInfo.roles">&#9650;</span><span class="sort" id="sort-desc-sliceInfo.roles">&#9660;</span></th>
21 <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>
22 <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 -070023 </tr>
24 </thead>
25 <tbody>
26 </tbody>
27</script>
28
29<script type="text/template" id="developer-slicedetail-template">
Scott Bakerb6e10662014-07-14 11:15:45 -070030 <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>
31</script>
Scott Baker7ee32a02014-07-13 09:52:15 -070032