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 | 4b8747d | 2014-11-11 17:35:39 -0800 | [diff] [blame^] | 7 | <script src="{{ STATIC_URL }}/js/xoslib/xos-defaults.js"></script> |
Scott Baker | 62faabc | 2014-07-13 10:37:26 -0700 | [diff] [blame] | 8 | <script src="{{ STATIC_URL }}/js/xoslib/xos-backbone.js"></script> |
Scott Baker | 7ee32a0 | 2014-07-13 09:52:15 -0700 | [diff] [blame] | 9 | <script src="{{ STATIC_URL }}/js/xosDeveloper.js"></script> |
| 10 | |
Scott Baker | 5dfd502 | 2014-07-14 11:40:59 -0700 | [diff] [blame] | 11 | <link rel="stylesheet" type="text/css" href="{% static 'css/xosDeveloper.css' %}" media="all"> |
| 12 | |
Scott Baker | 7ee32a0 | 2014-07-13 09:52:15 -0700 | [diff] [blame] | 13 | <div id="developerView"> |
| 14 | </div> |
| 15 | |
| 16 | <script type="text/template" id="developer-slicetable-template"> |
| 17 | <thead>
|
Scott Baker | 5dfd502 | 2014-07-14 11:40:59 -0700 | [diff] [blame] | 18 | <tr class="developer-header">
|
Scott Baker | b6e1066 | 2014-07-14 11:15:45 -0700 | [diff] [blame] | 19 | <th>Slice <span class="sort" id="sort-asc-name">▲</span><span class="sort" id="sort-desc-name">▼</span></th>
|
| 20 | <th>Privilege<span class="sort" id="sort-asc-sliceInfo.roles">▲</span><span class="sort" id="sort-desc-sliceInfo.roles">▼</span></th>
|
| 21 | <th>Number of Slivers<span class="sort" id="sort-asc-sliceInfo.sliverCount">▲</span><span class="sort" id="sort-desc-sliceInfo.sliverCount">▼</span></th>
|
| 22 | <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] | 23 | </tr>
|
| 24 | </thead>
|
| 25 | <tbody>
|
| 26 | </tbody>
|
| 27 | </script> |
| 28 | |
| 29 | <script type="text/template" id="developer-slicedetail-template"> |
Scott Baker | b6e1066 | 2014-07-14 11:15:45 -0700 | [diff] [blame] | 30 | <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 Baker | 7ee32a0 | 2014-07-13 09:52:15 -0700 | [diff] [blame] | 32 | |