blob: 1287e15fd0a715bad86a3f4abf8d2edaa68930b2 [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">
Scott Baker435c2c92015-01-14 00:34:45 -080044 <%= xosPickerTemplate({pickedItems: model.usersBuffer,
Scott Baker12154242015-01-16 19:26:54 -080045 unpickedItems: array_subtract(xos.tenant().current_user_site_users, model.usersBuffer),
Scott Baker97acad92015-01-12 19:45:40 -080046 id: "users",
47 fieldName: "users",
48 detailView: detailView,
Scott Baker12154242015-01-16 19:26:54 -080049 lookupFunc: function(x) { return array_pair_lookup(x,
50 $.merge($.merge([], xos.tenant().current_user_site_user_names), model.user_namesOrig),
51 $.merge($.merge([], xos.tenant().current_user_site_users), model.usersOrig)); },
Scott Baker97acad92015-01-12 19:45:40 -080052 } ) %>
53</script>
54
Scott Baker342d9b92015-01-11 13:44:30 -080055<div id="xos-confirm-dialog" title="Confirmation Required">
56 Are you sure about this?
57</div>
58
Scott Baker3101c972015-01-14 01:07:38 -080059<div id="tenant-addslice-dialog" title="Create New Slice">
Scott Bakercd07a592015-01-12 12:37:38 -080060<div id="tenant-addslice-interior"></div>
Scott Baker97acad92015-01-12 19:45:40 -080061</div>
62
Scott Baker3101c972015-01-14 01:07:38 -080063<div id="tenant-edit-users-dialog" title="Edit Users">
Scott Baker97acad92015-01-12 19:45:40 -080064<div id="tenant-edit-users-interior"></div>
65</div>
Scott Bakercd07a592015-01-12 12:37:38 -080066
Scott Baker342d9b92015-01-11 13:44:30 -080067<div id="xos-error-dialog" title="Error Message">
68</div>
69
Scott Bakere7a90452015-01-14 17:07:30 -080070<div id="xos-tenant-view-panel"> <!-- contentPanel"> -->
Scott Baker342d9b92015-01-11 13:44:30 -080071<div id="contentTitle">
72</div>
73<div id="contentButtonPanel">
74
75<div id="rightButtonPanel"></div>
76
77<div class="box" id="logPanel">
78<table id="logTable">
79<tbody>
80</tbody>
81</table> <!-- end logTable -->
82</div> <!-- end logPanel -->
83</div> <!-- end contentButtonPanel -->
84
85<div id="contentInner">
86
87<div id="tenantSliceSelector">
88</div>
89<div id="tenantSummary">
90</div>
91<div id="tenantSiteList">
92</div>
93<div id="tenantButtons">
94</div>
95
96</div> <!-- end contentInner -->
97</div> <!-- end contentPanel -->
98
99{% include 'xosAdmin.html' %}