Initial Commit
This commit is contained in:
commit
715224653d
58 changed files with 7760 additions and 0 deletions
18
gurps_character/templates/characters/list.html
Normal file
18
gurps_character/templates/characters/list.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for character in characters %}
|
||||
<li>
|
||||
<a href="{% url 'details' character.uuid %}">{{ character.name }}</a>
|
||||
<a href="{% url 'download' character.uuid %}">Download</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<a href="{% url 'upload' %}">Upload new character</a>
|
||||
<form method="POST" enctype="multipart/form-data" action="{% url 'index' %}">
|
||||
{% csrf_token %}
|
||||
{{ form }}
|
||||
<input type="submit" value="Upload">
|
||||
</form>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue