mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-23 13:11:58 +00:00
Dev (#3)
* isort * manifest updated * manifest updated * tests * tests modify
This commit is contained in:
21
MANIFEST.in
21
MANIFEST.in
@@ -19,3 +19,24 @@ include .editorconfig
|
|||||||
include .tx/config
|
include .tx/config
|
||||||
prune docs/_build
|
prune docs/_build
|
||||||
recursive-include invenio_theme_tugraz/translations *.po *.pot *.mo
|
recursive-include invenio_theme_tugraz/translations *.po *.pot *.mo
|
||||||
|
|
||||||
|
# added by check_manifest.py
|
||||||
|
include *.md
|
||||||
|
include *.rst
|
||||||
|
include *.sh
|
||||||
|
include *.txt
|
||||||
|
include *.rst
|
||||||
|
include LICENSE
|
||||||
|
include babel.ini
|
||||||
|
include pytest.ini
|
||||||
|
recursive-include docs *.bat
|
||||||
|
recursive-include docs *.py
|
||||||
|
recursive-include docs *.rst
|
||||||
|
recursive-include docs *.txt
|
||||||
|
recursive-include docs Makefile
|
||||||
|
recursive-include invenio_theme_tugraz *.html
|
||||||
|
recursive-include invenio_theme_tugraz *.js
|
||||||
|
recursive-include invenio_theme_tugraz *.png
|
||||||
|
recursive-include invenio_theme_tugraz *.scss
|
||||||
|
recursive-include invenio_theme_tugraz *.svg
|
||||||
|
recursive-include tests *.py
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ INVENIO_THEME_TUGRAZ_BASE_TEMPLATE = 'invenio_theme_tugraz/base.html'
|
|||||||
|
|
||||||
|
|
||||||
# Theme Logo
|
# Theme Logo
|
||||||
THEME_LOGO="images/tug_logo.png"
|
THEME_LOGO = 'images/tug_logo.png'
|
||||||
|
|
||||||
# Instance's theme entrypoint file. Path relative to the ``assets/`` folder.
|
# Instance's theme entrypoint file. Path relative to the ``assets/`` folder.
|
||||||
INSTANCE_THEME_FILE = './scss/invenio_tugraz_theme/theme.scss'
|
INSTANCE_THEME_FILE = './scss/invenio_tugraz_theme/theme.scss'
|
||||||
@@ -37,16 +37,16 @@ THEME_FRONTPAGE_TEMPLATE = 'invenio_theme_tugraz/frontpage.html'
|
|||||||
SECURITY_LOGIN_USER_TEMPLATE = 'invenio_theme_tugraz/accounts/login.html'
|
SECURITY_LOGIN_USER_TEMPLATE = 'invenio_theme_tugraz/accounts/login.html'
|
||||||
|
|
||||||
# uncomment this to use the login with Tugraz @ login.html
|
# uncomment this to use the login with Tugraz @ login.html
|
||||||
#SHIBBOLETH_ISACTIVE = 'False'
|
SHIBBOLETH_ISACTIVE = 'False'
|
||||||
|
|
||||||
# icon used in login page
|
# icon used in login page
|
||||||
TUG_ICON = "images/icon_use.png"
|
TUG_ICON = 'images/icon_use.png'
|
||||||
|
|
||||||
# Frontpage title
|
# Frontpage title
|
||||||
THEME_FRONTPAGE_TITLE = "RDM for TUGRAZ"
|
THEME_FRONTPAGE_TITLE = "RDM for TUGRAZ"
|
||||||
|
|
||||||
# Mail server
|
# Mail server
|
||||||
#MAIL_SERVER='129.27.11.182'
|
MAIL_SERVER = '129.27.11.182'
|
||||||
#SECURITY_EMAIL_SENDER = "info@invenio-test.tugraz.at"
|
SECURITY_EMAIL_SENDER = 'info@invenio-rdm.tugraz.at'
|
||||||
#SECURITY_EMAIL_SUBJECT_REGISTER = "Welcome to RDM!"
|
SECURITY_EMAIL_SUBJECT_REGISTER = 'Welcome to RDM!'
|
||||||
#MAIL_SUPPRESS_SEND = False
|
MAIL_SUPPRESS_SEND = False
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2020 TUGRAZ.
|
# Copyright (C) 2020 TUGRAZ.
|
||||||
#
|
#
|
||||||
# invenio-theme-tugraz is free software; you can redistribute it and/or modify it
|
# invenio-theme-tugraz is free software.
|
||||||
# under the terms of the MIT License; see LICENSE file for more details.
|
|
||||||
|
|
||||||
"""JS/CSS Webpack bundles for theme."""
|
"""JS/CSS Webpack bundles for theme."""
|
||||||
|
|
||||||
from flask_webpackext import WebpackBundle
|
from flask_webpackext import WebpackBundle
|
||||||
|
|
||||||
|
|
||||||
def theme():
|
def theme():
|
||||||
"""Returns module's webpack bundle.
|
"""Returns module's webpack bundle.
|
||||||
|
|
||||||
@@ -20,7 +20,6 @@ def theme():
|
|||||||
'assets',
|
'assets',
|
||||||
entry={
|
entry={
|
||||||
# TODO:
|
# TODO:
|
||||||
#'invenio-theme-tugraz-js': './js/invenio_tugraz_theme/tugraz.js',
|
|
||||||
},
|
},
|
||||||
dependencies={
|
dependencies={
|
||||||
'jquery': '3.1.0'
|
'jquery': '3.1.0'
|
||||||
|
|||||||
Reference in New Issue
Block a user