Slight layout tweak

Also added a "current video" indicator
This commit is contained in:
calzoneman 2013-03-16 15:13:40 -05:00
parent dbb86a73a8
commit c5d9350351
3 changed files with 6 additions and 4 deletions

View file

@ -45,7 +45,7 @@
overflow-x: hidden; overflow-x: hidden;
height: 360px; height: 360px;
float: left; float: left;
width: 200px; width: 150px;
border: 1px solid #aaaaaa; // [](/z13) border: 1px solid #aaaaaa; // [](/z13)
} }
@ -57,7 +57,7 @@
} }
#chatline { #chatline {
width: 100%; width: 456px;
} }
.userlist_siteadmin { .userlist_siteadmin {

View file

@ -106,6 +106,7 @@ function initCallbacks() {
}); });
socket.on('mediaUpdate', function(data) { socket.on('mediaUpdate', function(data) {
$('#currenttitle').text("Currently Playing: " + data.title);
if(data.type == "yt") if(data.type == "yt")
updateYT(data); updateYT(data);
else if(data.type == "tw") else if(data.type == "tw")

View file

@ -53,7 +53,7 @@
</div> </div>
</div> </div>
<div class="row" style="margin-top: 20px;"> <div class="row" style="margin-top: 20px;">
<div class="span6"> <div class="span5">
<p id="usercount"></p> <p id="usercount"></p>
<div id="userlist"> <div id="userlist">
</div> </div>
@ -61,7 +61,8 @@
</div> </div>
<input type="text" id="chatline"> <input type="text" id="chatline">
</div> </div>
<div class="span6"> <div class="span7">
<p id="currenttitle">Currently Playing: </p>
<div id="ytapiplayer"> <div id="ytapiplayer">
</div> </div>
</div> </div>