1
0
mirror of synced 2024-11-12 01:00:46 +01:00

Move default theme into themes directory, make themes directory a thing.

This commit is contained in:
Jennifer Taylor 2021-09-10 00:39:22 +00:00
parent 6e09563d35
commit 1e581f0867
8 changed files with 2 additions and 5 deletions

View File

@ -5,10 +5,7 @@ include bemani/frontend/static/*.css
include bemani/frontend/static/*.js include bemani/frontend/static/*.js
include bemani/frontend/static/*.gif include bemani/frontend/static/*.gif
include bemani/frontend/static/*.png include bemani/frontend/static/*.png
include bemani/frontend/static/default/*.css graft bemani/frontend/static/themes
include bemani/frontend/static/default/*.js
include bemani/frontend/static/default/*.gif
include bemani/frontend/static/default/*.png
include bemani/frontend/static/components/*.js include bemani/frontend/static/components/*.js
include bemani/frontend/static/controllers/*.js include bemani/frontend/static/controllers/*.js
include bemani/frontend/static/controllers/admin/*.js include bemani/frontend/static/controllers/admin/*.js

View File

@ -263,7 +263,7 @@ def jinja2_any(lval: Optional[List[Any]], pull: str, equals: str) -> bool:
def jinja2_theme(filename: str) -> str: def jinja2_theme(filename: str) -> str:
return url_for('static', filename=f"{config.theme}/{filename}") return url_for('static', filename=f"themes/{config.theme}/{filename}")
@app.context_processor @app.context_processor

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB