-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bootstrap5-responsive.html template and update docs (#896)
- Loading branch information
1 parent
52c1708
commit 2fa2f24
Showing
2 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
django_tables2/templates/django_tables2/bootstrap5-responsive.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% extends 'django_tables2/bootstrap4.html' %} | ||
|
||
{% block table-wrapper %} | ||
<div class="table-container table-responsive"> | ||
{% block table %} | ||
{{ block.super }} | ||
{% endblock table %} | ||
|
||
{% block pagination %} | ||
{{ block.super }} | ||
{% endblock pagination %} | ||
</div> | ||
{% endblock table-wrapper %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters