WebHost: add per-game yaml file downloads

This commit is contained in:
Fabian Dill
2021-08-31 18:58:54 +02:00
parent 01f1545b3e
commit 88c5ebdd2f
2 changed files with 34 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
{% extends 'pageWrapper.html' %}
{% block head %}
{% include 'header/grassHeader.html' %}
<title>Option Templates (YAML)</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename="styles/markdown.css") }}" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.9.1/showdown.min.js"
integrity="sha512-L03kznCrNOfVxOUovR6ESfCz9Gfny7gihUX/huVbQB9zjODtYpxaVtIaAkpetoiyV2eqWbvxMH9fiSv5enX7bw=="
crossorigin="anonymous"></script>
{% endblock %}
{% block body %}
<div>
<h1>Option Templates (YAML)</h1>
<ul>
{% for file in files %}
<li><a href="{{ url_for('static', filename="generated/"+file) }}">{{ file }}</a></li>
{% endfor %}
</ul>
</div>
{% endblock %}