Skip to content
Snippets Groups Projects
Verified Commit 135a4dc3 authored by Jaromír Hradil's avatar Jaromír Hradil
Browse files

Adding more Envri-Hub styles

parent 84c8206a
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,7 @@ singleuser:
kubespawner_override:
args:
- "--CondaKernelSpecManager.env_filter='/opt/conda$'"
- "--LabApp.custom_css=True"
hub:
db:
......@@ -103,12 +104,22 @@ hub:
templatePaths:
- /egi-notebooks-hub/templates
extraFiles:
envri-logo:
mountPath: /usr/local/share/jupyterhub/static/images/envri-hub-next-color@4x.png
binaryData: {{ lookup('file', 'static/images/envri-hub-next-color@4x.png') | b64encode }}
envri-css:
mode: 0644
mountPath: /home/jovyan/.jupyter/custom/custom.css
binaryData: {{ lookup('file', 'static/css/custom.css') | b64encode }}
envri-lab-logo:
mountPath: /home/jovyan/.jupyter/custom/logo/envri-ntb-logo.png
binaryData: {{ lookup('file', 'static/images/envri-ntb-logo.png') | b64encode }}
envri-hub-header-logo:
mountPath: /usr/local/share/jupyterhub/static/images/envri-hub-next-header-logo.png
binaryData: {{ lookup('file', 'static/images/envri-hub-next-header-logo.png') | b64encode }}
envri-hub-footer-logo:
mountPath: /usr/local/share/jupyterhub/static/images/envri-hub-next-footer-logo.png
binaryData: {{ lookup('file', 'static/images/envri-hub-next-footer-logo.png') | b64encode }}
{% for f in "401.html", "egi-login.html", "page.html" %}
{{ f }}:
mountPath: /egi-notebooks-hub/templates/{{ f }}
stringData: |-
{{ lookup('file', ('envri-templates', f) | path_join) | indent(8) }}
{% endfor %}
{% endfor %}
\ No newline at end of file
......@@ -18,7 +18,7 @@
<div id="login-main" class="container">
<div class="jumbotron">
{% block main_intro %}
<h1><img alt="Notebooks Logo" src="{{ static_url('images/egi-icon-notebooks.svg') }}" height="100">Notebooks</h1>
<h1>Notebooks</h1>
<p>
Notebooks is an environment based on <a href="http://jupyter.org/">Jupyter</a> and
the <a href="https://www.egi.eu/services/cloud-compute/">EGI cloud service</a> that
......@@ -54,8 +54,8 @@
<img alt="EU logo" src="{{ static_url('images/eu-flag.png') }}" height="40">
</div>
<div class="col-sm-1">
<a href="https://www.egi.eu/projects/egi-ace/">
<img alt="EGI-ACE logo" src="{{ static_url('images/egi-ace.png') }}" height="40">
<a href="https://envri.eu/envri-hub-next/">
<img alt="ENVRI-Hub logo" src="{{ static_url('images/envri-hub-next-footer-logo.png') }}" height="40">
</a>
</div>
<div class="col-sm-1">
......@@ -64,8 +64,8 @@
</a>
</div>
<div class="col-sm-5">
{{ service_name }} is a service provided by <a href="https://www.cesnet.cz/?lang=en">CESNET</a>,
co-funded by <a href="https://www.egi.eu/projects/egi-ace/">EGI-ACE</a>.
Service provided by <a href="https://www.cesnet.cz/?lang=en">CESNET</a>,
funded by <a href="https://envri.eu/envri-hub-next/">ENVRI-Hub NEXT</a>.
</div>
<div class="col-sm-4 text-right">
<a href="https://notebooks.egi.eu/policies/privacy-policy.html">Privacy Notice</a> |
......
......@@ -81,6 +81,6 @@ body {
{% block logo %}
<span id="jupyterhub-logo" class="pull-left">
<a href="https://envri.eu/envri-hub-next/"><img src="{{ static_url('images/envri-hub-next-color@4x.png') }}" alt="ENVRI-Hub NEXT {{ service_name }}" class="egi-logo" title="Home"></a>
<a href="https://envri.eu/envri-hub-next/"><img src="{{ static_url('images/envri-hub-next-header-logo.png') }}" alt="ENVRI-Hub NEXT {{ service_name }}" class="egi-logo" title="Home"></a>
</span>
{% endblock %}
#jp-MainLogo svg {
visibility: hidden !important;
}
#jp-MainLogo {
background-image: url("./logo/envri-ntb-logo.png") !important;
}
envri-hub/deployments/static/images/envri-hub-next-footer-logo.png

16.8 KiB

envri-hub/deployments/static/images/envri-ntb-logo.png

9.19 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment