]> git.ipfire.org Git - ipfire.org.git/blob - templates/planet/index.html
planet: Add fulltext search.
[ipfire.org.git] / templates / planet / index.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ _("IPFire Planet") }}{% end block %}
4
5 {% block body %}
6 <div class="ac">
7 <p class="lead">
8 The <strong>IPFire Planet</strong> is a place for the people
9 who are involved in the project to tell the community about
10 new progress in the development or make some minor announcements.
11 </p>
12
13 <br>
14
15 <form 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 </form>
21 </div>
22
23 <hr class="separator">
24
25 {% for entry in entries %}
26 {% module PlanetEntry(entry) %}
27 {% end %}
28
29 <div class="row">
30 <div class="span9">
31 <ul class="pager">
32 <li class="previous">
33 <a href="?offset={{ offset }}">&larr; {{ _("Older posts") }}</a>
34 </li>
35 {% if offset - limit %}
36 <li class="next">
37 <a href="?offset={{ offset - (2 * limit) }}">{{ _("Newer posts") }} &rarr;</a>
38 </li>
39 {% end %}
40 </ul>
41 </div>
42 </div>
43 {% end block %}