oops, forgot to push the index template!

This commit is contained in:
manetta 2019-05-08 12:16:44 +02:00
parent 6b88970e21
commit 8189dd54c4

55
templates/index.html Normal file
View File

@ -0,0 +1,55 @@
<!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%}">
<link rel="alternate" type="application/rss+xml" href="recentchanges.rss">
{% block scripts %}
<script src="jquery-latest.js"></script>
<script src="jquery.tablesorter.min.js"></script>
{% endblock scripts %}
</head>
<body>
<h1>{{title}}</h1>
<div id="welcome">
Welcome to the Varia Etherpad zone. This is a list of pads that have been deliberately published by its authors. The Etherpad is used as collaborative writing tool to document/coordinate projects, gatherings, meetings or public events that happen in and related to Varia.
</div>
<table class="listing tablesorter">
<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>
This page is made with <a href="https://gitlab.constantvzw.org/aa/etherdump">Etherdump</a>, a lovely piece of software produced and used through <a href="http://constantvzw.org">Constant</a>, that extends the multi writing and publishing functionalities of the Etherpad, but catches its content when it falls. 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>