televex/print/templates/index.html

43 lines
1.1 KiB
HTML
Raw Normal View History

<!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">
<div id="print">
<h1>Plain Text Printing Point (ASCII only)</h1>
<form action="" method="GET">
<textarea name="plaintext" cols="42" rows="30">{{ plaintext }}</textarea>
<br>
<br>
<input class="submit" type="submit" value="print"/>
</form>
<br>
<h1>Image printing access point</h1>
<form action="" method="GET">
<button>Select image</button>
<input class="submit" type="submit" value="print image"/>
</form>
</div>
<br>
<div id="multifeeder">
<h1 id="title">Multifeeder</h1>
<div>Last 5 posts added to the Televex print stream:</div>
<br>
{% for post in multifeeder %}
<div class="multipost">
<strong>Title</strong>: {{ post.title }}<br>
<strong>Link</strong>: {{ post.link }}<br>
<strong>Author</strong>: {{ post.author }}<br>
<strong>Date</strong>: {{ post.published }}<br>
</div>
{% endfor %}
</div>
</div>
</body>
</html>