diff --git a/uffd/default_config.cfg b/uffd/default_config.cfg index f87d040ae3df32c9f2a2e533720bc3ff1610f18d..6988eb94499564608c7c32d9a4b9fdef5cfd4fee 100644 --- a/uffd/default_config.cfg +++ b/uffd/default_config.cfg @@ -88,6 +88,8 @@ SERVICES=[ # Enable the service overview page for users who are not logged in SERVICES_PUBLIC=True +BRANDING_LOGO_URL='' + # do NOT set in production #TEMPLATES_AUTO_RELOAD=True diff --git a/uffd/mfa/templates/auth.html b/uffd/mfa/templates/auth.html index 49a62f7d0a6873071f0102ee4bf332ea9bd3a737..9feb0101d14649e8796e2823f5ad434fa40f0374 100644 --- a/uffd/mfa/templates/auth.html +++ b/uffd/mfa/templates/auth.html @@ -6,7 +6,7 @@ <div class="row mt-2 justify-content-center"> <div class="col-lg-6 col-md-10" style="background: #f7f7f7; box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); padding: 30px;"> <div class="text-center"> - <img alt="CCC logo" src="{{ url_for("static", filename="fairy-dust-color.png") }}" class="col-lg-8 col-md-12" > + <img alt="branding logo" src="{{ config.get("BRANDING_LOGO_URL") }}" class="col-lg-8 col-md-12" > </div> <div class="col-12 mb-3"> <h2 class="text-center">Two-Factor Authentication</h2> diff --git a/uffd/oauth2/templates/logout.html b/uffd/oauth2/templates/logout.html index 12db0f47412762c835d39d3cb6acec0af49a3f81..abddfe68ecc314d5211fc3f249984bdd6cd0f3c9 100644 --- a/uffd/oauth2/templates/logout.html +++ b/uffd/oauth2/templates/logout.html @@ -4,7 +4,7 @@ <div class="row mt-2 justify-content-center"> <div class="col-lg-6 col-md-10" style="background: #f7f7f7; box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); padding: 30px;"> <div class="text-center"> - <img alt="CCC logo" src="{{ url_for("static", filename="fairy-dust-color.png") }}" class="col-lg-8 col-md-12" > + <img alt="branding logo" src="{{ config.get("BRANDING_LOGO_URL") }}" class="col-lg-8 col-md-12" > </div> <div class="col-12"> <h2 class="text-center">Logout</h2> diff --git a/uffd/selfservice/templates/forgot_password.html b/uffd/selfservice/templates/forgot_password.html index 2d56b33f5d2a45ab509be804780e444f25b7733e..1a40f868cdcb41ad556e59b2c4065f59f87330a5 100644 --- a/uffd/selfservice/templates/forgot_password.html +++ b/uffd/selfservice/templates/forgot_password.html @@ -5,7 +5,7 @@ <div class="row mt-2 justify-content-center"> <div class="col-lg-6 col-md-10" style="background: #f7f7f7; box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); padding: 30px;"> <div class="text-center"> - <img alt="CCC logo" src="{{ url_for("static", filename="fairy-dust-color.png") }}" class="col-lg-8 col-md-12" > + <img alt="branding logo" src="{{ config.get("BRANDING_LOGO_URL") }}" class="col-lg-8 col-md-12" > </div> <div class="col-12"> <h2 class="text-center">Forgot password</h2> diff --git a/uffd/selfservice/templates/set_password.html b/uffd/selfservice/templates/set_password.html index 1929179c640d3306390634e92dd7cc629f96e3b7..280c8cad7e05b576060b7f944843fcf4ffae19bb 100644 --- a/uffd/selfservice/templates/set_password.html +++ b/uffd/selfservice/templates/set_password.html @@ -5,7 +5,7 @@ <div class="row mt-2 justify-content-center"> <div class="col-lg-6 col-md-10" style="background: #f7f7f7; box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); padding: 30px;"> <div class="text-center"> - <img alt="CCC logo" src="{{ url_for("static", filename="fairy-dust-color.png") }}" class="col-lg-8 col-md-12" > + <img alt="branding logo" src="{{ config.get("BRANDING_LOGO_URL") }}" class="col-lg-8 col-md-12" > </div> <div class="col-12"> <h2 class="text-center">Reset password</h2> diff --git a/uffd/session/templates/login.html b/uffd/session/templates/login.html index e94afc60a765c3eb8fc668dbcc95c3b8d5dafc93..e91bc833c1f257e5f828f650af672c3945c82310 100644 --- a/uffd/session/templates/login.html +++ b/uffd/session/templates/login.html @@ -5,7 +5,7 @@ <div class="row mt-2 justify-content-center"> <div class="col-lg-6 col-md-10" style="background: #f7f7f7; box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); padding: 30px;"> <div class="text-center"> - <img alt="CCC logo" src="{{ url_for("static", filename="fairy-dust-color.png") }}" class="col-lg-8 col-md-12" > + <img alt="branding logo" src="{{ config.get("BRANDING_LOGO_URL") }}" class="col-lg-8 col-md-12" > </div> <div class="col-12"> <h2 class="text-center">Login</h2> diff --git a/uffd/static/chaosknoten.png b/uffd/static/chaosknoten.png deleted file mode 100644 index 2a6a743bf3b454e8250fd54fd1f4c0fe444ed8ba..0000000000000000000000000000000000000000 Binary files a/uffd/static/chaosknoten.png and /dev/null differ diff --git a/uffd/static/fairy-dust-color.png b/uffd/static/fairy-dust-color.png deleted file mode 100644 index 9619d613008ba4629c288880a476d3e910b0ad27..0000000000000000000000000000000000000000 Binary files a/uffd/static/fairy-dust-color.png and /dev/null differ