Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/tanelt/megaspeaker
Browse files Browse the repository at this point in the history
Conflicts:
	lib/public/master.html
  • Loading branch information
msokk committed Mar 25, 2012
2 parents 69ecdd1 + fa06a14 commit 8f9b916
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
13 changes: 11 additions & 2 deletions lib/public/css/style.css
Expand Up @@ -269,7 +269,16 @@ body {
background-size: contain;
}


#speaker-on {
position: absolute;
top: 8.4em;
left: 9.4em;
width: 3.4em;
height: 3.4em;
background: #25E610;
-webkit-border-radius: 3.4em;
display: none;
}

.counter {
position: absolute;
Expand All @@ -295,7 +304,7 @@ body {
}

#playBtn img {
width: 175px;
width: 172px;
}

header {
Expand Down
5 changes: 3 additions & 2 deletions lib/public/index.html
Expand Up @@ -53,12 +53,13 @@ <h1 id="title"></h1>
</div>
<div id="loading"></div>
<div id="speakerBg">
<div id="speaker-animation"></div>
<a href="#" id="playBtn">
<img src="/img/play.png" alt="Play" title="Play" />
<img src="/img/power.png" alt="Power On!" title="Power On!" />
</a>
<span id="readySpeakers" class="counter" title="Ready speakers">0</span>
<span id="totalSpeakers" class="counter" title="Total speakers">0</span>
<div id="speaker-animation"></div>
<div id="speaker-on"></div>
</div>

</div>
Expand Down
3 changes: 2 additions & 1 deletion lib/public/js/app_client.js
Expand Up @@ -199,7 +199,8 @@ $(function() {
// Player started
ms.on('ready', function() {
ms.socket.emit('playerReady');
$("#playBtn").remove();
$("#playBtn").hide();
$("#speaker-on").show();
});

// Track loaded
Expand Down
2 changes: 1 addition & 1 deletion lib/public/master.html
Expand Up @@ -82,7 +82,7 @@
</div>
<div class="ready" style="display: none;"></div>
<div class="play"></div>
<div class="stop"></div>
<div class="stop"></div>
<!-- <div class="pause"></div>-->
</div>
</div>
Expand Down

0 comments on commit 8f9b916

Please sign in to comment.