Mercurial > libervia-templates
annotate sat_templates/templates/default/invitation/welcome.html @ 249:60bf3e45d7b2
bulma (input/field): don't use kwargs anymore:
`**kwargs` syntax is not supported by `nunjucks`. To work around this, most important
arguments have been added directly to macros, and an extra `attrs` argument can be used
for others.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 16 Jul 2020 09:08:34 +0200 |
parents | 9fe8fdcd53d9 |
children |
rev | line source |
---|---|
6
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 {% extends 'base/base.html' %} |
197
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
2 {% import 'components/block.html' as block with context %} |
6
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 {% block body %} |
197
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
5 {{ icon_defs('file-image', 'exchange', 'calendar') }} |
6
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 <div class='invitation_header'> |
197
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
7 <h1 class='heading__subtitle'>{% trans %}Welcome {{name}}{% endtrans %}</h1> |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
8 <p class='instructions--head'>{% trans %}You have been invited to participate with the community, please choose an action below{% endtrans %}</p> |
6
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 </div> |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
10 |
197
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
11 {% if interests_map.event %} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
12 {{ block.separator(_("events")) }} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
13 {{block.interests_grid(interests_map.event, 'calendar')}} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
14 {% endif %} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
15 {% if interests_map.photos %} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
16 {{ block.separator(_("photo albums")) }} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
17 {{block.interests_grid(interests_map.photos, 'file-image')}} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
18 {% endif %} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
19 {% if interests_map.files %} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
20 {{ block.separator(_("file sharing")) }} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
21 {{block.interests_grid(interests_map.fis, 'exchange')}} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
22 {% endif %} |
9fe8fdcd53d9
invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
23 |
6
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
24 {% if include_url is defined %} |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
25 <iframe id='include_main' src='{{include_url}}'></iframe> |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
26 {% endif %} |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
27 |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
28 {% endblock body %} |