Last active
February 21, 2018 19:36
-
-
Save scottwater/2ff11db8e564aff9a1d15bc4b62d7900 to your computer and use it in GitHub Desktop.
Customize your LeaderBoard name list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="template" id="incognito_rows"> | |
<thead> | |
<tr> | |
<th>{{board_settings.rank_text}}</th> | |
<th>{{board_settings.who_text}}</th> | |
<th>{{board_settings.score_text}}</th> | |
</tr> | |
</thead> | |
<tbody> | |
{{#data.leads}} | |
<tr class="{{user_class}}"> | |
<td>{{board_rank}}</td> | |
<td>{{social_id}}</td> | |
<td>{{score}}</td> | |
</tr> | |
{{/data.leads}} | |
</tbody> | |
</script> | |
<script> | |
var kol_leader_board_options = {templates: {leads: document.getElementById('incognito_rows').innerHTML}}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment