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 | |
| 8 | <link rel="stylesheet" type="text/css" href="{% static 'css/xosAdminDashboard.css' %}" media="all" > |
| 9 | <link rel="stylesheet" type="text/css" href="{% static 'css/xosAdminSite.css' %}" media="all" > |
| 10 | |
| 11 | <script src="{{ STATIC_URL }}/js/xoslib/xos-backbone.js"></script> |
| 12 | <script src="{{ STATIC_URL }}/js/xoslib/xosHelper.js"></script> |
| 13 | <script src="{{ STATIC_URL }}/js/xosAdminSite.js"></script> |
| 14 | |
| 15 | <div id="contentPanel"> |
| 16 | <div id="contentTitle"> |
| 17 | </div> |
| 18 | <div id="contentButtonPanel"> |
| 19 | <!-- This is really a convoluted way of handling the buttons. The onClick |
| 20 | handler for this Save button tells the save button inside the detail |
| 21 | form to click itself. |
| 22 | --> |
Scott Baker | 09ed3e0 | 2014-11-07 13:01:43 -0800 | [diff] [blame^] | 23 | <div class="box save-box" id="xos-detail-button-box"> |
| 24 | <button class="btn btn-high btn-info btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-leave').click()">Save</button> |
| 25 | <button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-continue').click()">Save and continue editing</button> |
| 26 | <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] | 27 | </div> |
Scott Baker | 09ed3e0 | 2014-11-07 13:01:43 -0800 | [diff] [blame^] | 28 | <div class="box save-box" id="xos-listview-button-box"> |
| 29 | <button class="btn btn-high btn-success btn-xos-contentButtonPanel" onclick="">Add</button> |
| 30 | </div> |
| 31 | </div> <!-- end contentButtonPanel --> |
Scott Baker | 3bc40f7 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 32 | <div id="contentInner"> |
| 33 | <div id="tabs"> |
| 34 | </div> |
| 35 | <div id="detail"></div> |
| 36 | <div id="linkedObjs1"></div> |
| 37 | <div id="linkedObjs2"></div> |
| 38 | <div id="linkedObjs3"></div> |
| 39 | <div id="linkedObjs4"></div> |
Scott Baker | 09ed3e0 | 2014-11-07 13:01:43 -0800 | [diff] [blame^] | 40 | </div> <!-- end contentInner --> |
| 41 | </div> <!-- end contentPanel --> |
Scott Baker | 3bc40f7 | 2014-11-05 22:16:10 -0800 | [diff] [blame] | 42 | |
| 43 | <div id="logPanel"> |
| 44 | <table id="logTable"> |
| 45 | <thead> |
| 46 | <tr><th>status</th><th>operation</th><th>code</th><th>message</th></tr> |
| 47 | </thead> |
| 48 | <tbody> |
| 49 | </tbody> |
| 50 | </table> |
| 51 | |
| 52 | </div> |
| 53 | |
| 54 | {% include 'xosAdmin.html' %} |