Split the dashboard into different apps, add tests
[pharos.git] / tools / pharos-dashboard / templates / dashboard / table.html
1 {% extends "base.html" %}
2 {% load staticfiles %}
3
4 {% block extrahead %}
5     <!-- DataTables CSS -->
6     <link href="{% static "bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css" %}"
7           rel="stylesheet">
8
9     <!-- DataTables Responsive CSS -->
10     <link href="{% static "bower_components/datatables-responsive/css/dataTables.responsive.css" %}" rel="stylesheet">
11 {% endblock extrahead %}
12
13 {% block content %}
14     <div class="row">
15         <div class="col-lg-12">
16             <div class="panel panel-default">
17                 <div class="panel-body">
18                     <div class="dataTables_wrapper">
19                         <table class="table table-striped table-bordered table-hover" id="table" cellspacing="0"
20                                width="100%">
21
22                             {% block table %}
23                             {% endblock table %}
24
25                         </table>
26                     </div>
27                     <!-- /.table-responsive -->
28                 </div>
29                 <!-- /.panel-body -->
30             </div>
31             <!-- /.panel -->
32         </div>
33         <!-- /.col-lg-12 -->
34     </div>
35 {% endblock content %}
36
37 {% block extrajs %}
38     <!-- DataTables JavaScript -->
39     <link href="{% static "bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css" %}"
40           rel="stylesheet">
41
42
43     <script src={% static "bower_components/datatables/media/js/jquery.dataTables.min.js" %}></script>
44     <script src={% static "bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.min.js" %}></script>
45
46     <script src={% static "js/dataTables-sort.js" %}></script>
47
48     {% block tablejs %}
49     {% endblock tablejs %}
50 {% endblock extrajs %}