mirror of
https://github.com/Circlepuller/Tinyboard.git
synced 2025-01-17 13:28:31 +01:00
FontAwesome icons for tablesorter
This commit is contained in:
parent
c000d4e04a
commit
f365e20ef2
@ -1,31 +0,0 @@
|
||||
.longtable {
|
||||
display: block;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.longtable > tbody {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.longtable > tbody > tr {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
clear: left;
|
||||
width: 100%;
|
||||
}
|
||||
.longtable > tbody > tr > td {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
float: left;
|
||||
padding: 0;
|
||||
}
|
||||
.longtable > tbody > tr > th {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
float: left;
|
||||
padding: 0;
|
||||
}
|
||||
.longtable > tbody > tr > th.sortable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
@ -497,6 +497,24 @@ table.modlog tr th {
|
||||
background: #98E;
|
||||
}
|
||||
|
||||
table.tablesorter thead tr th.headerSortUp:after,
|
||||
table.tablesorter thead tr th.headerSortDown:after,
|
||||
table.tablesorter thead tr th.header:after {
|
||||
font-family: FontAwesome;
|
||||
}
|
||||
|
||||
table.tablesorter thead tr th.header:after {
|
||||
content: "\f0dc";
|
||||
}
|
||||
|
||||
table.tablesorter thead tr th.headerSortUp:after {
|
||||
content: "\f0de";
|
||||
}
|
||||
|
||||
table.tablesorter thead tr th.headerSortDown:after {
|
||||
content: "\f0dd";
|
||||
}
|
||||
|
||||
td.minimal,th.minimal {
|
||||
width: 1%;
|
||||
white-space: nowrap;
|
||||
|
@ -3,7 +3,7 @@
|
||||
{% else %}
|
||||
<form action="?/bans" method="post">
|
||||
<input type="hidden" name="token" value="{{ token }}">
|
||||
<table class="mod" style="width:100%">
|
||||
<table class="modlog">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans 'IP address/mask' %}</th>
|
||||
|
@ -54,7 +54,7 @@
|
||||
</table>
|
||||
<script>
|
||||
if (typeof $ !== 'undefined' && $.tablesorter)
|
||||
$('table.mod').tablesorter({
|
||||
$('table.modlog').tablesorter({
|
||||
textExtraction: (node) => {
|
||||
let attr = $(node).data('sort-value');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user