regress(usermanager): remove jQuery tablesorter
This commit is contained in:
parent
ebe3bca3a2
commit
18a2bf89e9
@ -1,19 +1,3 @@
|
||||
$(function() {
|
||||
for (entry of $(".unsortable")) {
|
||||
$(entry).data("sorter", false);
|
||||
}
|
||||
|
||||
$("table").tablesorter({
|
||||
theme: 'bootstrap',
|
||||
headerTemplate: '{content} {icon}',
|
||||
cssIcon: 'bi-arrow-down-up',
|
||||
cssIconNone: '',
|
||||
cssIconDisabled: '',
|
||||
cssIconAsc: 'bi-arrow-up',
|
||||
cssIconDesc: 'bi-arrow-down',
|
||||
});
|
||||
});
|
||||
|
||||
class UserEntry {
|
||||
constructor(username, isMember, rowElement) {
|
||||
this.username = username;
|
||||
|
@ -1,10 +0,0 @@
|
||||
$(function() {
|
||||
$("table").tablesorter({
|
||||
theme: 'bootstrap',
|
||||
headerTemplate: '{content} {icon}',
|
||||
cssIcon: 'bi-arrow-down-up',
|
||||
cssIconNone: '',
|
||||
cssIconAsc: 'bi-arrow-up',
|
||||
cssIconDesc: 'bi-arrow-down',
|
||||
});
|
||||
});
|
@ -1,10 +0,0 @@
|
||||
$(function() {
|
||||
$("table").tablesorter({
|
||||
theme: 'bootstrap',
|
||||
headerTemplate: '{content} {icon}',
|
||||
cssIcon: 'bi-arrow-down-up',
|
||||
cssIconNone: '',
|
||||
cssIconAsc: 'bi-arrow-up',
|
||||
cssIconDesc: 'bi-arrow-down',
|
||||
});
|
||||
});
|
@ -26,7 +26,6 @@
|
||||
<body>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.1/dist/jquery.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/tablesorter@2.31.3/dist/js/jquery.tablesorter.combined.min.js" integrity="sha256-ounC3wWwZ9iBUyF8x1+X+REppGjK+p6/+w+ky1MGoMM=" crossorigin="anonymous"></script>
|
||||
<nav class="navbar navbar-expand-lg bg-light">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="{{ url_for('index') }}">
|
||||
|
@ -38,5 +38,4 @@
|
||||
<p class="text-muted">There are currently no groups.</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<script src="{{ url_for('static', filename='js/group_list.js') }}"></script>
|
||||
{% endblock content %}
|
||||
|
@ -50,5 +50,4 @@
|
||||
<p class="text-muted">There are currently no users.</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<script src="{{ url_for('static', filename='js/user_tables.js') }}"></script>
|
||||
{% endblock content %}
|
||||
|
Loading…
Reference in New Issue
Block a user