Scott Baker | 9061a93 | 2014-11-05 22:16:10 -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 | |
Scott Baker | 66aaad4 | 2014-11-13 15:52:02 -0800 | [diff] [blame] | 8 | <link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css"> |
Scott Baker | 9061a93 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 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 | |
Scott Baker | d248c34 | 2014-11-21 11:08:57 -0800 | [diff] [blame] | 12 | <script src="{{ STATIC_URL }}/js/xoslib/xos-util.js"></script> |
Scott Baker | 79a095e | 2014-11-11 17:35:39 -0800 | [diff] [blame] | 13 | <script src="{{ STATIC_URL }}/js/xoslib/xos-defaults.js"></script> |
Scott Baker | 1e47d9e | 2014-11-25 17:15:21 -0800 | [diff] [blame] | 14 | <script src="{{ STATIC_URL }}/js/xoslib/xos-validators.js"></script> |
Scott Baker | 9061a93 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 15 | <script src="{{ STATIC_URL }}/js/xoslib/xos-backbone.js"></script> |
| 16 | <script src="{{ STATIC_URL }}/js/xoslib/xosHelper.js"></script> |
| 17 | <script src="{{ STATIC_URL }}/js/xosAdminSite.js"></script> |
| 18 | |
Scott Baker | 01c9d61 | 2014-11-14 16:13:43 -0800 | [diff] [blame] | 19 | <script type="text/template" id="xos-log-template"> |
| 20 | <tr id="<%= logMessageId %>" class="xos-log xos-<%= statusclass %>"> |
| 21 | <td><%= what %><br> |
| 22 | <%= status %> <%= statusText %> |
| 23 | </td> |
| 24 | </tr> |
| 25 | </script> |
| 26 | |
Scott Baker | 1e87c5a | 2014-11-18 23:31:48 -0800 | [diff] [blame] | 27 | <div id="xos-confirm-dialog" title="Confirmation Required"> |
| 28 | Are you sure about this?
|
| 29 | </div> |
| 30 | |
Scott Baker | 562d595 | 2014-11-24 23:26:12 -0800 | [diff] [blame] | 31 | <div id="xos-error-dialog" title="Error Message"> |
| 32 | </div>
|
Scott Baker | e45e346 | 2014-12-04 17:21:17 -0800 | [diff] [blame] | 33 |
|
| 34 | <div id="xos-addchild-dialog" title="Add Child">
|
| 35 | <div id="xos-addchild-detail"></div>
|
| 36 | </div>
|
Scott Baker | 562d595 | 2014-11-24 23:26:12 -0800 | [diff] [blame] | 37 | |
Scott Baker | 9061a93 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 38 | <div id="contentPanel"> |
| 39 | <div id="contentTitle"> |
| 40 | </div> |
| 41 | <div id="contentButtonPanel"> |
| 42 | <!-- This is really a convoluted way of handling the buttons. The onClick |
| 43 | handler for this Save button tells the save button inside the detail |
| 44 | form to click itself. |
| 45 | --> |
Scott Baker | ca4bf92 | 2014-12-09 18:38:13 -0800 | [diff] [blame^] | 46 | |
| 47 | <div id="rightButtonPanel"></div> |
| 48 | |
| 49 | <!-- |
Scott Baker | e49f08c | 2014-11-07 13:01:43 -0800 | [diff] [blame] | 50 | <div class="box save-box" id="xos-detail-button-box"> |
| 51 | <button class="btn btn-high btn-info btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-leave').click()">Save</button> |
| 52 | <button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-continue').click()">Save and continue editing</button> |
| 53 | <button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-another').click()">Save and add another</button> |
Scott Baker | 13e6f0d | 2014-11-18 17:02:07 -0800 | [diff] [blame] | 54 | <button class="btn btn-danger btn-xos-contentButtonPanel" onclick="$('button.btn-xos-delete').click()">Delete</button> |
Scott Baker | 9061a93 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 55 | </div> |
Scott Baker | e49f08c | 2014-11-07 13:01:43 -0800 | [diff] [blame] | 56 | <div class="box save-box" id="xos-listview-button-box"> |
Scott Baker | 13e6f0d | 2014-11-18 17:02:07 -0800 | [diff] [blame] | 57 | <button class="btn btn-high btn-primary btn-xos-contentButtonPanel" onclick="$('button.btn-xos-refresh').click()">Refresh</button> |
Scott Baker | 7ce2365 | 2014-11-07 16:40:30 -0800 | [diff] [blame] | 58 | <button class="btn btn-high btn-success btn-xos-contentButtonPanel" onclick="$('button.btn-xos-add').click()">Add</button> |
Scott Baker | e49f08c | 2014-11-07 13:01:43 -0800 | [diff] [blame] | 59 | </div> |
Scott Baker | ca4bf92 | 2014-12-09 18:38:13 -0800 | [diff] [blame^] | 60 | --> |
| 61 | |
Scott Baker | 01c9d61 | 2014-11-14 16:13:43 -0800 | [diff] [blame] | 62 | <div class="box" id="logPanel"> |
| 63 | <table id="logTable"> |
| 64 | <tbody> |
| 65 | </tbody> |
| 66 | </table> <!-- end logTable --> |
| 67 | </div> <!-- end logPanel --> |
Scott Baker | e49f08c | 2014-11-07 13:01:43 -0800 | [diff] [blame] | 68 | </div> <!-- end contentButtonPanel --> |
Scott Baker | 9061a93 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 69 | <div id="contentInner"> |
| 70 | <div id="tabs"> |
| 71 | </div> |
| 72 | <div id="detail"></div> |
| 73 | <div id="linkedObjs1"></div> |
| 74 | <div id="linkedObjs2"></div> |
| 75 | <div id="linkedObjs3"></div> |
| 76 | <div id="linkedObjs4"></div> |
Scott Baker | e49f08c | 2014-11-07 13:01:43 -0800 | [diff] [blame] | 77 | </div> <!-- end contentInner --> |
| 78 | </div> <!-- end contentPanel --> |
Scott Baker | 9061a93 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 79 | |
Scott Baker | 9061a93 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 80 | {% include 'xosAdmin.html' %} |