blob: 2364b8358eab662794594fbb6ff79fe5439468e9 [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 Bakere802e9c2014-11-21 11:08:57 -080012<script src="{{ STATIC_URL }}/js/xoslib/xos-util.js"></script>
Scott Baker4b8747d2014-11-11 17:35:39 -080013<script src="{{ STATIC_URL }}/js/xoslib/xos-defaults.js"></script>
Scott Baker66074b32014-11-25 17:15:21 -080014<script src="{{ STATIC_URL }}/js/xoslib/xos-validators.js"></script>
Scott Baker3bc40f72014-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>
17<script src="{{ STATIC_URL }}/js/xosAdminSite.js"></script>
18
Scott Baker1c5d4ee2014-11-14 16:13:43 -080019<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 Baker32d12ba2014-11-18 23:31:48 -080027<div id="xos-confirm-dialog" title="Confirmation Required">
28 Are you sure about this?
29</div>
30
Scott Baker8560fd12014-11-24 23:26:12 -080031<div id="xos-error-dialog" title="Error Message">
32</div>
Scott Bakera0e70f62014-12-04 17:21:17 -080033
34<div id="xos-addchild-dialog" title="Add Child">
35<div id="xos-addchild-detail"></div>
36</div>
Scott Baker8560fd12014-11-24 23:26:12 -080037
Scott Baker3bc40f72014-11-05 22:16:10 -080038<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 Baker09ed3e02014-11-07 13:01:43 -080046<div class="box save-box" id="xos-detail-button-box">
47<button class="btn btn-high btn-info btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-leave').click()">Save</button>
48<button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-continue').click()">Save and continue editing</button>
49<button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-another').click()">Save and add another</button>
Scott Baker95a57b82014-11-18 17:02:07 -080050<button class="btn btn-danger btn-xos-contentButtonPanel" onclick="$('button.btn-xos-delete').click()">Delete</button>
Scott Baker3bc40f72014-11-05 22:16:10 -080051</div>
Scott Baker09ed3e02014-11-07 13:01:43 -080052<div class="box save-box" id="xos-listview-button-box">
Scott Baker95a57b82014-11-18 17:02:07 -080053<button class="btn btn-high btn-primary btn-xos-contentButtonPanel" onclick="$('button.btn-xos-refresh').click()">Refresh</button>
Scott Bakerc9d0dcb2014-11-07 16:40:30 -080054<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 -080055</div>
Scott Baker1c5d4ee2014-11-14 16:13:43 -080056<div class="box" id="logPanel">
57<table id="logTable">
58<tbody>
59</tbody>
60</table> <!-- end logTable -->
61</div> <!-- end logPanel -->
Scott Baker09ed3e02014-11-07 13:01:43 -080062</div> <!-- end contentButtonPanel -->
Scott Baker3bc40f72014-11-05 22:16:10 -080063<div id="contentInner">
64<div id="tabs">
65</div>
66<div id="detail"></div>
67<div id="linkedObjs1"></div>
68<div id="linkedObjs2"></div>
69<div id="linkedObjs3"></div>
70<div id="linkedObjs4"></div>
Scott Baker09ed3e02014-11-07 13:01:43 -080071</div> <!-- end contentInner -->
72</div> <!-- end contentPanel -->
Scott Baker3bc40f72014-11-05 22:16:10 -080073
Scott Baker3bc40f72014-11-05 22:16:10 -080074{% include 'xosAdmin.html' %}