blob: 78eb8e2efcaecb5e865584a6724ac552b45f96fc [file] [log] [blame]
Scott Baker3bc40f72014-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 Bakerd99c7cd42014-11-13 15:52:02 -08008<link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
Scott Baker3bc40f72014-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 Baker4b8747d2014-11-11 17:35:39 -080012<script src="{{ STATIC_URL }}/js/xoslib/xos-defaults.js"></script>
Scott Baker3bc40f72014-11-05 22:16:10 -080013<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
17<div id="contentPanel">
18<div id="contentTitle">
19</div>
20<div id="contentButtonPanel">
21<!-- This is really a convoluted way of handling the buttons. The onClick
22 handler for this Save button tells the save button inside the detail
23 form to click itself.
24-->
Scott Baker09ed3e02014-11-07 13:01:43 -080025<div class="box save-box" id="xos-detail-button-box">
26<button class="btn btn-high btn-info btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-leave').click()">Save</button>
27<button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-continue').click()">Save and continue editing</button>
28<button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-another').click()">Save and add another</button>
Scott Baker3bc40f72014-11-05 22:16:10 -080029</div>
Scott Baker09ed3e02014-11-07 13:01:43 -080030<div class="box save-box" id="xos-listview-button-box">
Scott Bakerc9d0dcb2014-11-07 16:40:30 -080031<button class="btn btn-high btn-success btn-xos-contentButtonPanel" onclick="$('button.btn-xos-add').click()">Add</button>
Scott Baker09ed3e02014-11-07 13:01:43 -080032</div>
33</div> <!-- end contentButtonPanel -->
Scott Baker3bc40f72014-11-05 22:16:10 -080034<div id="contentInner">
35<div id="tabs">
36</div>
37<div id="detail"></div>
38<div id="linkedObjs1"></div>
39<div id="linkedObjs2"></div>
40<div id="linkedObjs3"></div>
41<div id="linkedObjs4"></div>
Scott Baker09ed3e02014-11-07 13:01:43 -080042</div> <!-- end contentInner -->
43</div> <!-- end contentPanel -->
Scott Baker3bc40f72014-11-05 22:16:10 -080044
45<div id="logPanel">
46<table id="logTable">
47<thead>
48<tr><th>status</th><th>operation</th><th>code</th><th>message</th></tr>
49</thead>
50<tbody>
51</tbody>
52</table>
53
54</div>
55
56{% include 'xosAdmin.html' %}