From caa0e1db19c0616031f7879d4298ed152b05f557 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 1 May 2022 21:38:59 +0200 Subject: Jinja2 templates. --- app/templates/home.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'app/templates/home.html') diff --git a/app/templates/home.html b/app/templates/home.html index a9bac51..f518554 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -1,22 +1,22 @@ - +{# -*- mode: web; -*- #} {% extends "base.html" %} {% block title %} - Welcome, {{ user.name_first }}! +Welcome, {{ user.name_first }}! {% endblock %} {% block content %} -

You are logged in as {{ user }} on +

You are logged in as {{ user }} on project {{ project }}.

-

Available modules

-
- {% for module in modules %} -
{{ module.name }}
{{ module.description }}
- {% endfor %} -
+

Available modules

+
+ {% for module in modules %} +
{{ module.name }}
{{ module.description }}
+ {% endfor %} +
{% endblock %} -- cgit v1.2.3