Scott Baker | 3bc40f7 | 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 | d99c7cd4 | 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 | 3bc40f7 | 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 | 4b8747d | 2014-11-11 17:35:39 -0800 | [diff] [blame] | 12 | <script src="{{ STATIC_URL }}/js/xoslib/xos-defaults.js"></script> |
Scott Baker | 3bc40f7 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 13 | <script src="{{ STATIC_URL }}/js/xoslib/xos-backbone.js"></script> |
| 14 | <script src="{{ STATIC_URL }}/js/xoslib/xosHelper.js"></script> |
| 15 | <script src="{{ STATIC_URL }}/js/xosAdminSite.js"></script> |
| 16 | |
Scott Baker | 1c5d4ee | 2014-11-14 16:13:43 -0800 | [diff] [blame] | 17 | <script type="text/template" id="xos-log-template"> |
| 18 | <tr id="<%= logMessageId %>" class="xos-log xos-<%= statusclass %>"> |
| 19 | <td><%= what %><br> |
| 20 | <%= status %> <%= statusText %> |
| 21 | </td> |
| 22 | </tr> |
| 23 | </script> |
| 24 | |
Scott Baker | 3bc40f7 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 25 | <div id="contentPanel"> |
| 26 | <div id="contentTitle"> |
| 27 | </div> |
| 28 | <div id="contentButtonPanel"> |
| 29 | <!-- This is really a convoluted way of handling the buttons. The onClick |
| 30 | handler for this Save button tells the save button inside the detail |
| 31 | form to click itself. |
| 32 | --> |
Scott Baker | 09ed3e0 | 2014-11-07 13:01:43 -0800 | [diff] [blame] | 33 | <div class="box save-box" id="xos-detail-button-box"> |
| 34 | <button class="btn btn-high btn-info btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-leave').click()">Save</button> |
| 35 | <button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-continue').click()">Save and continue editing</button> |
| 36 | <button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-another').click()">Save and add another</button> |
Scott Baker | 3bc40f7 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 37 | </div> |
Scott Baker | 09ed3e0 | 2014-11-07 13:01:43 -0800 | [diff] [blame] | 38 | <div class="box save-box" id="xos-listview-button-box"> |
Scott Baker | c9d0dcb | 2014-11-07 16:40:30 -0800 | [diff] [blame] | 39 | <button class="btn btn-high btn-success btn-xos-contentButtonPanel" onclick="$('button.btn-xos-add').click()">Add</button> |
Scott Baker | 09ed3e0 | 2014-11-07 13:01:43 -0800 | [diff] [blame] | 40 | </div> |
Scott Baker | 1c5d4ee | 2014-11-14 16:13:43 -0800 | [diff] [blame] | 41 | <div class="box" id="logPanel"> |
| 42 | <table id="logTable"> |
| 43 | <tbody> |
| 44 | </tbody> |
| 45 | </table> <!-- end logTable --> |
| 46 | </div> <!-- end logPanel --> |
Scott Baker | 09ed3e0 | 2014-11-07 13:01:43 -0800 | [diff] [blame] | 47 | </div> <!-- end contentButtonPanel --> |
Scott Baker | 3bc40f7 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 48 | <div id="contentInner"> |
| 49 | <div id="tabs"> |
| 50 | </div> |
| 51 | <div id="detail"></div> |
| 52 | <div id="linkedObjs1"></div> |
| 53 | <div id="linkedObjs2"></div> |
| 54 | <div id="linkedObjs3"></div> |
| 55 | <div id="linkedObjs4"></div> |
Scott Baker | 09ed3e0 | 2014-11-07 13:01:43 -0800 | [diff] [blame] | 56 | </div> <!-- end contentInner --> |
| 57 | </div> <!-- end contentPanel --> |
Scott Baker | 3bc40f7 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 58 | |
Scott Baker | 3bc40f7 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 59 | {% include 'xosAdmin.html' %} |