migrate to semantic_ui:

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.
This commit is contained in:
mb
2020-06-10 15:33:11 +02:00
parent 657a12185a
commit 7d0255b15f
18 changed files with 891 additions and 423 deletions

View File

@@ -6,22 +6,21 @@
"""JS/CSS Webpack bundles for theme."""
from flask_webpackext import WebpackBundle
from invenio_assets.webpack import WebpackThemeBundle
def theme():
"""Returns module's webpack bundle.
This is a callable function in order to lazy load `current_app`
and avoid working outside application context.
"""
return WebpackBundle(
__name__,
'assets',
entry={
# TODO:
},
dependencies={
'jquery': '3.1.0'
}
)
theme = WebpackThemeBundle(
__name__,
'assets',
default='semantic-ui',
themes={
'semantic-ui': dict(
entry={
'invenio-theme-tugraz-theme':
'./less/invenio_theme_tugraz/theme.less',
#'invenio-theme-tugraz-js':
#'./js/invenio_theme_tugraz/example.js',
},
dependencies={}
)
}
)