Skip to content

Instantly share code, notes, and snippets.

@rotemtam
Created August 24, 2015 14:58
Show Gist options
  • Select an option

  • Save rotemtam/fff898ec768b7dae6c13 to your computer and use it in GitHub Desktop.

Select an option

Save rotemtam/fff898ec768b7dae6c13 to your computer and use it in GitHub Desktop.
<div class="row" ng-if="game.data.state == 'waitingForPlayers'">
<div class="jumbotron">
<h1>Join our game!</h1>
<h2>Go to http://someaddress.com on your smartphone</h2>
<h2>Our PIN code is {{game.$id}}</h2>
<p><button class="btn btn-success" ng-click="startGame()">Let's begin!</button></p>
</div>
<div class="col-md-12">
<div class="well">
<h3>Who's here:</h3>
<ul>
<li ng-repeat="player in game.data.users">
{{player.screen_name}}
</li>
</ul>
</div>
</div>
</div>
<div class="row" ng-if="game.data.state == 'waitingForPlayers'">
<div class="jumbotron">
<h1>Next question will be displayed in {{countdown}} seconds.. </h1>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment