televex/print/templates/printed.html

36 lines
943 B
HTML

<!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>
<div id="multifeeder">
<h2>TeleVex recently printed:</h2>
<pre>
---
(last 25)
(this is a de-bugging tool that most likely will disappear again)
---</pre>
{% 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>:
<pre width="48">{{ item.printed | replace('\n', '<br>') | safe }}</pre>
</div>
{% endif %}
{% set count = count - 1 %}
{% endfor %}
</div>
</div>
</body>
</html>