Change icons for next and temp, update help.html

This commit is contained in:
calzoneman 2013-05-11 18:15:48 -04:00
parent 369517945b
commit 161c8517b2
4 changed files with 25 additions and 10 deletions

View file

@ -510,7 +510,8 @@ Callbacks = {
var li = $("#queue").children()[data.idx];
var buttons = $(li).find(".qe_btn");
if(buttons.length == 5) {
$(buttons[4]).text(data.temp ? "Untemp" : "Temp");
$(buttons[4]).removeClass("btn-danger btn-success");
$(buttons[4]).addClass(data.temp ? "btn-success" : "btn-danger");
}
if(data.temp) {
$(li).addClass("alert alert-error");