Skip to content

Commit

Permalink
Merge pull request #144 from EarthSchlange/fix_td_table_on_info_page
Browse files Browse the repository at this point in the history
Added border to tournament directors table.
Michael Hiiva authored Jan 6, 2021
2 parents 853fa32 + 4ec536c commit 67c6eb4
Showing 2 changed files with 44 additions and 21 deletions.
15 changes: 15 additions & 0 deletions agagd/static/css/agagd.css
Original file line number Diff line number Diff line change
@@ -406,3 +406,18 @@ div.ui-datepicker{
clear: both
}

/*
* Tables
*/

table.tournament-directors-info-table {
margin: 0 auto;
border: .25rem solid black;
border-collapse: collapse;
}

table.tournament-directors-info-table th,
table.tournament-directors-info-table td {
padding: .125rem;
border: .25rem solid black;
}
50 changes: 29 additions & 21 deletions agagd/templates/static_pages/information.html
Original file line number Diff line number Diff line change
@@ -26,27 +26,35 @@ <h2>Additional Information</h2>
<li>Answers to the <a href="https://www.usgo.org/files/pdf/ratingquestions.pdf">most commonly asked questions about the rating system</a> (May 1992)</li>
<li>A more detailed <a href="https://www.usgo.org/files/pdf/AGARatings-Math.pdf">mathematical description</a> of the ratings system (April 2010)</li>
<li><a href="https://www.usgo.org/files/pdf/bayrate.zip">Source code</a> for the AGA rating algorithm</li>
<li>Tournament Directors: <br>
<table style="border: 1px solid black">
<tr>
<th>TD List Name</th>
<th>Delimiter</th>
<th>Columns displayed</th>
</tr>
<tr>
<th><a href="https://usgo.org/mm/tdlista.txt">TDListA</a></th>
<th>Tab</th>
<th>MememberName AGAID MememberType Rating RenewalDue ChapterCode State Sigma RatingUpdated</th>
</tr><tr>
<th><a href="https://usgo.org/mm/tdlistb.txt">TDListB</a></th>
<th>Tab</th>
<th>MememberName AGAID MememberType Rating RenewalDue ChapterName State Sigma RatingUpdated</th>
</tr><tr>
<th><a href="https://usgo.org/mm/tdlistn.txt">TDListN</a></th>
<th>Tab</th>
<th>MememberName AGAID MememberType Rating RenewalDue ChapterCode State || Fixed Width</th>
</tr>
</table> </li>
<li>Tournament Directors:</li>
<li style="list-style: none">
<table class="tournament-directors-info-table">
<thead>
<tr>
<th>TD List Name</th>
<th>Delimiter</th>
<th>Columns displayed</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://usgo.org/mm/tdlista.txt">TDListA</a></td>
<td>Tab</td>
<td>MememberName AGAID MememberType Rating RenewalDue ChapterCode State Sigma RatingUpdated</td>
</tr>
<tr>
<td><a href="https://usgo.org/mm/tdlistb.txt">TDListB</a></td>
<td>Tab</td>
<td>MememberName AGAID MememberType Rating RenewalDue ChapterName State Sigma RatingUpdated</td>
</tr>
<tr>
<td><a href="https://usgo.org/mm/tdlistn.txt">TDListN</a></td>
<td>Tab</td>
<td>MememberName AGAID MememberType Rating RenewalDue ChapterCode State || Fixed Width</td>
</tr>
</tbody>
</table>
</li>
</ul>

{% endblock %}

0 comments on commit 67c6eb4

Please sign in to comment.