Skip to content

Commit

Permalink
Add in num submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
truell20 committed Dec 25, 2016
1 parent 4ef3011 commit 8433141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion website/leaderboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="row" style="margin-top: 21px; margin-bottom: 10px;">
<div class="col-sm-9">
<h1 id="leaderHeading" style="margin-top: 0px;">Leaderboard</h1>
<p>There are <span id="numUsers"></span> users on the Halite leaderboard. Want to join them? Visit our <a href="basics_quickstart.php">getting started guide</a>.</p>
<p>There are <span id="numUsers"></span> users on the Halite leaderboard with <span id="numSubmissions"></span> bot submissions.</p>
</div>
<div class="col-sm-3">
<div class="input-group">
Expand Down
1 change: 1 addition & 0 deletions website/script/leaderboard.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$(function() {
$("#numUsers").html(getNumActiveUsers());
$("#numSubmissions").html(getNumSubmissions());
var userSearch = {
$usernameField: $("#usernameField"),
$submitButton: $("#usernameSubmitButton"),
Expand Down

0 comments on commit 8433141

Please sign in to comment.