televex/print/templates/printed.html

36 lines
932 B
HTML
Raw Normal View History

2021-03-01 22:34:21 +01:00
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="utf-8" />
<title>TeleVex (print)</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='stylesheet.css')}}">
</head>
<body>
<div id="main">
<h1><a href="/print/">print</a>, printed</h1>
2021-03-01 22:34:21 +01:00
<div id="multifeeder">
<h2>TeleVex recently printed:</h2>
<pre>
---
(last 25)
(this is a de-bugging tool that most likely will disappear again)
---</pre>
2021-03-01 22:34:21 +01:00
{% set count = 25 %}
{% for x in range(1, 25) %}
{% set item = items["printed"][-x] %}
{% if item %}
<div class="msg">
<strong>Source</strong>: {{ item.source }}<br>
<strong>Date</strong>: {{ item.date }}<br>
<strong>Printed</strong>:
2021-03-13 21:31:52 +01:00
<pre>{{ item.printed | replace('\n', '<br>') | safe }}</pre>
</div>
2021-03-01 22:34:21 +01:00
{% endif %}
{% set count = count - 1 %}
{% endfor %}
</div>
</div>
</body>
</html>