]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - templates/planet/index.html
planet: Introduce tags for searching.
[people/shoehn/ipfire.org.git] / templates / planet / index.html
CommitLineData
55b162d6
MT
1{% extends "base.html" %}
2
3{% block title %}{{ _("IPFire Planet") }}{% end block %}
4
5{% block body %}
cc3b928d
MT
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>
55b162d6 12
cc3b928d
MT
13 <div class="row">
14 <div class="span4 offset4">
15 <form class="form-inline" action="/search" method="GET">
16 <div class="input-append">
a3e3c96d
MT
17 <input type="text" class="input-medium planet-search-autocomplete" name="q"
18 placeholder="{{ _("Search") }}" autocomplete="off">
cc3b928d
MT
19 <button type="submit" class="btn"><i class="icon-search"></i></button>
20 </div>
2bdd073f 21
cc3b928d
MT
22 <div class="btn-group">
23 <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
24 {{ _("All posts from") }}
25 <span class="caret"></span>
26 </a>
27 <ul class="dropdown-menu">
28 {% for y in years %}
29 <li><a href="/year/{{ y }}">{{ y }}</a></li>
30 {% end %}
31 </ul>
32 </div>
33 </form>
34 </div>
55b162d6
MT
35 </div>
36
37 <hr class="separator">
38
39 {% for entry in entries %}
40 {% module PlanetEntry(entry) %}
41 {% end %}
42
cc3b928d
MT
43 <ul class="pager">
44 <li class="previous">
45 <a href="?offset={{ offset }}">&larr; {{ _("Older posts") }}</a>
46 </li>
47 {% if offset - limit %}
48 <li class="next">
49 <a href="?offset={{ offset - (2 * limit) }}">{{ _("Newer posts") }} &rarr;</a>
50 </li>
51 {% end %}
52 </ul>
55b162d6 53{% end block %}