diff sat_templates/templates/bulma/invitation/welcome.html @ 240:cb08d92f181f

bulma (invitation/welcome): design for the welcome page
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 17:57:13 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sat_templates/templates/bulma/invitation/welcome.html	Fri Jun 19 17:57:13 2020 +0200
@@ -0,0 +1,32 @@
+{% extends 'base/base.html' %}
+{% import 'components/block.html' as block with context %}
+
+{% block body %}
+{{ icon_defs('file-image', 'exchange', 'calendar') }}
+<section class="section">
+    <h1 class='title is-4'>{% trans %}Welcome {{name}}{% endtrans %}</h1>
+    <div class="message is-info">
+        <div class="message-body">
+            {% trans %}You have been invited to participate with the community, please choose an action below{% endtrans %}
+        </div>
+    </div>
+
+    {% if interests_map.event %}
+        {{ block.separator(_("events")) }}
+        {{block.interests_grid(interests_map.event, 'calendar')}}
+    {% endif %}
+    {% if interests_map.photos %}
+        {{ block.separator(_("photo albums")) }}
+        {{block.interests_grid(interests_map.photos, 'file-image')}}
+    {% endif %}
+    {% if interests_map.files %}
+        {{ block.separator(_("file sharing")) }}
+        {{block.interests_grid(interests_map.fis, 'exchange')}}
+    {% endif %}
+
+    {% if include_url is defined %}
+    <iframe id='include_main' src='{{include_url}}'></iframe>
+    {% endif %}
+</section>
+
+{% endblock body %}