Skip to main content
Sign in
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
Branches
No related tags found
No related merge requests found
...@@ -50,6 +50,7 @@ singleuser: ...@@ -50,6 +50,7 @@ singleuser:
kubespawner_override: kubespawner_override:
args: args:
- "--CondaKernelSpecManager.env_filter='/opt/conda$'" - "--CondaKernelSpecManager.env_filter='/opt/conda$'"
- "--LabApp.custom_css=True"
hub: hub:
db: db:
...@@ -103,9 +104,19 @@ hub: ...@@ -103,9 +104,19 @@ hub:
templatePaths: templatePaths:
- /egi-notebooks-hub/templates - /egi-notebooks-hub/templates
extraFiles: extraFiles:
envri-logo: envri-css:
mountPath: /usr/local/share/jupyterhub/static/images/envri-hub-next-color@4x.png mode: 0644
binaryData: {{ lookup('file', 'static/images/envri-hub-next-color@4x.png') | b64encode }} 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" %} {% for f in "401.html", "egi-login.html", "page.html" %}
{{ f }}: {{ f }}:
mountPath: /egi-notebooks-hub/templates/{{ f }} mountPath: /egi-notebooks-hub/templates/{{ f }}
... ...
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div id="login-main" class="container"> <div id="login-main" class="container">
<div class="jumbotron"> <div class="jumbotron">
{% block main_intro %} {% block main_intro %}
<h1><img alt="Notebooks Logo" src="{{ static_url('images/egi-icon-notebooks.svg') }}" height="100">Notebooks</h1> <h1>Notebooks</h1>
<p> <p>
Notebooks is an environment based on <a href="http://jupyter.org/">Jupyter</a> and 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 the <a href="https://www.egi.eu/services/cloud-compute/">EGI cloud service</a> that
...@@ -54,8 +54,8 @@ ...@@ -54,8 +54,8 @@
<img alt="EU logo" src="{{ static_url('images/eu-flag.png') }}" height="40"> <img alt="EU logo" src="{{ static_url('images/eu-flag.png') }}" height="40">
</div> </div>
<div class="col-sm-1"> <div class="col-sm-1">
<a href="https://www.egi.eu/projects/egi-ace/"> <a href="https://envri.eu/envri-hub-next/">
<img alt="EGI-ACE logo" src="{{ static_url('images/egi-ace.png') }}" height="40"> <img alt="ENVRI-Hub logo" src="{{ static_url('images/envri-hub-next-footer-logo.png') }}" height="40">
</a> </a>
</div> </div>
<div class="col-sm-1"> <div class="col-sm-1">
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,8 @@
</a> </a>
</div> </div>
<div class="col-sm-5"> <div class="col-sm-5">
{{ service_name }} is a service provided by <a href="https://www.cesnet.cz/?lang=en">CESNET</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>. funded by <a href="https://envri.eu/envri-hub-next/">ENVRI-Hub NEXT</a>.
</div> </div>
<div class="col-sm-4 text-right"> <div class="col-sm-4 text-right">
<a href="https://notebooks.egi.eu/policies/privacy-policy.html">Privacy Notice</a> | <a href="https://notebooks.egi.eu/policies/privacy-policy.html">Privacy Notice</a> |
... ...
......
...@@ -81,6 +81,6 @@ body { ...@@ -81,6 +81,6 @@ body {
{% block logo %} {% block logo %}
<span id="jupyterhub-logo" class="pull-left"> <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> </span>
{% endblock %} {% 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 to comment