Skip to content
Snippets Groups Projects
Commit a88125f2 authored by František Dvořák's avatar František Dvořák
Browse files

JupyterHub web templating - EOSC logo

parent fe332575
Branches eosc-templating
No related tags found
No related merge requests found
...@@ -117,8 +117,8 @@ hub: ...@@ -117,8 +117,8 @@ hub:
display: false display: false
# recommended to keep in sync with common/playbooks/files/jupyterhub-jwt.yaml # recommended to keep in sync with common/playbooks/files/jupyterhub-jwt.yaml
image: image:
name: eginotebooks/hub name: valtri/hub
tag: "sha-323c75e" tag: "eosc-logo"
config: config:
Authenticator: Authenticator:
enable_auth_state: true enable_auth_state: true
...@@ -423,12 +423,36 @@ hub: ...@@ -423,12 +423,36 @@ hub:
""" """
{% endraw %} {% endraw %}
extraFiles: extraFiles:
page.html:
mountPath: /egi-notebooks-hub/templates-eosc/page.html
stringData: |-
{%- raw %}
{% extends "templates/page.html" %}
{% block stylesheet %}
{{ super() }}
<style>
.eosc-logo {
width: 100%;
height: 16px;
margin-top: 10px;
margin-right: 20px;
}
</style>
{% endblock %}
{% block logo %}
<span id="eosc-logo" class="pull-left">
<a href="{{logo_url or base_url}}"><img src="{{ static_url('images/EOSCA_logo.svg') }}" alt="EOSC logo" class="eosc-logo" title="Home"></a>
</span>
{% endblock %}
{% endraw %}
welcome.html: welcome.html:
mountPath: /usr/local/share/jupyterhub/templates/welcome.html mountPath: /egi-notebooks-hub/templates-eosc/welcome.html
stringData: |- stringData: |-
{%- raw %} {%- raw %}
{% extends "login.html" %} {% extends "login.html" %}
{% endraw %} {% endraw %}
templatePaths:
- /egi-notebooks-hub/templates-eosc
debug: debug:
enabled: true enabled: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment