2 column picker WIP
[plstackapi.git] / planetstack / core / xoslib / dashboards / xosAdminDashboard.html
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" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
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
12 <script src="{{ STATIC_URL }}/js/xoslib/xos-util.js"></script>
13 <script src="{{ STATIC_URL }}/js/xoslib/xos-defaults.js"></script>
14 <script src="{{ STATIC_URL }}/js/xoslib/xos-validators.js"></script>
15 <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/picker.js"></script>
18 <script src="{{ STATIC_URL }}/js/xosAdminSite.js"></script>
19
20 <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
28 <div id="xos-confirm-dialog" title="Confirmation Required">
29   Are you sure about this?\r
30 </div>
31
32 <div id="xos-error-dialog" title="Error Message">
33 </div>\r
34 \r
35 <div id="xos-addchild-dialog" title="Add Child">\r
36 <div id="xos-addchild-detail"></div>\r
37 </div>\r
38
39 <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 -->
47
48 <div id="rightButtonPanel"></div>
49
50 <!--
51 <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>
55 <button class="btn btn-danger btn-xos-contentButtonPanel" onclick="$('button.btn-xos-delete').click()">Delete</button>
56 </div>
57 <div class="box save-box" id="xos-listview-button-box">
58 <button class="btn btn-high btn-primary btn-xos-contentButtonPanel" onclick="$('button.btn-xos-refresh').click()">Refresh</button>
59 <button class="btn btn-high btn-success btn-xos-contentButtonPanel" onclick="$('button.btn-xos-add').click()">Add</button>
60 </div>
61 -->
62
63 <div class="box" id="logPanel">
64 <table id="logTable">
65 <tbody>
66 </tbody>
67 </table> <!-- end logTable -->
68 </div> <!-- end logPanel -->
69 </div> <!-- end contentButtonPanel -->
70 <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>
78 </div> <!-- end contentInner -->
79 </div> <!-- end contentPanel -->
80
81 {% include 'xosAdmin.html' %}