diff --git a/vendor/regidesk/regidesk/templates/regidesk/base.html b/vendor/regidesk/regidesk/templates/regidesk/base.html index 5f7c8f29..10f86fba 100644 --- a/vendor/regidesk/regidesk/templates/regidesk/base.html +++ b/vendor/regidesk/regidesk/templates/regidesk/base.html @@ -4,36 +4,42 @@ {% load i18n %} {% block head_title %}Checkin{% endblock head_title %} -{% block extra_head %}{% endblock %} + {% block body_class %}text-primary{% endblock body_class %} {% block main_class %}container{% endblock main_class %} {% block content %} +{% block body %} +{% endblock %} {% endblock %} {% block extra_script %} - + - + -{% endblock %} + $("table.table-data").dataTable({ + "dom": "<'row'<'col-md-3'l><'col-md-3'B><'col-md-4'f>r>t<'row'<'col-md-3'i><'col-md-5'p>>", + "stateSave": true, + "lengthMenu": [[10, 50, 100, -1], [10, 50, 100, "All"]], + "pageLength": 100, + "colReorder": true, + "buttons": [{ + extend: 'collection', + text: 'Export', + buttons: ["copy", "csv", "print"] + }, + { + extend: 'collection', + text: 'Columns', + buttons: [ + { + extend: 'columnsToggle', + columns: '.toggle' + }, + ] + }] + }); + +{% endblock %} \ No newline at end of file diff --git a/vendor/regidesk/regidesk/templates/regidesk/boardingpass_overview.html b/vendor/regidesk/regidesk/templates/regidesk/boardingpass_overview.html index e54d8d8f..da32ad3b 100644 --- a/vendor/regidesk/regidesk/templates/regidesk/boardingpass_overview.html +++ b/vendor/regidesk/regidesk/templates/regidesk/boardingpass_overview.html @@ -162,7 +162,7 @@ $("tr input.action-select").actions(); }); $('.dataTable').dataTable({ - "dom": "<'row'<'col-md-3'l><'col-md-3'B><'col-md-4'f>r>t<'row'<'col-md-3'i><'col-md-5'p>>", + "dom": "<'container-fluid'<'row'<'col-md-3'l><'col-md-3'B><'col-md-4'f>r>t<'row'<'col-md-3'i><'col-md-5'p>>>", "stateSave": true, "lengthMenu": [[10, 50, 100, -1], [10, 50, 100, "All"]], "drawCallback": function( settings ) { diff --git a/vendor/regidesk/regidesk/templates/regidesk/boardingpass_prepare.html b/vendor/regidesk/regidesk/templates/regidesk/boardingpass_prepare.html index 903b9c0f..147a5bf3 100644 --- a/vendor/regidesk/regidesk/templates/regidesk/boardingpass_prepare.html +++ b/vendor/regidesk/regidesk/templates/regidesk/boardingpass_prepare.html @@ -37,7 +37,7 @@