mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 11:01:47 +02:00
Only highlight upcoming entries
This commit is contained in:
parent
0fbcdf9799
commit
21e03fa179
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user