Found more errors left from the doctype html and cleaned it up

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-19 19:23:56 +02:00
parent a3d1157f57
commit 0236624bd6
6 changed files with 19 additions and 6 deletions

View File

@@ -70,7 +70,6 @@
var socket = io.connect('//'+window.location.hostname+':3000');
var guid = "<?php echo $guid; ?>";
socket.on("get_list", function(){
console.log("get_list");
socket.emit('list', '<?php echo $list; ?>,'+guid);
});
</script>

View File

@@ -555,7 +555,9 @@ ul #chat-log{
}
.switch{
display: inline;
float: right;
/*float: right;*/
position: absolute;
right:10px;
}
.switch label .lever {
background-color: #00B2FF;
@@ -723,6 +725,15 @@ ul #chat-log{
position: absolute !important;
width: 120px;
}
.page-footer{
margin-top:40px !important;
}
.main, #main-row, .video-container, #playlist{
height:100% !important;
}
.control-list li a{ min-width: 0px; width: 37px; padding: 0 0 0 5px;}
nav .zbrand{
@@ -734,6 +745,11 @@ ul #chat-log{
width: calc(100% - 100px);
}
#search_loader{
margin-left: -75px;
margin-top: 5px;
}
.title-container{
background-color: rgba(0,0,0,0.1);
display: inline-block;

View File

@@ -113,7 +113,6 @@ function save(){
function submitAdmin(form)
{
console.log(form);
voting = form.vote.checked;
addsongs = form.addsongs.checked;
longsongs = form.longsongs.checked;

View File

@@ -17,7 +17,6 @@ function chat(data)
setup_chat_listener(chan);
document.getElementById("chat-btn").addEventListener("click", function(){
console.log("clicked");
$("#text-chat-input").focus();
//$("#chat-btn").css("color", "white");
$("#chat-btn i").css("opacity", 1);

View File

@@ -21,7 +21,7 @@ socket.on(chan.toLowerCase(), function(msg){
function channel_function(msg)
{
console.log(msg);
//console.log(msg);
if(msg[0] == "list")
{
full_playlist = msg[1];

View File

@@ -27,7 +27,7 @@ function setup_youtube_listener(channel)
{
socket.on("np", function(obj)
{
console.log(obj);
//console.log(obj);
if(obj[0].length == 0){
console.log("Empty list");
document.getElementById('song-title').innerHTML = "Empty channel. Add some songs!";