blob: 141e3ee832c1662e7204bf7b38cef1a1bb5dd1c9 [file] [log] [blame]
Scott Bakerc8bd4042015-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">
Scott Bakerd6861f72015-01-18 16:53:56 -08009<link rel="stylesheet" type="text/css" href="{% static 'css/xosTenantDashboard.css' %}" media="all" >
Scott Bakerc8bd4042015-01-11 13:44:30 -080010<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 Bakerfcf655e2015-01-12 19:45:40 -080017<script src="{{ STATIC_URL }}/js/picker.js"></script>
Scott Bakerc8bd4042015-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 Bakerfcf655e2015-01-12 19:45:40 -080024 <button class="btn btn-high btn-tenant-add-user">Edit Users</button>
Scott Baker334919e2015-01-20 01:02:08 -080025 <button class="btn btn-high btn-tenant-download-ssh">SSH Commands</button>
Scott Bakerc8bd4042015-01-11 13:44:30 -080026 <button class="btn btn-high btn-tenant-save">Save</button>
27 </div>
28</script>
29
Scott Bakera293dac2015-01-13 14:41:41 -080030<script type="text/template" id="xos-tenant-buttons-noslice-template">
31 <div class="box save-box">
32 <button class="btn btn-high btn-tenant-create">Create New Slice</button>
33 </div>
34</script>
35
Scott Bakerc8bd4042015-01-11 13:44:30 -080036<script type="text/template" id="xos-log-template">
37 <tr id="<%= logMessageId %>" class="xos-log xos-<%= statusclass %>">
38 <td><%= what %><br>
39 <%= status %> <%= statusText %>
40 </td>
41 </tr>
42</script>
43
Scott Bakerfcf655e2015-01-12 19:45:40 -080044<script type="text/template" id="tenant-edit-users">
Scott Bakerc7f363b2015-01-14 00:34:45 -080045 <%= xosPickerTemplate({pickedItems: model.usersBuffer,
Scott Bakera4101002015-01-16 19:26:54 -080046 unpickedItems: array_subtract(xos.tenant().current_user_site_users, model.usersBuffer),
Scott Bakerfcf655e2015-01-12 19:45:40 -080047 id: "users",
48 fieldName: "users",
49 detailView: detailView,
Scott Bakera4101002015-01-16 19:26:54 -080050 lookupFunc: function(x) { return array_pair_lookup(x,
51 $.merge($.merge([], xos.tenant().current_user_site_user_names), model.user_namesOrig),
52 $.merge($.merge([], xos.tenant().current_user_site_users), model.usersOrig)); },
Scott Bakerfcf655e2015-01-12 19:45:40 -080053 } ) %>
54</script>
55
Scott Bakerc8bd4042015-01-11 13:44:30 -080056<div id="xos-confirm-dialog" title="Confirmation Required">
57 Are you sure about this?
58</div>
59
Scott Baker8bd5f2c2015-01-14 01:07:38 -080060<div id="tenant-addslice-dialog" title="Create New Slice">
Scott Bakerced0a552015-01-12 12:37:38 -080061<div id="tenant-addslice-interior"></div>
Scott Bakerfcf655e2015-01-12 19:45:40 -080062</div>
63
Scott Baker8bd5f2c2015-01-14 01:07:38 -080064<div id="tenant-edit-users-dialog" title="Edit Users">
Scott Bakerfcf655e2015-01-12 19:45:40 -080065<div id="tenant-edit-users-interior"></div>
66</div>
Scott Baker334919e2015-01-20 01:02:08 -080067
68<div id="tenant-ssh-commands-dialog" title="SSH Commands">
69<div id="tenant-ssh-commands-interior"></div>
70</div>
Scott Bakerced0a552015-01-12 12:37:38 -080071
Scott Bakerc8bd4042015-01-11 13:44:30 -080072<div id="xos-error-dialog" title="Error Message">
73</div>
74
Scott Baker840862d2015-01-14 17:07:30 -080075<div id="xos-tenant-view-panel"> <!-- contentPanel"> -->
Scott Bakerc8bd4042015-01-11 13:44:30 -080076<div id="contentTitle">
77</div>
78<div id="contentButtonPanel">
79
80<div id="rightButtonPanel"></div>
81
82<div class="box" id="logPanel">
83<table id="logTable">
84<tbody>
85</tbody>
86</table> <!-- end logTable -->
87</div> <!-- end logPanel -->
88</div> <!-- end contentButtonPanel -->
89
90<div id="contentInner">
91
92<div id="tenantSliceSelector">
93</div>
94<div id="tenantSummary">
95</div>
96<div id="tenantSiteList">
97</div>
98<div id="tenantButtons">
99</div>
100
101</div> <!-- end contentInner -->
102</div> <!-- end contentPanel -->
103
104{% include 'xosAdmin.html' %}