Skip to content

Commit

Permalink
Use aiidalab wide logo in notebook interface (#416)
Browse files Browse the repository at this point in the history
The Jupyter logo was appeared in the top-left corner, with this change it is replaced with a wide aiidalab logo.
  • Loading branch information
unkcpz authored Dec 1, 2023
1 parent 6161838 commit b08027b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions stack/lab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,10 @@ ENV NOTEBOOK_ARGS \
"--MappingKernelManager.cull_interval=300" \
"--TerminalManager.cull_inactive_timeout=600" \
"--TerminalManager.cull_interval=60"

# Set up the logo of notebook interface
COPY --chown=${NB_UID}:${NB_GID} aiidalab-wide-logo.png /tmp/notebook-logo.png

# The directory location of logo.png is in the `${CONDA_DIR}/lib/python3.9/site-packages/notebook/static/base/images/logo.png`,
# but the python version may change in the future, thus we use the wildcard to match the python version.
RUN mv /tmp/notebook-logo.png ${CONDA_DIR}/lib/python3*/site-packages/notebook/static/base/images/logo.png
Binary file added stack/lab/aiidalab-wide-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b08027b

Please sign in to comment.