mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
This commit holds alot of changes in the UI, migration of bootstrap to semantic-ui, override of header.html and setting them for /search & /deposite endpoints. PS. The migration is not finished.
70 lines
2.0 KiB
Python
70 lines
2.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
#
|
|
# Copyright (C) 2020 mojib wali.
|
|
#
|
|
# invenio-theme-tugraz is free software; you can redistribute it and/or
|
|
# modify it under the terms of the MIT License; see LICENSE file for more
|
|
# details.
|
|
|
|
"""invenio module for TUGRAZ theme."""
|
|
|
|
from flask_babelex import gettext as _
|
|
|
|
INVENIO_THEME_TUGRAZ_DEFAULT_VALUE = 'foobar'
|
|
"""Default value for the application."""
|
|
|
|
INVENIO_THEME_TUGRAZ_BASE_TEMPLATE = 'invenio_theme_tugraz/base.html'
|
|
"""Default base template for the demo page."""
|
|
|
|
|
|
# Theme Logo
|
|
THEME_LOGO = 'images/tug_logo.png'
|
|
|
|
# Custom header.html
|
|
THEME_HEADER_TEMPLATE = 'invenio_theme_tugraz/header.html'
|
|
|
|
# override frontpage.html
|
|
THEME_FRONTPAGE_TEMPLATE = 'invenio_theme_tugraz/frontpage.html'
|
|
|
|
# Login page
|
|
SECURITY_LOGIN_USER_TEMPLATE = 'invenio_theme_tugraz/accounts/login.html'
|
|
|
|
THEME_HEADER_LOGIN_TEMPLATE = 'invenio_theme_tugraz/accounts/header_login.html'
|
|
|
|
# footer template
|
|
THEME_FOOTER_TEMPLATE = 'invenio_theme_tugraz/footer.html'
|
|
|
|
# icon used in login page
|
|
INVENIO_THEME_TUGRAZ_ICON = 'images/icon_use.png'
|
|
|
|
# Frontpage title
|
|
THEME_FRONTPAGE_TITLE = "RDM for TUGRAZ"
|
|
|
|
# Invenio-I18N
|
|
# ============
|
|
# See https://invenio-i18n.readthedocs.io/en/latest/configuration.html
|
|
BABEL_DEFAULT_LOCALE = 'en'
|
|
# Default time zone
|
|
BABEL_DEFAULT_TIMEZONE = 'Europe/Vienna'
|
|
# Other supported languages (do not include BABEL_DEFAULT_LOCALE in list).
|
|
I18N_LANGUAGES = [
|
|
('de', _('German'))
|
|
]
|
|
|
|
# Invenio-APP-RDM
|
|
# =============
|
|
SEARCH_UI_HEADER_TEMPLATE = 'invenio_theme_tugraz/header.html'
|
|
"""Search page's header template."""
|
|
|
|
# SEARCH_UI_SEARCH_TEMPLATE = 'invenio_theme_tugraz/search/search.html'
|
|
"""Search page's base template."""
|
|
|
|
# DEPOSITS_FORMS_BASE_TEMPLATE = 'invenio_app_rdm/deposits/forms/deposits.html'
|
|
"""Deposits form page's base template."""
|
|
|
|
DEPOSITS_HEADER_TEMPLATE = 'invenio_theme_tugraz/header.html'
|
|
"""Deposits header page's template."""
|
|
|
|
# DEPOSITS_UPLOADS_TEMPLATE = 'invenio_app_rdm/deposits/uploads.html'
|
|
"""Deposits user's uploads page template."""
|