From 52da9456b773ed64876b22312b0e80be023dd5c5 Mon Sep 17 00:00:00 2001 From: osmala <ossi.laine@utu.fi> Date: Wed, 14 Apr 2021 14:23:46 +0300 Subject: [PATCH] New home template --- app/templates/home.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/templates/home.html diff --git a/app/templates/home.html b/app/templates/home.html new file mode 100644 index 0000000..d2c7fbf --- /dev/null +++ b/app/templates/home.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} {% block content %} + +<div class="container text-center col-4 mt-5 pt-5"> + <img + class="img-fluid" + src="/static/img/onni_LOGO-RGB-transparent_bg_cut.png" + alt="Logo" + /> +</div> + +<p class="lead text-center mt-5 font-weight-bold"> + {{ _('Select the research group whose experiments you want to participate + in.')}} +</p> + +<p class="lead text-center mt-5">{{ _('Research groups:') }}</p> + +<div class="squares"> + {% for group in groups %} + <a href="{{group.tag}}" class="boxed-link">{{ group.name }}</a> + {% endfor %} +</div> + +{% endblock %} -- GitLab