annotate sat_templates/templates/default/invitation/welcome.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 9fe8fdcd53d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 %}