-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
54 lines (53 loc) · 2.18 KB
/
index.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
43
44
45
46
47
48
49
50
51
52
53
54
<html>
<head>
<title>{{ config.site_name }} - {{ config.site_tag_line }}</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feeds" href="/rss" />
<link rel="stylesheet" type="text/css" href="/resources/style.css" />
<link rel="icon" type="image/ico" href="/favicon.ico">
</head>
<body>
<div style="display:none;"><h1>{{ config.site_name }}</h1><h2>{{ config.tag_line }}</h2></div>
<div id="container">
<div id="header"><a class="feedicon" href="/rss"><img src="/resources/feed.png" border="0"/></a></div>
<div id="sidebar">
<h3>What?</h3>
<p>Lorem ipsum...</p>
<h3>Why?</h3>
<p>Lorem ipsum...</p>
</div>
<div id="content">
{% for tweet in tweets %}
<div id="{{ tweet.id }}" class="tweet">
<div class="usericon"><a href="http://twitter.com/{{ tweet.from_user|urlencode }}"><img src="{{ tweet.profile_image_url }}" width="48" height="48" /></a></div>
<div class="text">
<a href="http://twitter.com/{{ tweet.from_user|urlencode }}" class="userlink">{{ tweet.from_user|escape }}:</a> {{ tweet.text|escape|urlize }}
</div>
<div class="meta">
<a href="http://twitter.com/{{ tweet.from_user|urlencode }}/statuses/{{ tweet.id|urlencode }}">{{ tweet.status.relative_created_at }}</a>
fra {{ tweet.source }}
</div>
<div class="clearleft"></div>
</div>
{% endfor %}
<div class="paging">
{% if show_prev_page %}<a href="/?page={{ prev_page }}">« Forrige 20</a>{% endif %}
{% if show_next_page %}<a href="/?page={{ next_page }}">Næste 20 »</a>{% endif %}
</div>
</div>
<div id="footer">
<table>
<tr>
<td width="50%" valign="top">
<h3>Hvem?</h3>
<div class="cloud">{% for c in cloud|dictsortreversed:"count"|slice:":40"|dictsort:"lower_name" %} {{ c.html }} {% endfor %}</div>
</td>
<td width="50%" valign="top">
<h3>How?</h3>
<p>More lorem ipsum</p>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>