blob: 58f2d088aa6e82c7b743815cb66b2e4f75773e2a [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
Scott Baker5dfd5022014-07-14 11:40:59 -070010<link rel="stylesheet" type="text/css" href="{% static 'css/xosDeveloper.css' %}" media="all">
11
Scott Baker7ee32a02014-07-13 09:52:15 -070012<div id="developerView">
13</div>
14
15<script type="text/template" id="developer-slicetable-template">
16 <thead>
Scott Baker5dfd5022014-07-14 11:40:59 -070017 <tr class="developer-header">
Scott Bakerb6e10662014-07-14 11:15:45 -070018 <th>Slice <span class="sort" id="sort-asc-name">&#9650;</span><span class="sort" id="sort-desc-name">&#9660;</span></th>
19 <th>Privilege<span class="sort" id="sort-asc-sliceInfo.roles">&#9650;</span><span class="sort" id="sort-desc-sliceInfo.roles">&#9660;</span></th>
20 <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>
21 <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 -070022 </tr>
23 </thead>
24 <tbody>
25 </tbody>
26</script>
27
28<script type="text/template" id="developer-slicedetail-template">
Scott Bakerb6e10662014-07-14 11:15:45 -070029 <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>
30</script>
Scott Baker7ee32a02014-07-13 09:52:15 -070031