blob: 16e60f0ea8ec71fa5ffbf0a45c3399c0ed4a1cbd [file] [log] [blame]
Scott Baker342d9b92015-01-11 13:44:30 -08001<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.syphon.js"></script>
4<script src="{{ STATIC_URL }}/js/vendor/backbone.wreqr.js"></script>
5<script src="{{ STATIC_URL }}/js/vendor/backbone.babysitter.js"></script>
6<script src="{{ STATIC_URL }}/js/vendor/backbone.marionette.js"></script>
7
8<link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
9<link rel="stylesheet" type="text/css" href="{% static 'css/xosAdminDashboard.css' %}" media="all" >
10<link rel="stylesheet" type="text/css" href="{% static 'css/xosAdminSite.css' %}" media="all" >
11
12<script src="{{ STATIC_URL }}/js/xoslib/xos-util.js"></script>
13<script src="{{ STATIC_URL }}/js/xoslib/xos-defaults.js"></script>
14<script src="{{ STATIC_URL }}/js/xoslib/xos-validators.js"></script>
15<script src="{{ STATIC_URL }}/js/xoslib/xos-backbone.js"></script>
16<script src="{{ STATIC_URL }}/js/xoslib/xosHelper.js"></script>
Scott Baker97acad92015-01-12 19:45:40 -080017<script src="{{ STATIC_URL }}/js/picker.js"></script>
Scott Baker342d9b92015-01-11 13:44:30 -080018<script src="{{ STATIC_URL }}/js/xosTenant.js"></script>
19
20<script type="text/template" id="xos-tenant-buttons-template">
21 <div class="box save-box">
22 <button class="btn btn-high btn-tenant-create">Create New Slice</button>
23 <button class="btn btn-high btn-tenant-delete">Delete Slice</button>
Scott Baker97acad92015-01-12 19:45:40 -080024 <button class="btn btn-high btn-tenant-add-user">Edit Users</button>
Scott Baker342d9b92015-01-11 13:44:30 -080025 <button class="btn btn-high btn-tenant-save">Save</button>
26 </div>
27</script>
28
29<script type="text/template" id="xos-log-template">
30 <tr id="<%= logMessageId %>" class="xos-log xos-<%= statusclass %>">
31 <td><%= what %><br>
32 <%= status %> <%= statusText %>
33 </td>
34 </tr>
35</script>
36
Scott Baker97acad92015-01-12 19:45:40 -080037<script type="text/template" id="tenant-edit-users">
38 <%= xosPickerTemplate({pickedItems: model.attributes.users,
39 unpickedItems: array_diff(xos.tenant().current_user_site_users, model.attributes.users),
40 id: "users",
41 fieldName: "users",
42 detailView: detailView,
43 lookupFunc: function(x) { return array_pair_lookup(x, xos.tenant().current_user_site_user_names, xos.tenant().current_user_site_users); },
44 } ) %>
45</script>
46
Scott Baker342d9b92015-01-11 13:44:30 -080047<div id="xos-confirm-dialog" title="Confirmation Required">
48 Are you sure about this?
49</div>
50
Scott Bakercd07a592015-01-12 12:37:38 -080051<div id="tenant-addslice-dialog" title="Add Child">
52<div id="tenant-addslice-interior"></div>
Scott Baker97acad92015-01-12 19:45:40 -080053</div>
54
55<div id="tenant-edit-users-dialog" title="Add Child">
56<div id="tenant-edit-users-interior"></div>
57</div>
Scott Bakercd07a592015-01-12 12:37:38 -080058
Scott Baker342d9b92015-01-11 13:44:30 -080059<div id="xos-error-dialog" title="Error Message">
60</div>
61
62<div id="contentPanel">
63<div id="contentTitle">
64</div>
65<div id="contentButtonPanel">
66
67<div id="rightButtonPanel"></div>
68
69<div class="box" id="logPanel">
70<table id="logTable">
71<tbody>
72</tbody>
73</table> <!-- end logTable -->
74</div> <!-- end logPanel -->
75</div> <!-- end contentButtonPanel -->
76
77<div id="contentInner">
78
79<div id="tenantSliceSelector">
80</div>
81<div id="tenantSummary">
82</div>
83<div id="tenantSiteList">
84</div>
85<div id="tenantButtons">
86</div>
87
88</div> <!-- end contentInner -->
89</div> <!-- end contentPanel -->
90
91{% include 'xosAdmin.html' %}