Only highlight upcoming entries

This commit is contained in:
Phillip Kühne 2019-08-22 16:48:07 +02:00
parent 0fbcdf9799
commit 21e03fa179
3 changed files with 6 additions and 6 deletions

View File

@ -33,22 +33,22 @@ table td {
text-overflow: ellipsis;
}
tbody tr:first-child {
table.entries tbody tr:first-child {
background-color: #007bff80;
font-weight: 600;
}
tbody tr:nth-child(2) {
table.entries tbody tr:nth-child(2) {
background-color: #007bff40;
font-weight: 500;
}
tbody tr:nth-child(3) {
table.entries tbody tr:nth-child(3) {
background-color: #007bff20;
font-weight: 400;
}
tbody tr:nth-child(4) {
table.entries tbody tr:nth-child(4) {
background-color: #007bff10;
}

View File

@ -4,7 +4,7 @@
{% block title %}Warteliste{% endblock %}
{% block content %}
<a id="bfb" role="button" class="btn btn-primary btn-lg btn-block mb-2" href="/list">Eintragen</a>
<table class="table"
<table class="table entries"
data-toggle="table"
data-url="/api/queue"
data-pagination="true"

View File

@ -18,7 +18,7 @@ table td:nth-child(2) {
aktualisieren</button>
<input id="entryToggle" type="checkbox" class="topbutton" data-toggle="toggle" data-on="Eintragen erlaubt" data-off="Eintragen deaktiviert" data-onstyle="success" data-offstyle="danger">
</div>
<table class="table"
<table class="table entries"
id="entrytable"
data-toggle="table"
data-search="true"