Geoffrey-Django/templates/GeoffreyApp/base_list.html

18 lines
436 B
HTML
Raw Normal View History

{% extends "GeoffreyApp/base.html" %}
{% block content %}
<h1>Bases</h1>
{% if base_list %}
<ul>
{% for base in base_list %}
<li>
{{ base.name }} {{ base.owner }} {{ base.x_coord }} {{ base.z_coord }}
</li>
{% endfor %}
</ul>
{% else %}
<p>There are no bases in the database :pepethonk:</p>
{% endif %}
{% endblock %}