delete working for deployments, confirmation dialog
[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-defaults.js"></script>
13 <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 <script type="text/template" id="xos-log-template">
18   <tr id="<%= logMessageId %>" class="xos-log xos-<%= statusclass %>">
19      <td><%= what %><br>
20          <%= status %> <%= statusText %>
21      </td>
22   </tr>
23 </script>
24
25 <div id="xos-confirm-dialog" title="Confirmation Required">
26   Are you sure about this?\r
27 </div>
28
29 <div id="contentPanel">
30 <div id="contentTitle">
31 </div>
32 <div id="contentButtonPanel">
33 <!-- This is really a convoluted way of handling the buttons. The onClick
34      handler for this Save button tells the save button inside the detail
35      form to click itself.
36 -->
37 <div class="box save-box" id="xos-detail-button-box">
38 <button class="btn btn-high btn-info btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-leave').click()">Save</button>
39 <button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-continue').click()">Save and continue editing</button>
40 <button class="btn btn-high btn-xos-contentButtonPanel" onclick="$('button.btn-xos-save-another').click()">Save and add another</button>
41 <button class="btn btn-danger btn-xos-contentButtonPanel" onclick="$('button.btn-xos-delete').click()">Delete</button>
42 </div>
43 <div class="box save-box" id="xos-listview-button-box">
44 <button class="btn btn-high btn-primary btn-xos-contentButtonPanel" onclick="$('button.btn-xos-refresh').click()">Refresh</button>
45 <button class="btn btn-high btn-success btn-xos-contentButtonPanel" onclick="$('button.btn-xos-add').click()">Add</button>
46 </div>
47 <div class="box" id="logPanel">
48 <table id="logTable">
49 <tbody>
50 </tbody>
51 </table> <!-- end logTable -->
52 </div> <!-- end logPanel -->
53 </div> <!-- end contentButtonPanel -->
54 <div id="contentInner">
55 <div id="tabs">
56 </div>
57 <div id="detail"></div>
58 <div id="linkedObjs1"></div>
59 <div id="linkedObjs2"></div>
60 <div id="linkedObjs3"></div>
61 <div id="linkedObjs4"></div>
62 </div> <!-- end contentInner -->
63 </div> <!-- end contentPanel -->
64
65 {% include 'xosAdmin.html' %}