-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #436 from freezingsaddles/consistency
Styling consistency is key
- Loading branch information
Showing
19 changed files
with
392 additions
and
368 deletions.
There are no files selected for viewing
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
148 changes: 73 additions & 75 deletions
148
freezing/web/templates/alt_scoring/indiv_worst_day_points.html
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,39 @@ | ||
{% extends "base.html" %} | ||
{% block content %} | ||
<h2 class="mb-3"> | ||
Team Wins by Day | ||
</h2> | ||
<p> | ||
For each day, the team with the highest daily total gets {{ team_total|length }} points. Second gets {{ team_total|length - 1 }}, down to 1 for the last place team. | ||
</p> | ||
<div class="card"> | ||
<h5 class="card-header"> | ||
Team Points by Day | ||
</h5> | ||
<div class="card-body"> | ||
<p> | ||
For each day, the team with the highest daily total gets {{ team_total|length }} points. Second gets {{ team_total|length - 1 }}, down to 1 for the last place team. | ||
</p> | ||
<ol> | ||
{% for a,b in team_total %} | ||
<li> | ||
<strong>{{ b }}</strong> {{ a }} | ||
</li> | ||
<div class="card-body py-1"> | ||
<table class="table table-condensed"> | ||
<tr> | ||
<th class="number rank"> | ||
Rank | ||
</th> | ||
<th> | ||
Team | ||
</th> | ||
<th class="number"> | ||
Points | ||
</th> | ||
</tr> | ||
{% for a, b in team_total %} | ||
<tr> | ||
<td class="number rank"> | ||
{{ loop.index }} | ||
</td> | ||
<td> | ||
{{ b }} | ||
</td> | ||
<td class="number"> | ||
{{ a| round(1) }} | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</ol> | ||
</table> | ||
</div> | ||
</div> | ||
{% endblock %} |
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
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
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
Oops, something went wrong.