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:
display: false
# recommended to keep in sync with common/playbooks/files/jupyterhub-jwt.yaml
image:
name: eginotebooks/hub
tag: "sha-323c75e"
name: valtri/hub
tag: "eosc-logo"
config:
Authenticator:
enable_auth_state: true
......@@ -423,12 +423,36 @@ hub:
"""
{% endraw %}
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:
mountPath: /usr/local/share/jupyterhub/templates/welcome.html
mountPath: /egi-notebooks-hub/templates-eosc/welcome.html
stringData: |-
{%- raw %}
{% extends "login.html" %}
{% endraw %}
templatePaths:
- /egi-notebooks-hub/templates-eosc
debug:
enabled: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment