mirror of https://github.com/calzoneman/sync.git
add checkboxes to add as temporary
This commit is contained in:
parent
cec68d0f2a
commit
bf3832fb3a
|
@ -87,6 +87,10 @@ html(lang="en")
|
||||||
button#queue_next.btn.btn-default Next
|
button#queue_next.btn.btn-default Next
|
||||||
span.input-group-btn
|
span.input-group-btn
|
||||||
button#queue_end.btn.btn-default At End
|
button#queue_end.btn.btn-default At End
|
||||||
|
.checkbox
|
||||||
|
label
|
||||||
|
input.add-temp(type="checkbox")
|
||||||
|
| Add as temporary
|
||||||
#searchcontrol.collapse.plcontrol-collapse.col-lg-12.col-md-12
|
#searchcontrol.collapse.plcontrol-collapse.col-lg-12.col-md-12
|
||||||
.vertical-spacer
|
.vertical-spacer
|
||||||
.input-group
|
.input-group
|
||||||
|
@ -95,6 +99,10 @@ html(lang="en")
|
||||||
button#library_search.btn.btn-default Library
|
button#library_search.btn.btn-default Library
|
||||||
span.input-group-btn
|
span.input-group-btn
|
||||||
button#youtube_search.btn.btn-default YouTube
|
button#youtube_search.btn.btn-default YouTube
|
||||||
|
.checkbox
|
||||||
|
label
|
||||||
|
input.add-temp(type="checkbox")
|
||||||
|
| Add as temporary
|
||||||
ul#library.videolist.col-lg-12.col-md-12
|
ul#library.videolist.col-lg-12.col-md-12
|
||||||
#customembed.collapse.plcontrol-collapse.col-lg-12.col-md-12
|
#customembed.collapse.plcontrol-collapse.col-lg-12.col-md-12
|
||||||
.vertical-spacer
|
.vertical-spacer
|
||||||
|
@ -104,6 +112,10 @@ html(lang="en")
|
||||||
button#ce_queue_next.btn.btn-default Next
|
button#ce_queue_next.btn.btn-default Next
|
||||||
span.input-group-btn
|
span.input-group-btn
|
||||||
button#ce_queue_end.btn.btn-default At End
|
button#ce_queue_end.btn.btn-default At End
|
||||||
|
.checkbox
|
||||||
|
label
|
||||||
|
input.add-temp(type="checkbox")
|
||||||
|
| Add as temporary
|
||||||
| Paste the embed code below and click Next or At End.
|
| Paste the embed code below and click Next or At End.
|
||||||
| Acceptable embed codes are <code><iframe></code> and <code><object></code> tags.
|
| Acceptable embed codes are <code><iframe></code> and <code><object></code> tags.
|
||||||
textarea#customembed-content.input-block-level.form-control(rows="3")
|
textarea#customembed-content.input-block-level.form-control(rows="3")
|
||||||
|
@ -113,6 +125,10 @@ html(lang="en")
|
||||||
input#userpl_name.form-control(type="text", placeholder="Playlist Name")
|
input#userpl_name.form-control(type="text", placeholder="Playlist Name")
|
||||||
span.input-group-btn
|
span.input-group-btn
|
||||||
button#userpl_save.btn.btn-default Save
|
button#userpl_save.btn.btn-default Save
|
||||||
|
.checkbox
|
||||||
|
label
|
||||||
|
input.add-temp(type="checkbox")
|
||||||
|
| Add as temporary
|
||||||
ul#userpl_list.videolist
|
ul#userpl_list.videolist
|
||||||
#queuefail.col-lg-12.col-md-12
|
#queuefail.col-lg-12.col-md-12
|
||||||
.vertical-spacer
|
.vertical-spacer
|
||||||
|
|
|
@ -323,7 +323,8 @@ function queue(pos, src) {
|
||||||
id: content,
|
id: content,
|
||||||
title: title,
|
title: title,
|
||||||
pos: pos,
|
pos: pos,
|
||||||
type: "cu"
|
type: "cu",
|
||||||
|
temp: $(".add-temp").prop("checked")
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
var link = $("#mediaurl").val();
|
var link = $("#mediaurl").val();
|
||||||
|
@ -337,7 +338,8 @@ function queue(pos, src) {
|
||||||
socket.emit("queue", {
|
socket.emit("queue", {
|
||||||
id: data.id,
|
id: data.id,
|
||||||
type: data.type,
|
type: data.type,
|
||||||
pos: pos
|
pos: pos,
|
||||||
|
temp: $(".add-temp").prop("checked")
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -628,3 +630,7 @@ var toggleUserlist = function () {
|
||||||
|
|
||||||
$("#usercount").click(toggleUserlist);
|
$("#usercount").click(toggleUserlist);
|
||||||
$("#userlisttoggle").click(toggleUserlist);
|
$("#userlisttoggle").click(toggleUserlist);
|
||||||
|
|
||||||
|
$(".add-temp").change(function () {
|
||||||
|
$(".add-temp").prop("checked", $(this).prop("checked"));
|
||||||
|
});
|
||||||
|
|
|
@ -983,7 +983,8 @@ function addLibraryButtons(li, id, source) {
|
||||||
socket.emit("queue", {
|
socket.emit("queue", {
|
||||||
id: id,
|
id: id,
|
||||||
pos: "next",
|
pos: "next",
|
||||||
type: type
|
type: type,
|
||||||
|
temp: $(".add-temp").prop("checked")
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.appendTo(btns);
|
.appendTo(btns);
|
||||||
|
@ -994,7 +995,8 @@ function addLibraryButtons(li, id, source) {
|
||||||
socket.emit("queue", {
|
socket.emit("queue", {
|
||||||
id: id,
|
id: id,
|
||||||
pos: "end",
|
pos: "end",
|
||||||
type: type
|
type: type,
|
||||||
|
temp: $(".add-temp").prop("checked")
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.appendTo(btns);
|
.appendTo(btns);
|
||||||
|
|
Loading…
Reference in New Issue