From 29581b14e463d52534c027041b256584fc8f296c Mon Sep 17 00:00:00 2001 From: Eric F Date: Tue, 9 Jun 2026 07:15:35 -0400 Subject: [PATCH] Backup: branded templates (login, navbar, footer, teaser), FM config, logo --- config/flexmeasures.cfg | 10 ++++++ templates/footer.html | 10 ++++++ templates/login_user.html | 59 +++++++++++++++++++++++++++++++ templates/navbar.html | 73 +++++++++++++++++++++++++++++++++++++++ templates/teaser.html | 54 +++++++++++++++++++++++++++++ 5 files changed, 206 insertions(+) create mode 100644 config/flexmeasures.cfg create mode 100644 templates/footer.html create mode 100644 templates/login_user.html create mode 100644 templates/navbar.html create mode 100644 templates/teaser.html diff --git a/config/flexmeasures.cfg b/config/flexmeasures.cfg new file mode 100644 index 0000000..a9fc0c8 --- /dev/null +++ b/config/flexmeasures.cfg @@ -0,0 +1,10 @@ +FLEXMEASURES_ENV = 'production' +FLEXMEASURES_REDIS_URL = 'flexmeasures-redis' +FLEXMEASURES_REDIS_PORT = 6379 +FLEXMEASURES_REDIS_DB_NR = 0 +FLEXMEASURES_REDIS_PASSWORD='***' +FLEXMEASURES_DATABASE_URI = 'postgresql://flexmeasures:***@flexmeasures-db:5432/flexmeasures' +SECRET_KEY='***' +LOGGING_LEVEL = 'INFO' +FLEXMEASURES_PLATFORM_NAME = 'Cariflex' +FLEXMEASURES_MENU_LOGO_PATH = '/ui/static/images/cariflex-logo.jpg' diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 0000000..f632279 --- /dev/null +++ b/templates/footer.html @@ -0,0 +1,10 @@ + diff --git a/templates/login_user.html b/templates/login_user.html new file mode 100644 index 0000000..2365cbe --- /dev/null +++ b/templates/login_user.html @@ -0,0 +1,59 @@ +{% extends "base.html" %} + +{% set active_page = "logged-in-user" %} + +{% block title %} Please log in {% endblock %} + +{% from "security/_macros.html" import render_field_with_errors, render_field %} + + +{% block divs %} + +
+
+
+ {% block platform_title %} +

Cariflex

+ {% endblock platform_title %} +
+
+
+
+
+ +
+
+
+
+{% include 'includes/teaser.html' %} +
+
+
+
+
+ +{% endblock divs %} diff --git a/templates/navbar.html b/templates/navbar.html new file mode 100644 index 0000000..6a45c6e --- /dev/null +++ b/templates/navbar.html @@ -0,0 +1,73 @@ + \ No newline at end of file diff --git a/templates/teaser.html b/templates/teaser.html new file mode 100644 index 0000000..97ff3b7 --- /dev/null +++ b/templates/teaser.html @@ -0,0 +1,54 @@ + \ No newline at end of file