| <script src="{{ STATIC_URL }}/js/vendor/underscore-min.js"></script> |
| <script src="{{ STATIC_URL }}/js/vendor/backbone.js"></script> |
| <script src="{{ STATIC_URL }}/js/vendor/backbone.wreqr.js"></script> |
| <script src="{{ STATIC_URL }}/js/vendor/backbone.babysitter.js"></script> |
| <script src="{{ STATIC_URL }}/js/vendor/backbone.marionette.js"></script> |
| |
| <script src="{{ STATIC_URL }}/js/xoslib/xos-defaults.js"></script> |
| <script src="{{ STATIC_URL }}/js/xoslib/xos-backbone.js"></script> |
| <script src="{{ STATIC_URL }}/js/xosDeveloper.js"></script> |
| |
| <link rel="stylesheet" type="text/css" href="{% static 'css/xosDeveloper.css' %}" media="all"> |
| |
| <div id="developerView"> |
| </div> |
| |
| <script type="text/template" id="developer-slicetable-template"> |
| <thead>
|
| <tr class="developer-header">
|
| <th>Slice <span class="sort" id="sort-asc-name">▲</span><span class="sort" id="sort-desc-name">▼</span></th>
|
| <th>Privilege<span class="sort" id="sort-asc-sliceInfo.roles">▲</span><span class="sort" id="sort-desc-sliceInfo.roles">▼</span></th>
|
| <th>Number of Instances<span class="sort" id="sort-asc-sliceInfo.instanceCount">▲</span><span class="sort" id="sort-desc-sliceInfo.instanceCount">▼</span></th>
|
| <th>Number of Sites<span class="sort" id="sort-asc-sliceInfo.siteCount">▲</span><span class="sort" id="sort-desc-sliceInfo.siteCount">▼</span></th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| </tbody>
|
| </script> |
| |
| <script type="text/template" id="developer-slicedetail-template"> |
| <td><a href="http://{{request.get_host}}/admin/core/slice/<%= id %>/"><%= name %></a></td><td><%= sliceInfo.roles[0] %></td><td><%= sliceInfo.instanceCount %></td><td><%= sliceInfo.siteCount %></td>
|
| </script>
|
| |