Add PGN Archive download buttons, and API endpoint

This commit is contained in:
andrew committed 2023-12-11 13:29:43 -05:00
1 parent 468281d52e
commit c9b889eb9c
3 files changed
+34 -1

No files matched your search

+9
View File
@@ -105,6 +105,15 @@
</a>
</div>
{% if test.upload_pgns != 'FALSE' %}
<div class="anchor-container">
<!-- PGN Download Button -->
<a class="mt-1 anchorbutton btn-blue" href="/api/pgns/{{test.id}}/">
Download PGN Archive
</a>
</div>
{% endif %}
<!-- Elo, (SPRT/LRR if SPRT, otherwise CONF), Games -->
<pre class="long-statblock" id="long-statblock">{{test|longStatBlock|linebreaksbr}}</pre>