etherdump/templates/index.html

53 lines
2.0 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="{{language}}">
<head>
<meta charset="utf-8" />
<title>{{title}}</title>
<link rel="stylesheet" type="text/css" href="{%block css %}styles.css{%endblock%}">
{% block scripts %}
{% endblock scripts %}
</head>
<body>
2019-05-08 13:18:58 +02:00
{% set padoftheday = pads | random %}
2019-05-08 13:21:49 +02:00
<h1>{{title}}</h1>
<div id="welcome">
2019-05-08 22:27:48 +02:00
Welcome! The notes below have been deliberately published their authors in order to share their thoughts, research and process in an early form. This page represents one of Varia's low-effort publishing tools. The notes are all collected on Varia's <a href="https://pad.vvvvvvaria.org/">Etherpad instance</a>. Etherpad is used as collaborative writing tool to take notes, coordinate projects and document gatherings that happen in and around Varia. For example our notes on <a href="{{padoftheday.link}}">{{ padoftheday.padid }}</a>.
</div>
2019-05-08 13:08:38 +02:00
<table>
<thead>
<tr>
<th>name</th>
<th>versions</th>
<th>last edited</th>
<th>revisions</th>
<th>authors</th>
</tr>
</thead>
<tbody>
{% for pad in pads %}
<tr>
<td class="name">
<a href="{{pad.link}}">{{ pad.padid }}</a>
</td>
<td class="versions">
{% for v in pad.versions %}<a href="{{v.url}}">{{v.type}}</a> {% endfor %}
</td>
<td class="lastedited">{{ pad.lastedited_iso|datetimeformat }}</td>
<td class="revisions">{{ pad.revisions }}</td>
<td class="authors">{{ pad.author_ids|length }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<div id="footer">
<hr>
<p>
2019-05-08 23:17:50 +02:00
<small>This page is generated using <a href="https://gitlab.constantvzw.org/decentral1se/etherdump">Etherdump</a> by <a href="http://constantvzw.org">Constant VZW</a>. It is a command-line utility that extends the multi writing and publishing functionalities of the Etherpad by exporting the pads in multiple formats. This Etherdump installation (currently) converts pads into <em>html</em>, <em>txt</em> and <em>json</em> documents.</small>
<br><br>
2019-05-08 13:21:49 +02:00
</p>
{% block info %}<p class="info">Last updated {{timestamp}}.</p>{% endblock %}
</div>
</body>
</html>