annotate sat_templates/templates/default/event/invitation.html @ 166:178f55b825b7

small refactoring/redesign, better BEM integration: - blog has been redesigned, and almost all blog CSS has been made generic and moved to main styles.css file. - better noscript handling, dynamic elements are created using "magic" classes (dom_update.js) - using better icons for older/newer messages - better state handling, classes now use "state_XXX" - more classes now use BEM convention - menu labels have been moved to a separate template (components/menu_labels.html), so it can be overriden easily by other sites - better styles.css organisation
author Goffi <goffi@goffi.org>
date Wed, 03 Oct 2018 21:00:24 +0200
parents e9f0a4215e46
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% extends 'base/base.html' %}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
2
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% block body %}
154
80cf52fbcc40 events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents: 147
diff changeset
4 <div class='box box--paper'>
20
8fa2fd2e928e default: added i18n support
Goffi <goffi@goffi.org>
parents: 19
diff changeset
5 <h1>{% trans %}Welcome {{name}}{% endtrans %}</h1>
8fa2fd2e928e default: added i18n support
Goffi <goffi@goffi.org>
parents: 19
diff changeset
6 <p class='instructions'>{% trans %}You have been invited to participate to an event{% endtrans %}</p>
19
422c54e0204a event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
Goffi <goffi@goffi.org>
parents: 17
diff changeset
7 {% if event.image is defined %}
422c54e0204a event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
Goffi <goffi@goffi.org>
parents: 17
diff changeset
8 <p><img id='event_picture' src="{{event.image}}"></p>
17
48b831ab4238 event: design improvment
Goffi <goffi@goffi.org>
parents: 11
diff changeset
9 {% endif %}
11
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
10 </div>
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
11
154
80cf52fbcc40 events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents: 147
diff changeset
12 {% include 'event/counter.html' %}
21
24af9089aacd default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents: 20
diff changeset
13
11
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
14 {% include 'event/attendance.html' %}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
15
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
16 {% if items is defined %}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
17 {% include 'blog/articles.html' %}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
18 {% endif %}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
19
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
20 {% endblock body %}