2022-04-10 22:21:45 +00:00
|
|
|
{% include "header.html" %}
|
2022-04-11 13:41:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
{% if pastas.is_empty() %}
|
|
|
|
<p>
|
|
|
|
No pastas yet. 😔 Create one <a href="/">here</a>.
|
|
|
|
</p>
|
|
|
|
{%- else %}
|
2022-04-10 22:21:45 +00:00
|
|
|
<table style="width: 100%" border="1">
|
|
|
|
<tr style="background: lightgrey">
|
|
|
|
<th>
|
|
|
|
Key
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
Created
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
Expiration
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
{% for pasta in pastas %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<a href="/pasta/{{pasta.idAsAnimals()}}">{{pasta.idAsAnimals()}}</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{pasta.createdAsString()}}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{pasta.expirationAsString()}}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<a href="/remove/{{pasta.idAsAnimals()}}">Remove</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{%- endif %}
|
|
|
|
{% include "footer.html" %}
|