blob: 01b354c8f49ff7a33a847fb5336e97165785ec4a [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
Scott Bakerb52f7af2015-01-13 14:41:41 -080029<script type="text/template" id="xos-tenant-buttons-noslice-template">
30 <div class="box save-box">
31 <button class="btn btn-high btn-tenant-create">Create New Slice</button>
32 </div>
33</script>
34
Scott Baker342d9b92015-01-11 13:44:30 -080035<script type="text/template" id="xos-log-template">
36 <tr id="<%= logMessageId %>" class="xos-log xos-<%= statusclass %>">
37 <td><%= what %><br>
38 <%= status %> <%= statusText %>
39 </td>
40 </tr>
41</script>
42
Scott Baker97acad92015-01-12 19:45:40 -080043<script type="text/template" id="tenant-edit-users">
44 <%= xosPickerTemplate({pickedItems: model.attributes.users,
45 unpickedItems: array_diff(xos.tenant().current_user_site_users, model.attributes.users),
46 id: "users",
47 fieldName: "users",
48 detailView: detailView,
49 lookupFunc: function(x) { return array_pair_lookup(x, xos.tenant().current_user_site_user_names, xos.tenant().current_user_site_users); },
50 } ) %>
51</script>
52
Scott Baker342d9b92015-01-11 13:44:30 -080053<div id="xos-confirm-dialog" title="Confirmation Required">
54 Are you sure about this?
55</div>
56
Scott Bakercd07a592015-01-12 12:37:38 -080057<div id="tenant-addslice-dialog" title="Add Child">
58<div id="tenant-addslice-interior"></div>
Scott Baker97acad92015-01-12 19:45:40 -080059</div>
60
61<div id="tenant-edit-users-dialog" title="Add Child">
62<div id="tenant-edit-users-interior"></div>
63</div>
Scott Bakercd07a592015-01-12 12:37:38 -080064
Scott Baker342d9b92015-01-11 13:44:30 -080065<div id="xos-error-dialog" title="Error Message">
66</div>
67
68<div id="contentPanel">
69<div id="contentTitle">
70</div>
71<div id="contentButtonPanel">
72
73<div id="rightButtonPanel"></div>
74
75<div class="box" id="logPanel">
76<table id="logTable">
77<tbody>
78</tbody>
79</table> <!-- end logTable -->
80</div> <!-- end logPanel -->
81</div> <!-- end contentButtonPanel -->
82
83<div id="contentInner">
84
85<div id="tenantSliceSelector">
86</div>
87<div id="tenantSummary">
88</div>
89<div id="tenantSiteList">
90</div>
91<div id="tenantButtons">
92</div>
93
94</div> <!-- end contentInner -->
95</div> <!-- end contentPanel -->
96
97{% include 'xosAdmin.html' %}