Mercurial > libervia-templates
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/event/invitation.html Tue May 19 00:02:34 2020 +0200 @@ -0,0 +1,37 @@ +{% extends 'base/base.html' %} + +{% block body %} + +<section class="section"> + <h1 class="title is-4"> + {% trans %}Welcome {{name}}{% endtrans %} + </h1> + <div class="notification is-info"> + {% trans %}You have been invited to participate to an event{% endtrans %} + </div> + <div class="card"> + {% if event.image is defined %} + <div class="card-image is-photo-thumbnail-container is-poster is-flex has-items-centered has-background-light"> + <img class='is-photo-thumbnail' src="{{event.image}}"> + </div> + {% endif %} + {% if event.description is defined %} + <div class="card-content has-text-centered"> + <p>{{event.description}}</p> + </div> + {% endif %} + </div> + + + {% include 'event/counter.html' %} + + {% if days_left is defined and days_left > 0 %} + {% include 'event/attendance.html' %} + {% endif %} + + {% if items %} + {% include 'blog/articles.html' %} + {% endif %} +</section> + +{% endblock body %}