mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-24 05:31:57 +00:00
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:
@@ -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={}
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user