blob: bf10240d926c63dac349661bf7b907f8ae818d76 [file] [log] [blame]
Scott Baker9061a932014-11-05 22:16:10 -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
Scott Baker66aaad42014-11-13 15:52:02 -08008<link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
Scott Baker9061a932014-11-05 22:16:10 -08009<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 Bakerd248c342014-11-21 11:08:57 -080012<script src="{{ STATIC_URL }}/js/xoslib/xos-util.js"></script>
Scott Baker79a095e2014-11-11 17:35:39 -080013<script src="{{ STATIC_URL }}/js/xoslib/xos-defaults.js"></script>
Scott Baker1e47d9e2014-11-25 17:15:21 -080014<script src="{{ STATIC_URL }}/js/xoslib/xos-validators.js"></script>
Scott Baker9061a932014-11-05 22:16:10 -080015<script src="{{ STATIC_URL }}/js/xoslib/xos-backbone.js"></script>
16<script src="{{ STATIC_URL }}/js/xoslib/xosHelper.js"></script>
Scott Baker2cbb6072014-12-16 22:49:42 -080017<script src="{{ STATIC_URL }}/js/picker.js"></script>
Scott Baker9061a932014-11-05 22:16:10 -080018<script src="{{ STATIC_URL }}/js/xosAdminSite.js"></script>
19
Scott Baker01c9d612014-11-14 16:13:43 -080020<script type="text/template" id="xos-log-template">
21 <tr id="<%= logMessageId %>" class="xos-log xos-<%= statusclass %>">
22 <td><%= what %><br>
23 <%= status %> <%= statusText %>
24 </td>
25 </tr>
26</script>
27
Scott Baker1e87c5a2014-11-18 23:31:48 -080028<div id="xos-confirm-dialog" title="Confirmation Required">
29 Are you sure about this?
30</div>
31
Scott Baker562d5952014-11-24 23:26:12 -080032<div id="xos-error-dialog" title="Error Message">
33</div>
Scott Bakere45e3462014-12-04 17:21:17 -080034
35<div id="xos-addchild-dialog" title="Add Child">
36<div id="xos-addchild-detail"></div>
37</div>
Scott Baker562d5952014-11-24 23:26:12 -080038
Scott Baker9061a932014-11-05 22:16:10 -080039<div id="contentPanel">
40<div id="contentTitle">
41</div>
42<div id="contentButtonPanel">
43<!-- This is really a convoluted way of handling the buttons. The onClick
44 handler for this Save button tells the save button inside the detail
45 form to click itself.
46-->
Scott Bakerca4bf922014-12-09 18:38:13 -080047
48<div id="rightButtonPanel"></div>
49
50<!--
Scott Bakere49f08c2014-11-07 13:01:43 -080051<div class="box save-box" id="xos-detail-button-box">
52<button class="btn btn-high btn-info btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-leave').click()">Save</button>
53<button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-continue').click()">Save and continue editing</button>
54<button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-another').click()">Save and add another</button>
Scott Baker13e6f0d2014-11-18 17:02:07 -080055<button class="btn btn-danger btn-xos-contentButtonPanel" onclick="$('button.btn-xos-delete').click()">Delete</button>
Scott Baker9061a932014-11-05 22:16:10 -080056</div>
Scott Bakere49f08c2014-11-07 13:01:43 -080057<div class="box save-box" id="xos-listview-button-box">
Scott Baker13e6f0d2014-11-18 17:02:07 -080058<button class="btn btn-high btn-primary btn-xos-contentButtonPanel" onclick="$('button.btn-xos-refresh').click()">Refresh</button>
Scott Baker7ce23652014-11-07 16:40:30 -080059<button class="btn btn-high btn-success btn-xos-contentButtonPanel" onclick="$('button.btn-xos-add').click()">Add</button>
Scott Bakere49f08c2014-11-07 13:01:43 -080060</div>
Scott Bakerca4bf922014-12-09 18:38:13 -080061-->
62
Scott Baker01c9d612014-11-14 16:13:43 -080063<div class="box" id="logPanel">
64<table id="logTable">
65<tbody>
66</tbody>
67</table> <!-- end logTable -->
68</div> <!-- end logPanel -->
Scott Bakere49f08c2014-11-07 13:01:43 -080069</div> <!-- end contentButtonPanel -->
Scott Baker9061a932014-11-05 22:16:10 -080070<div id="contentInner">
71<div id="tabs">
72</div>
73<div id="detail"></div>
74<div id="linkedObjs1"></div>
75<div id="linkedObjs2"></div>
76<div id="linkedObjs3"></div>
77<div id="linkedObjs4"></div>
Scott Bakere49f08c2014-11-07 13:01:43 -080078</div> <!-- end contentInner -->
79</div> <!-- end contentPanel -->
Scott Baker9061a932014-11-05 22:16:10 -080080
Scott Baker9061a932014-11-05 22:16:10 -080081{% include 'xosAdmin.html' %}