Skip to content

Commit

Permalink
Merge pull request #228 from MickaelFontes/move-assets
Browse files Browse the repository at this point in the history
Move assets folder inside pages folder
  • Loading branch information
MickaelFontes authored Jan 26, 2025
2 parents 43e0bbc + bd2ad3d commit caddf74
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}

WORKDIR /app

COPY assets/ ./assets
COPY data/ ./data
COPY app.py ./
COPY pages/ ./pages
Expand Down
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use_pages=True,
external_stylesheets=[dbc.themes.BOOTSTRAP],
update_title="",
assets_folder="pages/assets"
)
server = app.server
app.title = "NOPLP stats - Statistiques sur N'oubliez pas les paroles"
Expand Down
File renamed without changes.
File renamed without changes
3 changes: 3 additions & 0 deletions pages/assets/images/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pages/bottom.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"sous ![CC icon](assets/images/cc-by-sa-3.svg#thumbnail) ",
"[CC-BY_SA](https://creativecommons.org/licenses/by-sa/3.0/deed.fr) - ",
"Exploitation et visualisation en open source sur",
" ![Github](https://github.githubassets.com/favicons/favicon.svg#thumbnail) ",
" ![Github](assets/images/favicon.svg#thumbnail) ",
"[noplp-stats](https://github.com/MickaelFontes/noplp-stats) sous ",
"[MIT License](https://github.com/MickaelFontes/noplp-stats/blob/main/LICENSE) - ", # noqa: E501
"Dernière mise à jour: le " + os.getenv("LAST_UPDATE", "XXXXXXXX"),
Expand Down

0 comments on commit caddf74

Please sign in to comment.