Newer
Older
# -*- coding: utf-8 -*-
#
#
# Invenio-Theme-TUW is free software; you can redistribute it and/or modify
# it under the terms of the MIT License; see LICENSE file for more details.
"""TU Wien theme for Invenio (RDM)."""
THEME_TUW_LOCAL_LOGIN_ENABLED = True
"""Controls whether or not to display the form fields for login via email/password."""
THEME_TUW_MATOMO_ENABLED = True
"""Controls whether or not to include the JS snippet for Matomo in the base template."""
THEME_TUW_MATOMO_URL = "http://s191.dl.hpc.tuwien.ac.at/"
"""The URL under which Matomo is reachable."""
THEME_TUW_DISPLAY_STAGING_WARNING = False
"""Whether or not to display a warning that it's the staging system."""
APP_THEME = ["semantic-ui"]
# Invenio-Theme
# =============
# See https://invenio-theme.readthedocs.io/en/latest/configuration.html
# Name displayed in tab
THEME_SITENAME = "TU Data"
# Frontpage
THEME_FRONTPAGE = True
# Templates
BASE_TEMPLATE = "invenio_theme_tuw/page.html"
THEME_FRONTPAGE_TEMPLATE = "invenio_theme_tuw/frontpage.html"
THEME_HEADER_TEMPLATE = "invenio_theme_tuw/header.html"
THEME_FOOTER_TEMPLATE = "invenio_theme_tuw/footer.html"
# Header logo
THEME_LOGO = "images/TU_Signet_white.png"
INSTANCE_THEME_FILE = "less/invenio_theme_tuw/theme.less"
# override the Invenio-OAuthClient login form
OAUTHCLIENT_LOGIN_USER_TEMPLATE = "invenio_theme_tuw/login/login_user.html"
ACCOUNTS_COVER_TEMPLATE = "invenio_theme_tuw/login/page_cover.html"