Link /games to player-settings pages, add link to template file to player-settings, add markdown style formatting to /templates
This commit is contained in:
parent
63c9bea724
commit
859316353e
|
@ -10,7 +10,7 @@
|
||||||
<div id="games">
|
<div id="games">
|
||||||
<h1>Currently Supported Games</h1>
|
<h1>Currently Supported Games</h1>
|
||||||
{% for game, description in worlds.items() %}
|
{% for game, description in worlds.items() %}
|
||||||
<h3><a href="{{ url_for("game_page", game=game) }}">{{ game }}</a></h3>
|
<h3><a href="{{ url_for("game_page", game=game) }}/player-settings">{{ game }}</a></h3>
|
||||||
<p>{{ description }}</p>
|
<p>{{ description }}</p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -16,7 +16,12 @@
|
||||||
<p>Choose the options you would like to play with! You may generate a single-player game from this page,
|
<p>Choose the options you would like to play with! You may generate a single-player game from this page,
|
||||||
or download a settings file you can use to participate in a MultiWorld.</p>
|
or download a settings file you can use to participate in a MultiWorld.</p>
|
||||||
|
|
||||||
<p>A list of all games you have generated can be found <a href="/user-content">here</a>.</p>
|
<p>
|
||||||
|
A list of all games you have generated can be found <a href="/user-content">here</a>.
|
||||||
|
<br />
|
||||||
|
Advanced users can download a template file for this game
|
||||||
|
<a href="/static/generated/{{ game }}.yaml">here</a>.
|
||||||
|
</p>
|
||||||
|
|
||||||
<p><label for="player-name">Please enter your player name. This will appear in-game as you send and receive
|
<p><label for="player-name">Please enter your player name. This will appear in-game as you send and receive
|
||||||
items if you are playing in a MultiWorld.</label><br />
|
items if you are playing in a MultiWorld.</label><br />
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div>
|
<div class="markdown">
|
||||||
<h1>Option Templates (YAML)</h1>
|
<h1>Option Templates (YAML)</h1>
|
||||||
<ul>
|
<ul>
|
||||||
{% for file in files %}
|
{% for file in files %}
|
||||||
|
|
Loading…
Reference in New Issue