aboutsummaryrefslogtreecommitdiffstats
path: root/src/views/league.mustache
blob: 46af60ada149e7386ca2f92796ef35ff448cc332 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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>