Mercurial > libervia-website
annotate templates/default/news/news.html @ 32:c8916c5c142d
roadmap: delay…
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 11 Dec 2023 01:12:15 +0100 |
parents | 87262027cbf5 |
children |
rev | line source |
---|---|
0 | 1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
2 {% import 'blog/macros.html' as blog with context %} | |
11
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
3 {% import 'input/navigation.html' as navigation with context %} |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
4 {% import 'input/textbox.html' as textbox with context %} |
0 | 5 |
6 {% block body %} | |
8
dc880664a8ec
modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
7 <h1 class="title has-text-centered">{% trans %}Libervia News{% endtrans %}</h1> |
11
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
8 {% if blog_items['items'] %} |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
9 <div class="container mt-4"> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
10 <nav class="level mb-4"> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
11 <div class="level-left"> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
12 </div> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
13 <div class="level-right"> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
14 <div class="level-item"> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
15 {{ textbox.search() }} |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
16 </div> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
17 </div> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
18 </nav> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
19 <div id="blog_items" class="columns"> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
20 <div class="column"> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
21 {{ blog.show_items(blog_items['items'], expanded=single) }} |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
22 </div> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
23 </div> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
24 </div> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
25 {% else %} |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
26 <div class="message mt-4"> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
27 <div class="message-body"> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
28 {% trans %}No articles found in this blog!{% endtrans %} |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
29 </div> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
30 </div> |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
31 {% endif %} |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
32 |
87262027cbf5
news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
33 {{ navigation.prev_next(_("newer articles"), _("older articles")) }} |
0 | 34 {% endblock body %} |