changeset 6:529fff4473c1

invitation: invitation welcome page, first draft
author Goffi <goffi@goffi.org>
date Sun, 16 Apr 2017 18:38:06 +0200 (2017-04-16)
parents 2b26eadd8ad7
children f1c773126f23
files default/invitation/welcome.html default/static/invitation.css
diffstat 2 files changed, 40 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/default/invitation/welcome.html	Sun Apr 16 18:38:06 2017 +0200
@@ -0,0 +1,13 @@
+{% extends 'base/base.html' %}
+
+{% block body %}
+<div class='invitation_header'>
+    <h1>Welcome {{name}}</h1>
+    <p class='instructions'>You have been invited to participate with the community, please choose an action below</p>
+</div>
+
+{% if include_url is defined %}
+<iframe id='include_main' src='{{include_url}}'></iframe>
+{% endif %}
+
+{% endblock body %}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/default/static/invitation.css	Sun Apr 16 18:38:06 2017 +0200
@@ -0,0 +1,27 @@
+#body {
+    display: flex;
+    flex-direction: column;
+}
+
+.invitation_header {
+    flex: 1
+}
+
+.invitation_header h1,p {
+    text-align: center;
+}
+
+#include_main {
+    flex: 9
+}
+
+#include_main {
+    width: 100%;
+    margin: 0;
+    border: none;
+}
+
+footer {
+    /* footer should already be displayed in included page */
+    display: none;
+}