tenebrous-sheets/templates/index.html.tera

28 lines
582 B
Plaintext
Raw Normal View History

2020-12-01 21:32:16 +00:00
{% extends "base" %}
{% block content %}
<div>
<h1>Hi {{user.username}}</h1>
<h3>Here are your characters:</h3>
<ul>
{% for char in characters %}
<li>
<a href="characters/{{ user.username }}/{{char.id}}">
{{ char.character_name }}
2020-12-01 21:32:16 +00:00
</a>
</li>
{% endfor %}
</ul>
<div>
<a href="/characters/new">Create New</a>
</div>
<p>
<form action="/logout" method="post">
<input type="submit" value="Logout" />
</form>
</p>
2020-12-01 21:32:16 +00:00
</div>
{% endblock content %}