Skip to content

Commit

Permalink
Disable datatables for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Jan 10, 2025
1 parent 887a03c commit d75e395
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions knowledgebase/knowledgebase/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>

{#
<script src="https://cdn.datatables.net/1.13.4/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.13.4/js/dataTables.bootstrap5.min.js"></script>
<script src="https://cdn.datatables.net/searchpanes/2.1.2/js/dataTables.searchPanes.min.js"></script>
Expand All @@ -17,6 +18,7 @@
<link rel="stylesheet" href="https://cdn.datatables.net/searchpanes/2.1.2/css/searchPanes.bootstrap5.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/select/1.6.2/css/select.bootstrap5.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/2.3.6/css/buttons.dataTables.min.css">
#}

<!-- Stuff that powers the search bar -->
<style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand Down Expand Up @@ -51,4 +52,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand All @@ -30,4 +31,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand Down Expand Up @@ -59,4 +60,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand All @@ -30,4 +31,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand All @@ -40,4 +41,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand All @@ -41,4 +42,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand All @@ -44,4 +45,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand All @@ -38,4 +39,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand All @@ -34,4 +35,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand Down Expand Up @@ -92,4 +93,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand All @@ -48,4 +49,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
</tbody>
</table>

{#
{% if enable_search %}
<script>
$(document).ready(function() {
Expand All @@ -50,4 +51,5 @@
});
</script>
{% endif %}
#}
{% endmacro %}

0 comments on commit d75e395

Please sign in to comment.