Skip to content

Commit

Permalink
Announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Augspurger committed May 21, 2024
1 parent b796523 commit 59da7c4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions helm/chart/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ daskhub:
extraConfig:
# mylabels: |
# c.KubeSpawner.extra_labels = {}
announce: |
c.JupyterHub.template_vars = {'announcement': 'The Planetary Computer Hub is being retired on June 6th. See the <a href="https://github.com/microsoft/PlanetaryComputer/discussions">GitHub Discussion</a> for more information.'}
kubespawner: |
c.KubeSpawner.start_timeout = 20 * 60 # 20 minutes
01-add-dask-gateway-values: |
Expand Down
8 changes: 7 additions & 1 deletion helm/chart/files/etc/jupyterhub/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@
min-height: 80vh;
}

.announcement {
min-height: auto;
margin-top: 20px;
}

/* Login page styles */
.box {
width: 45%;
Expand Down Expand Up @@ -410,7 +415,7 @@
</script>
</header>

<aside>
<!-- <aside>
<div class="header-banner layout-row grid-content">
<div class="banner-item">
<h1>Hub</h1>
Expand All @@ -425,6 +430,7 @@ <h1>Hub</h1>
</div>
</div>
</aside>
-->

{% endblock %}

Expand Down

0 comments on commit 59da7c4

Please sign in to comment.