etherdump/templates/index.html

59 lines
2.0 KiB
HTML

<!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>
{% set padoftheday = pads | random %}
<h1>{{title}}</h1>
<div id="welcome">
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>.
<br>
<br>
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>.
<br>
<br>
This index is updated every 60 minutes.
</div>
<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>
<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>
</p>
{% block info %}<p class="info">Last updated {{timestamp}}.</p>{% endblock %}
</div>
</body>
</html>