mirror of https://github.com/calzoneman/sync.git
Slight layout tweak
Also added a "current video" indicator
This commit is contained in:
parent
dbb86a73a8
commit
c5d9350351
|
@ -45,7 +45,7 @@
|
|||
overflow-x: hidden;
|
||||
height: 360px;
|
||||
float: left;
|
||||
width: 200px;
|
||||
width: 150px;
|
||||
border: 1px solid #aaaaaa; // [](/z13)
|
||||
}
|
||||
|
||||
|
@ -57,7 +57,7 @@
|
|||
}
|
||||
|
||||
#chatline {
|
||||
width: 100%;
|
||||
width: 456px;
|
||||
}
|
||||
|
||||
.userlist_siteadmin {
|
||||
|
|
|
@ -106,6 +106,7 @@ function initCallbacks() {
|
|||
});
|
||||
|
||||
socket.on('mediaUpdate', function(data) {
|
||||
$('#currenttitle').text("Currently Playing: " + data.title);
|
||||
if(data.type == "yt")
|
||||
updateYT(data);
|
||||
else if(data.type == "tw")
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="row" style="margin-top: 20px;">
|
||||
<div class="span6">
|
||||
<div class="span5">
|
||||
<p id="usercount"></p>
|
||||
<div id="userlist">
|
||||
</div>
|
||||
|
@ -61,7 +61,8 @@
|
|||
</div>
|
||||
<input type="text" id="chatline">
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="span7">
|
||||
<p id="currenttitle">Currently Playing: </p>
|
||||
<div id="ytapiplayer">
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue