Mercurial > libervia-templates
comparison sat_templates/templates/bulma/event/invitation.html @ 230:0e69b5843c2f
theme: bulma theme first draft:
This theme uses the Bulma CSS framework, Brython to handle the menu on touch devices, and
Sass to customize Bulma. CSS default fallbacks are disabled as Bulma uses its own naming
conventions, and default fallbacks would lead to hard to debug conflicts.
`common.js` has been slightly improved to handle custom classed in `tab_select`
The theme is not complete yet, but it is functional.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 19 May 2020 00:02:34 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
229:739c3e6999fa | 230:0e69b5843c2f |
---|---|
1 {% extends 'base/base.html' %} | |
2 | |
3 {% block body %} | |
4 | |
5 <section class="section"> | |
6 <h1 class="title is-4"> | |
7 {% trans %}Welcome {{name}}{% endtrans %} | |
8 </h1> | |
9 <div class="notification is-info"> | |
10 {% trans %}You have been invited to participate to an event{% endtrans %} | |
11 </div> | |
12 <div class="card"> | |
13 {% if event.image is defined %} | |
14 <div class="card-image is-photo-thumbnail-container is-poster is-flex has-items-centered has-background-light"> | |
15 <img class='is-photo-thumbnail' src="{{event.image}}"> | |
16 </div> | |
17 {% endif %} | |
18 {% if event.description is defined %} | |
19 <div class="card-content has-text-centered"> | |
20 <p>{{event.description}}</p> | |
21 </div> | |
22 {% endif %} | |
23 </div> | |
24 | |
25 | |
26 {% include 'event/counter.html' %} | |
27 | |
28 {% if days_left is defined and days_left > 0 %} | |
29 {% include 'event/attendance.html' %} | |
30 {% endif %} | |
31 | |
32 {% if items %} | |
33 {% include 'blog/articles.html' %} | |
34 {% endif %} | |
35 </section> | |
36 | |
37 {% endblock body %} |