restore tracker to known ugliness

This commit is contained in:
Fabian Dill 2020-07-19 20:52:04 +02:00
parent 788f0e9af9
commit e13136ea7d
2 changed files with 6 additions and 14 deletions

View File

@ -7,6 +7,10 @@ table.dataTable.table-sm > thead > tr > th :not(.sorting_disabled) {
content: "" !important;
}
.dataTable > thead > tr > th :not(.sorting_disabled) {
padding-right: 0 !important;
}
th {
padding: 1px !important;
}

View File

@ -2,21 +2,9 @@
{% block head %}
<title>Multiworld Tracker for Room {{ room.id }}</title>
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("static.css") }}"/>
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
crossorigin="anonymous" />
<link rel="stylesheet"
href="https://cdn.datatables.net/1.10.21/css/dataTables.bootstrap4.min.css" />
<script type="application/ecmascript"
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs="
crossorigin="anonymous"></script>
<script type="application/ecmascript"
src="https://cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js"></script>
<script type="application/ecmascript"
src="https://cdn.datatables.net/1.10.21/js/dataTables.bootstrap4.min.js"></script>
<script src="{{ static_autoversion("jquery.scrollsync.js") }}"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4-4.1.1/jq-3.3.1/dt-1.10.21/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/v/bs4-4.1.1/jq-3.3.1/dt-1.10.21/datatables.min.js"></script>
<script>
window.onload = () => {
let tables = $(".table").DataTable({