From e9f2963be5a42709a0eba29a85399fe8de8073ae Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 19 Nov 2020 09:31:37 +0000 Subject: [PATCH] Add scaffolding for an about page Signed-off-by: Michael Tremer --- Makefile.am | 1 + src/templates/about.html | 75 ++++++++++++++++++++++++++++++++++++++++ src/templates/base.html | 4 +-- src/web/__init__.py | 1 + src/web/handlers.py | 5 +++ 5 files changed, 84 insertions(+), 2 deletions(-) create mode 100644 src/templates/about.html diff --git a/Makefile.am b/Makefile.am index 5a91dd29..39a36b4f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -103,6 +103,7 @@ webdir = $(backenddir)/web # TODO install the base for now and add all other templates later templates_DATA = \ + src/templates/about.html \ src/templates/base.html \ src/templates/error.html \ src/templates/index.html diff --git a/src/templates/about.html b/src/templates/about.html new file mode 100644 index 00000000..3654829e --- /dev/null +++ b/src/templates/about.html @@ -0,0 +1,75 @@ +{% extends "base.html" %} + +{% block title %}{{ _("About IPFire") }}{% end block %} + +{% block container %} +
+
+

{{ _("About") }}

+ +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod + tempor incididunt ut labore et dolore magna aliqua. + Viverra accumsan in nisl nisi scelerisque eu ultrices. + Semper auctor neque vitae tempus quam pellentesque nec. + Platea dictumst quisque sagittis purus sit amet. +

+
+
+ +
+
+

{{ _("Features") }}

+ +
+
+
    +
  • + Feature #1 is particularly cool +
  • + +
  • + Feature #2 isn't bad either +
  • + +
  • + Feature #3 really rocks +
  • +
+
+ +
+
    +
  • + Another feature +
  • + +
  • + And another one +
  • + +
  • + One more +
  • +
+
+ +
+
    +
  • + We really think that people will like this +
  • + +
  • + Did you check out X? +
  • + +
  • + How about Y? +
  • +
+
+
+
+
+{% end block %} diff --git a/src/templates/base.html b/src/templates/base.html index e48839ba..0101b365 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -53,7 +53,7 @@