Fix serial number in frontend index.

This commit is contained in:
chiu committed 2024-08-11 10:20:43 +08:00
1 parent e2b132c21d
commit 7c83a992d2
2 files changed
+20 -16

No files matched your search

-16
View File
@@ -36,21 +36,9 @@
.universal-table-index tbody {
counter-reset: item;
}
.universal-table-index tbody > tr > td:first-child:before {
content: counter(item);
counter-increment: item;
}
.universal-table-index thead > tr > th:first-child:before {
content: "No.";
}
.universal-table-index thead > tr > th:first-child {
width: 4em;
}
.universal-th-icon {
border: 1px solid #eee;
padding: 5px 8px;
@@ -102,7 +90,3 @@
<div>{{total_entries}}</div>
<div>{{export_button}}</div>
{{pagination_goes_here}}
<script>
$('.universal-table-index thead tr').prepend('<th></th>')
$('.universal-table-index tbody tr').prepend('<td></td>')
</script>