Visual changes

This commit is contained in:
Olaf Slomp
2019-04-08 18:09:14 +02:00
committed by Gerdriaan Mulder
parent 1ca9080017
commit 2fcd827b85
4 changed files with 16 additions and 7 deletions

View File

@ -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{

View File

@ -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']));
}