-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscoresheets.html
executable file
·41 lines (38 loc) · 1.97 KB
/
scoresheets.html
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
37
38
39
40
41
---
layout: default
title: Scoresheets
---
<div class="text-center">
<p class="mx-auto lg:w-1/2 w-full leading-relaxed text-base mb-4">
RopeScore is built to work with competitions run on paper,
we've prepared scoresheets for several rulesets RopeScore support
to help you get up and running quickly.
</p>
</div>
<table class="table-auto w-full hidden sm:table">
<thead>
<tr class="border-b">
<th class="px-4 py-2 text-right">Ruleset</th>
<th class="px-4 py-2 text-left">PDF</th>
<th class="px-4 py-2 text-left">ZIP</th>
</tr>
</thead>
<tbody>
{% for scoresheet in site.data.scoresheets %}
<tr class="{% cycle '', 'bg-gray-100' %} border-b">
<th class="px-4 py-2 text-right">{{ scoresheet.ruleset }}</th>
<td class="px-4 py-2"><a class="text-indigo-500 hover:text-indigo-800 underline" href="/static/scoresheets/{{ scoresheet.folder }}/{{ scoresheet.fileBase }}.pdf" target="_blank" rel="noopener" aria-label="{{ scoresheet.ruleset }} PDF Download">Download</a></td>
<td class="px-4 py-2"><a class="text-indigo-500 hover:text-indigo-800 underline" href="/static/scoresheets/{{ scoresheet.folder }}/{{ scoresheet.fileBase }}.zip" target="_blank" rel="noopener" aria-label="{{ scoresheet.ruleset }} ZIP Download">Download</a></td>
</tr>
{% endfor %}
</tbody>
</table>
{% for scoresheet in site.data.scoresheets %}
<div class="sm:hidden pb-4">
<h2 class="text-xl font-medium title-font mb-2">{{ scoresheet.ruleset }}</h2>
<ul class="list-disc pl-6">
<li><a class="text-indigo-500 hover:text-indigo-800 underline" href="/static/scoresheets/{{ scoresheet.folder }}/{{ scoresheet.fileBase }}.pdf" target="_blank" rel="noopener">{{ scoresheet.ruleset }} PDF Download</a></td>
<li><a class="text-indigo-500 hover:text-indigo-800 underline" href="/static/scoresheets/{{ scoresheet.folder }}/{{ scoresheet.fileBase }}.zip" target="_blank" rel="noopener">{{ scoresheet.ruleset }} ZIP Download</a></td>
</ul>
</div>
{% endfor %}