diff options
Diffstat (limited to 'src/views/league.mustache')
-rw-r--r-- | src/views/league.mustache | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/views/league.mustache b/src/views/league.mustache new file mode 100644 index 0000000..46af60a --- /dev/null +++ b/src/views/league.mustache @@ -0,0 +1,36 @@ +<h1>{{league.name}}</h1> +<div class="grid"> + {{#player_scores}} + <div><strong>{{player}} - {{score}}</strong></div> + {{/player_scores}} +</div> +<main class="container"> +<table class="striped"> + <thead> + <tr> + <th scope="col">Team</th> + <th scope="col">Player</th> + <th scope="col" style="width: 11em">Total</th> + </tr> + </thead> + <tbody> + {{#scores}} + <tr> + <td scope="row">{{team}}</td> + <td>{{player}}</td> + <td> + <a href="#">{{total}}</a> + <p> + <small><strong>Wins:</strong> {{win}} + {{#playoffs}}, <strong>Made the Playoffs:</strong> {{.}}{{/playoffs}} + {{#divisional}}, <strong>Made the Divisional Round:</strong> {{.}}{{/divisional}} + {{#conference}}, <strong>Made the Conference Championship:</strong> {{.}}{{/conference}} + {{#champion}}, <strong>Superbowl Winner:</strong> {{.}}{{/champion}} + </small> + </p> + </td> + </tr> + {{/scores}} + </tbody> +</table> +</main> |