etherdump/templates/index.html

53 lines
2.1 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:08:38 +02:00
<h1>{{title}} freshly baked on {{timestamp}}</h1>
<div id="welcome">
2019-05-08 13:14:20 +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 {% for pad in pads | random %} <a href="{{pad.link}}">{{ pad.padid }}</a>{% endfor %}
</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 13:08:38 +02:00
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.
<br><br>
This list only includes pads that are tagged with the magic word <code>__PUBLISH__</code> (which is an <em>opt-in</em> keyword).
</p>
{% block info %}<p class="info">Last update {{timestamp}}.</p>{% endblock %}
</div>
</body>
</html>