]> git.ipfire.org Git - ipfire.org.git/blob - templates/planet/index.html
planet: Add yearly summary.
[ipfire.org.git] / templates / planet / index.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ _("IPFire Planet") }}{% end block %}
4
5 {% block body %}
6 <p class="lead ac">
7 The <strong>IPFire Planet</strong> is a place for the people
8 who are involved in the project to tell the community about
9 new progress in the development or make some minor announcements.
10 </p>
11 <br>
12
13 <div class="row">
14 <div class="span4 offset4">
15 <form class="form-inline" action="/search" method="GET">
16 <div class="input-append">
17 <input type="text" class="input-medium" name="q" placeholder="{{ _("Search") }}">
18 <button type="submit" class="btn"><i class="icon-search"></i></button>
19 </div>
20
21 <div class="btn-group">
22 <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
23 {{ _("All posts from") }}
24 <span class="caret"></span>
25 </a>
26 <ul class="dropdown-menu">
27 {% for y in years %}
28 <li><a href="/year/{{ y }}">{{ y }}</a></li>
29 {% end %}
30 </ul>
31 </div>
32 </form>
33 </div>
34 </div>
35
36 <hr class="separator">
37
38 {% for entry in entries %}
39 {% module PlanetEntry(entry) %}
40 {% end %}
41
42 <ul class="pager">
43 <li class="previous">
44 <a href="?offset={{ offset }}">&larr; {{ _("Older posts") }}</a>
45 </li>
46 {% if offset - limit %}
47 <li class="next">
48 <a href="?offset={{ offset - (2 * limit) }}">{{ _("Newer posts") }} &rarr;</a>
49 </li>
50 {% end %}
51 </ul>
52 {% end block %}