Scott Baker | 62faabc | 2014-07-13 10:37:26 -0700 | [diff] [blame] | 1 | <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 Baker | 7ee32a0 | 2014-07-13 09:52:15 -0700 | [diff] [blame] | 6 | |
Scott Baker | 62faabc | 2014-07-13 10:37:26 -0700 | [diff] [blame] | 7 | <script src="{{ STATIC_URL }}/js/xoslib/xos-backbone.js"></script> |
Scott Baker | 7ee32a0 | 2014-07-13 09:52:15 -0700 | [diff] [blame] | 8 | <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 Baker | b6e1066 | 2014-07-14 11:15:45 -0700 | [diff] [blame^] | 16 | <th>Slice <span class="sort" id="sort-asc-name">▲</span><span class="sort" id="sort-desc-name">▼</span></th>
|
| 17 | <th>Privilege<span class="sort" id="sort-asc-sliceInfo.roles">▲</span><span class="sort" id="sort-desc-sliceInfo.roles">▼</span></th>
|
| 18 | <th>Number of Slivers<span class="sort" id="sort-asc-sliceInfo.sliverCount">▲</span><span class="sort" id="sort-desc-sliceInfo.sliverCount">▼</span></th>
|
| 19 | <th>Number of Sites<span class="sort" id="sort-asc-sliceInfo.siteCount">▲</span><span class="sort" id="sort-desc-sliceInfo.siteCount">▼</span></th>
|
Scott Baker | 7ee32a0 | 2014-07-13 09:52:15 -0700 | [diff] [blame] | 20 | </tr>
|
| 21 | </thead>
|
| 22 | <tbody>
|
| 23 | </tbody>
|
| 24 | </script> |
| 25 | |
| 26 | <script type="text/template" id="developer-slicedetail-template"> |
Scott Baker | b6e1066 | 2014-07-14 11:15:45 -0700 | [diff] [blame^] | 27 | <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 Baker | 7ee32a0 | 2014-07-13 09:52:15 -0700 | [diff] [blame] | 29 | |