Scott Baker | 342d9b9 | 2015-01-11 13:44:30 -0800 | [diff] [blame] | 1 | <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 Baker | 97acad9 | 2015-01-12 19:45:40 -0800 | [diff] [blame^] | 17 | <script src="{{ STATIC_URL }}/js/picker.js"></script> |
Scott Baker | 342d9b9 | 2015-01-11 13:44:30 -0800 | [diff] [blame] | 18 | <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 Baker | 97acad9 | 2015-01-12 19:45:40 -0800 | [diff] [blame^] | 24 | <button class="btn btn-high btn-tenant-add-user">Edit Users</button> |
Scott Baker | 342d9b9 | 2015-01-11 13:44:30 -0800 | [diff] [blame] | 25 | <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 Baker | 97acad9 | 2015-01-12 19:45:40 -0800 | [diff] [blame^] | 37 | <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 Baker | 342d9b9 | 2015-01-11 13:44:30 -0800 | [diff] [blame] | 47 | <div id="xos-confirm-dialog" title="Confirmation Required"> |
| 48 | Are you sure about this?
|
| 49 | </div> |
| 50 | |
Scott Baker | cd07a59 | 2015-01-12 12:37:38 -0800 | [diff] [blame] | 51 | <div id="tenant-addslice-dialog" title="Add Child"> |
| 52 | <div id="tenant-addslice-interior"></div>
|
Scott Baker | 97acad9 | 2015-01-12 19:45:40 -0800 | [diff] [blame^] | 53 | </div>
|
| 54 |
|
| 55 | <div id="tenant-edit-users-dialog" title="Add Child">
|
| 56 | <div id="tenant-edit-users-interior"></div>
|
| 57 | </div>
|
Scott Baker | cd07a59 | 2015-01-12 12:37:38 -0800 | [diff] [blame] | 58 | |
Scott Baker | 342d9b9 | 2015-01-11 13:44:30 -0800 | [diff] [blame] | 59 | <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' %} |