BAPSicle/ui-templates/log.html

41 lines
904 B
HTML
Raw Normal View History

2020-11-09 00:42:09 +00:00
{% extends 'base.html' %}
{% block head %}
<link href="/static/vendor/prism/prism.css" rel="stylesheet">
{% endblock %}
2020-11-09 00:42:09 +00:00
{% block content_inner %}
{% if data %}
2021-05-15 22:51:12 +00:00
<div>
{% if data.page != 1 %}
<a href="?page={{data.page-1}}" class="float-left">
<<< Previous Page
</a>
{% endif %}
<a href="?page={{data.page+1}}" class="float-right">
Next Page >>>
</a>
</div>
<br>
<pre>
<code class="language-log">
{%- for log in data.logs %}
{{log}}
{% endfor -%}
2021-05-15 22:51:12 +00:00
</code>
</pre>
2021-05-15 22:51:12 +00:00
<br>
<div>
{% if data.page != 1 %}
<a href="?page={{data.page-1}}" class="float-left">
<<< Previous Page
</a>
{% endif %}
<a href="?page={{data.page+1}}" class="float-right">
Next Page >>>
</a>
</div>
<br>
2020-11-09 00:42:09 +00:00
{% endif %}
<script src="/static/vendor/prism/prism.js"></script>
{% endblock %}