Experimental communication tools (televex screen + televex print) https://televex.vvvvvvaria.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
932 B

<!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>{{ item.printed | replace('\n', '<br>') | safe }}</pre>
</div>
{% endif %}
{% set count = count - 1 %}
{% endfor %}
</div>
</div>
</body>
</html>