mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-15 09:12:21 +01:00
Visual changes
This commit is contained in:
committed by
Gerdriaan Mulder
parent
1ca9080017
commit
2fcd827b85
@ -40,8 +40,8 @@ footer {
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
}
|
||||
|
||||
.requested_song .plays-at, .requested_song .requested-by {
|
||||
font-weight: bold;
|
||||
tr.requested_song{
|
||||
border-left: 1px solid #777777;
|
||||
}
|
||||
|
||||
.table-header-style td, .table-header-style{
|
||||
|
||||
@ -183,6 +183,11 @@ function updateTime() {
|
||||
}
|
||||
if (infobar['end_personal_queue'] !== 0){
|
||||
$('.start-queue').text("First song starts " + showExactOrRelative(infobar['start_personal_queue']));
|
||||
if (infobar['length_personal_queue'] > infobar['max_length'] * 60) {
|
||||
$('.duration-queue').addClass('text-danger');
|
||||
} else {
|
||||
$('.duration-queue').removeClass('text-danger');
|
||||
}
|
||||
$('.duration-queue').text( " (" + (infobar['length_personal_queue']).secondsToMMSS() + ")");
|
||||
$('.end-queue').text("Last song ends " + showExactOrRelative(infobar['end_personal_queue']));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user