sourcing/sourcing/templates/home.html

35 lines
795 B
HTML

{% include "head.html" %}
<h1>perma.pub</h1>
<table class="table">
<thead>
<tr>
<th>item</th>
<th>type</th>
<th>user</th>
<th>date</th>
</tr>
</thead>
<tbody>
{% for doc in docs %}
<tr>
<td><a href="{{ doc.url }}">{{ doc.title() }}</a></td>
<td>{{ doc.type }}</td>
<td>{{ doc.user.username }}</td>
<td>{{ doc.created | datetime }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<p>
<a href="{{ url_for('.new_sourcedoc') }}" class="btn btn-default">new source document</a>
<a href="{{ url_for('.new_xanalink') }}" class="btn btn-default">new xanalink</a>
<a href="{{ url_for('.new_xanadoc') }}" class="btn btn-default">new xanadoc</a>
{#
<a href="#" class="btn btn-default">upload a source document</a>
#}
</p>
{% include "foot.html" %}