diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/caf/templates/caf/caf_list.html | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/ctrack/caf/templates/caf/caf_list.html b/ctrack/caf/templates/caf/caf_list.html index 437f083..c23d21d 100644 --- a/ctrack/caf/templates/caf/caf_list.html +++ b/ctrack/caf/templates/caf/caf_list.html @@ -4,11 +4,30 @@ {% block title %} CAF - All CAF Summary {% endblock %} {% block css %} - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.2/css/bootstrap.css"> - <link rel="stylesheet" href="https://cdn.datatables.net/1.10.22/css/dataTables.bootstrap4.min.css"> + <link rel="stylesheet" href="{% static "css/bootstrap_simplex.min.css" %}"> + <link rel="stylesheet" href="{% static "css/dataTables.bootstrap4.css" %}"> + {# <link rel="stylesheet" href="https://cdn.datatables.net/1.10.22/css/dataTables.bootstrap4.min.css">#} {% endblock %} + +<script src="{% static "js/jquery.dataTables.js" %}"></script> + {% block content %} + + <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> + <script type="application/javascript"> + $(document).ready(function () { + $('#datatable').DataTable({ + ordering: true, + searching: true, + buttons: true, + dom: 'B<"clear">lfrtip', + paging: false, + }); + }); + + </script> + <div class="col-md-12"> <h4>CAF List</h4> <div class="row"> |