This repository has been archived by the owner on Apr 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathsp_posts.html
42 lines (39 loc) · 1.65 KB
/
sp_posts.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{% extends "templates/base.html" %}
{% block title %}Posts{% endblock %}
{% block head %}
<link rel="alternate" type="application/atom+xml" href="/sp.posts?_type=atom" title="{{ config.service.title }} posts">
{% endblock %}
{% block body %}
<header>
<h1>
Posts
<a href="/sp.posts?_type=atom" class="rss">RSS</a>
</h1>
</header>
<table class="pagelist posts">
<thead><tr>
<th class="published">Published</th>
<th class="page">Pages</th>
</tr></thead>
<tbody>
{% for page in pages %}
<tr class="page {{ page.modifier_type }}">
<td class="published"><time datetime="{{ page.published_at|isodt }}">{{ page.published_at|sdt }}</time></td>
<td class="page">
<a class="caret-target" href="{{ page.absolute_url }}">{{ page.title }}</a>
<br>
<span class="modifier-info">by <span class="modifier">{{ page.modifier|userpage }}</span></span>
</td>
</tr>
{% else %}
<tr><td colspan=2>(no posts yet)</td></tr>
{% endfor %}
</tbody>
</table>
{% if pages %}
<div>
<a href="/sp.posts?index={{ next_index }}&count={{ count }}" class="next-page">Load next page...</a>
<div class="loading-indicator" style="display: none;"><div class="blockG" id="rotateG_01"></div><div class="blockG" id="rotateG_02"></div><div class="blockG" id="rotateG_03"></div><div class="blockG" id="rotateG_04"></div><div class="blockG" id="rotateG_05"></div><div class="blockG" id="rotateG_06"></div><div class="blockG" id="rotateG_07"></div><div class="blockG" id="rotateG_08"></div></div>
</div>
{% endif %}
{% endblock %}