scoreboard v 0.1 we'll say

This commit is contained in:
Jason White
2017-05-05 13:12:01 -04:00
parent aeaa3cd1a2
commit 480dfe6a0a
4 changed files with 69 additions and 9 deletions

View File

@ -1,4 +1,15 @@
<table>
<! -- iterate for header rows -->
<!--
<div class="scoreboard-title">WebGoat Challenge</div>
<table class="scoreboard-table">
<% _.each(rankings, function(userRanking) { %>
<tr>
<th class="username"> <div class="scoreboard-username"><%= userRanking.username %> </div></th>
<td class="user-flags"> <% _.each(userRanking.flagsCaptured, function(flag) { %>
<div class="captured-flag">
<i class="fa fa-flag" aria-hidden="true"></i>
<%=flag%> </div>
<% }); %>
</td>
</tr>
<% }); %>
</table>