add wellcome msg config

This commit is contained in:
Yannik Schmidt
2020-08-28 21:15:13 +02:00
parent 6d1cd82e88
commit 2e0884e060
2 changed files with 5 additions and 1 deletions

View File

@@ -22,6 +22,8 @@ SITE_LOGO_URL = "Site Logo URL"
SITE_BASE_URL = "Site Base URL" SITE_BASE_URL = "Site Base URL"
WALLPAPER_URL = "/picture/example.png" WALLPAPER_URL = "/picture/example.png"
SITE_WELLCOME_TITLE = "Title on the Wallpaper"
SITE_WELLCOME_SUBTITLE = "Subtitle on the Wallpaper"
TEAMSPEAK_SERVER = "teamspeak.com" TEAMSPEAK_SERVER = "teamspeak.com"
DISCORD_SERVER = "https://discord.gg/" DISCORD_SERVER = "https://discord.gg/"

View File

@@ -19,8 +19,10 @@
<div class="container h-50"> <div class="container h-50">
<div class="row h-100 align-items-center"> <div class="row h-100 align-items-center">
<div class="col-12 text-center"> <div class="col-12 text-center">
<div style="opacity: 0;"></div> <div style="opacity: 0;"></div> <!-- TODO color for text configurable -->
<div class="mt-5" style="opacity: 0;"></div> <div class="mt-5" style="opacity: 0;"></div>
{% if "SITE_WELLCOME_TITLE" in conf %} <h1 class="font-weight-light">{{ conf["SITE_WELLCOME_TITLE"] }}</h1> {% endif %}
{% if "SITE_WELLCOME_SUBTITLE" in conf %} <p class="lead">{{ conf["SITE_WELLCOME_SUBTITLE"] }}</p> {% endif %}
</div> </div>
</div> </div>
</div> </div>