mirror of
https://github.com/Cian-H/am-d-model-data-repository.git
synced 2025-12-22 22:11:56 +00:00
First commit
This commit is contained in:
0
site/am_d_model_data_repository/__init__.py
Normal file
0
site/am_d_model_data_repository/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# This file exists only to add js/ folder to git repository.
|
||||
@@ -0,0 +1 @@
|
||||
# This file exists only to add less/ folder to git repository.
|
||||
@@ -0,0 +1 @@
|
||||
# This file exists only to add templates/ folder to git repository.
|
||||
17
site/am_d_model_data_repository/views.py
Normal file
17
site/am_d_model_data_repository/views.py
Normal file
@@ -0,0 +1,17 @@
|
||||
"""Additional views."""
|
||||
|
||||
from flask import Blueprint
|
||||
|
||||
#
|
||||
# Registration
|
||||
#
|
||||
def create_blueprint(app):
|
||||
"""Register blueprint routes on app."""
|
||||
blueprint = Blueprint(
|
||||
"am_d_model_data_repository",
|
||||
__name__,
|
||||
template_folder="./templates",
|
||||
)
|
||||
|
||||
# Add URL rules
|
||||
return blueprint
|
||||
16
site/am_d_model_data_repository/webpack.py
Normal file
16
site/am_d_model_data_repository/webpack.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""JS/CSS Webpack bundles for AM-D-Model Data Repository."""
|
||||
|
||||
from invenio_assets.webpack import WebpackThemeBundle
|
||||
|
||||
theme = WebpackThemeBundle(
|
||||
__name__,
|
||||
"assets",
|
||||
default="semantic-ui",
|
||||
themes={
|
||||
"semantic-ui": dict(
|
||||
entry={
|
||||
# Add your webpack entrypoints
|
||||
},
|
||||
),
|
||||
},
|
||||
)
|
||||
Reference in New Issue
Block a user