Theme fixes; layout fixes; limit channel registrations
This commit is contained in:
parent
07feb91cc6
commit
359a228d5f
10 changed files with 110 additions and 38 deletions
|
|
@ -485,7 +485,6 @@ $("#cs-chanranks-owner").click(chanrankSubmit.bind(this, 4));
|
|||
$(".plcontrol-collapse").collapse("hide");
|
||||
$("#plcontrol button.active").button("toggle");
|
||||
if (!wasActive) {
|
||||
console.log($(id)[0].className);
|
||||
$(id).button("toggle");
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -671,9 +671,8 @@ function applyOpts() {
|
|||
|
||||
if(USEROPTS.hidevid) {
|
||||
$("#qualitywrap").html("");
|
||||
$("#videowrap").remove();
|
||||
removeVideo();
|
||||
$("#chatwrap").removeClass("col-lg-5 col-md-5").addClass("col-lg-12 col-md-12");
|
||||
$("#chatline").removeClass().addClass("col-lg-12 col-md-12 form-control");
|
||||
}
|
||||
|
||||
$("#chatbtn").remove();
|
||||
|
|
@ -1442,14 +1441,13 @@ function hdLayout() {
|
|||
$("#mainpage").css("padding-top", "0");
|
||||
|
||||
$("body").addClass("hd");
|
||||
setTimeout(resizeStuff, 500);
|
||||
}
|
||||
|
||||
function chatOnly() {
|
||||
//fluidLayout();
|
||||
$("#toprow").remove()
|
||||
$("#announcements").remove();
|
||||
$("#playlistrow").remove();
|
||||
$("#videowrap").remove();
|
||||
removeVideo();
|
||||
$("#controlsrow").remove();
|
||||
$("#chatwrap").removeClass("col-lg-5 col-md-5").addClass("col-lg-12 col-md-12");
|
||||
}
|
||||
|
|
@ -1460,7 +1458,7 @@ function resizeStuff() {
|
|||
$("#ytapiplayer").width(VWIDTH).height(VHEIGHT);
|
||||
|
||||
// Only execute if we are on a fluid layout
|
||||
if ($("body").hasClass("fluid")) {
|
||||
if (!$("body").hasClass("fluid")) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -1471,6 +1469,18 @@ function resizeStuff() {
|
|||
|
||||
$(window).resize(resizeStuff);
|
||||
|
||||
function removeVideo() {
|
||||
try {
|
||||
PLAYER.setVolume(0);
|
||||
if (PLAYER.type === "rv") {
|
||||
$(PLAYER.player).remove();
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
|
||||
$("#videowrap").remove();
|
||||
}
|
||||
|
||||
/* channel administration stuff */
|
||||
|
||||
function genPermissionsEditor() {
|
||||
|
|
|
|||
30
www/css/themes/bootstrap-theme.min.css
vendored
30
www/css/themes/bootstrap-theme.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -7713,6 +7713,10 @@ input.form-control[type="email"], textarea.form-control {
|
|||
color: #c8c8c8;
|
||||
}
|
||||
|
||||
.queue_entry {
|
||||
background-color: #060606;
|
||||
}
|
||||
|
||||
.queue_active {
|
||||
background-color: #333333;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,10 @@ footer {
|
|||
background-color: #eeeeee !important;
|
||||
}
|
||||
|
||||
.queue_entry {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.queue_active {
|
||||
background-color: #d9edf7;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7989,6 +7989,10 @@ input.form-control[type="email"], textarea.form-control {
|
|||
color: #c8c8c8;
|
||||
}
|
||||
|
||||
.queue_entry {
|
||||
background-color: #272b30;
|
||||
}
|
||||
|
||||
.queue_active {
|
||||
background-image: -webkit-linear-gradient(#8a9196, #7a8288 60%, #70787d);
|
||||
background-image: linear-gradient(#8a9196, #7a8288, #70787d);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue