Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

making links distinguishable- by table #66

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions nuancier/templates/result_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,22 @@ <h3>Overview</h3>
<p>The elections below have ended and their results are now public. </p>

{% if elections %}
<ul>
<table border=1>
{% for election in elections %}
<li>
<a href="{{ url_for('results', election_id=election.id) }}">
<tr>
<td>
<a href="{{ url_for('results', election_id=election.id) }}">
{{ election.election_name }} - {{ election.election_year }}
</a> -
<a href="{{ url_for('stats', election_id=election.id) }}">
</a>
</td>
<td>
<a href="{{ url_for('stats', election_id=election.id) }}">
stats
</a>
</li>
</a>
</td>
</tr>
{% endfor %}
</ul>
</table>
{% else %}
<p class="error">No election results have been made public (yet).</p>
{% endif %}
Expand Down