Skip to content

Commit 4af9ad4

Browse files
Merge branch 'main' into production
2 parents a4e1e84 + 88e44c7 commit 4af9ad4

8 files changed

Lines changed: 234 additions & 146 deletions

File tree

basehub/files/etc/jupyterhub/templates/login.html

Lines changed: 125 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414

1515
{% block main %}
1616
<div id="login-page">
17-
<header id="banner">
17+
<div id="banner">
1818
<div id="brand-logo">
1919
<a class="logo" href="https://aiidalab.net" target="_blank">
2020
<img src="/hub/static/external/aiidalab-wide-logo.png" alt="AiiDAlab" />
2121
</a>
2222
</div>
2323
<div id="title">
24-
<h1>Welcome to the AiiDAlab {{ DEPLOYMENT }} Server</h1>
24+
<h1>{{ title }}</h1>
2525
<span class="hint">{{ subtitle }}</span>
2626
</div>
2727
<div id="login-button">
@@ -43,13 +43,17 @@ <h2 id="warning-label">
4343
</strong>
4444
</div>
4545
{% endif %}
46-
</header>
46+
</div>
4747

4848
<section id="platform-information">
4949
<div class="info-box">
5050
<div class="section-header">
51-
<i id="aiidalab-icon" class="fa"></i>
52-
<h2>About AiiDAlab</h2>
51+
<img
52+
id="aiidalab-icon"
53+
src="/hub/static/external/aiidalab-icon.svg"
54+
alt="AiiDAlab"
55+
/>
56+
<h2>AiiDAlab</h2>
5357
</div>
5458
<p>
5559
<a href="https://aiidalab.net" target="_blank">AiiDAlab</a> is an
@@ -59,8 +63,12 @@ <h2>About AiiDAlab</h2>
5963
</div>
6064
<div class="info-box">
6165
<div class="section-header">
62-
<i id="aiida-icon" class="fa"></i>
63-
<h2>About AiiDA</h2>
66+
<img
67+
id="aiida-icon"
68+
src="/hub/static/external/aiida-icon.svg"
69+
alt="AiiDA"
70+
/>
71+
<h2>AiiDA</h2>
6472
</div>
6573
<p>
6674
<a href="https://aiida.net" target="_blank">AiiDA</a>
@@ -71,38 +79,22 @@ <h2>About AiiDA</h2>
7179
</div>
7280
<div class="info-box">
7381
<div class="section-header">
74-
<i class="fa fa-info-circle"></i>
75-
<h2>Resources</h2>
82+
<img
83+
id="mc-icon"
84+
src="/hub/static/external/mc-icon.svg"
85+
alt="Materials Cloud"
86+
/>
87+
<h2>Materials Cloud</h2>
7688
</div>
77-
<ul id="resource-list">
78-
<li class="resource-item">
79-
<i class="fa fa-video-camera"></i>
80-
<a href="https://www.youtube.com/watch?v=Oqo5buk6Om8" target="_blank">
81-
AiiDAlab introduction video
82-
</a>
83-
</li>
84-
<li class="resource-item">
85-
<i class="fa fa-book"></i>
86-
<a href="https://aiidalab.readthedocs.io/en/latest/" target="_blank">
87-
AiiDAlab documentation
88-
</a>
89-
</li>
90-
<li class="resource-item">
91-
<i class="fa fa-laptop"></i>
92-
<a
93-
href="https://aiidalab.readthedocs.io/en/latest/usage/access/local.html"
94-
target="_blank"
95-
>
96-
Deploy AiiDAlab locally
97-
</a>
98-
</li>
99-
<li class="resource-item">
100-
<i class="fa fa-book"></i>
101-
<a href="https://aiida.readthedocs.io/en/latest/" target="_blank">
102-
AiiDA documentation
103-
</a>
104-
</li>
105-
</ul>
89+
<p>
90+
The
91+
<a href="https://www.materialscloud.org" target="_blank"
92+
>Materials Cloud</a
93+
>
94+
is a platform for open and reproducible computational science, providing
95+
tools for sharing, publishing, and exploring research data and
96+
workflows.
97+
</p>
10698
</div>
10799
</section>
108100

@@ -178,8 +170,16 @@ <h2>Acknowledgements</h2>
178170
<h4>Please cite:</h4>
179171
<ul>
180172
<li>
181-
A. V. Yakutovich et al. <em>Comp. Mat. Sci.</em> <b>188</b>, 110165
182-
(2021)
173+
A. V. Yakutovich, D. Hollas, E. Bainglass, J. Yu et al.,
174+
<em>Digit. Discov.</em> <b>5</b>, 2310-2324 (2026).
175+
<br />
176+
<a href="https://doi.org/10.1039/D5DD00567A" target="_blank">
177+
DOI:10.1039/D5DD00567A
178+
</a>
179+
</li>
180+
<li>
181+
A. V. Yakutovich, K. Eimre, O. Schütt et al.
182+
<em>Comp. Mat. Sci.</em> <b>188</b>, 110165 (2021).
183183
<br />
184184
<a
185185
href="https://doi.org/10.1016/j.commatsci.2020.110165"
@@ -193,46 +193,92 @@ <h4>Please cite:</h4>
193193
</div>
194194
</section>
195195

196-
<section id="faq">
197-
<div class="info-box">
198-
<div class="section-header">
199-
<h2>Any Questions?</h2>
200-
</div>
201-
<p>
202-
If you have any questions or need assistance, please refer to the
203-
<a href="/faq">FAQ</a> page. If you cannot find your question, please
204-
<a
205-
href="mailto:{{ support_emails | join(',') }}?subject=[HELP] AiiDAlab PSI Server"
206-
>send us an email</a
207-
>.
208-
</p>
209-
For technical issues, please open an issue at:
210-
<ul>
211-
<li>
196+
<section id="more-info">
197+
<div id="faq">
198+
<div class="info-box">
199+
<div class="section-header">
200+
<h2>Any Questions?</h2>
201+
</div>
202+
<p>
203+
If you have any questions or need assistance, please refer to the
204+
<a href="/faq">FAQ</a> page. If you cannot find your question, please
212205
<a
213-
href="https://github.com/aiidalab/aiidalab/issues/new"
214-
target="_blank"
215-
>AiiDAlab</a
216-
>
217-
</li>
218-
{% if deployment == "Demo" %}
219-
<li>
220-
<a
221-
href="https://github.com/aiidalab/aiidalab-demo-server/issues/new"
222-
target="_blank"
223-
>AiiDAlab Demo Server</a
224-
>
225-
</li>
226-
{% endif %} {% if include_qe %}
227-
<li>
228-
<a
229-
href="https://github.com/aiidalab/aiidalab-qe/issues/new"
230-
target="_blank"
231-
>AiiDAlab QE app</a
232-
>
233-
</li>
234-
{% endif %}
235-
</ul>
206+
href="mailto:{{ support_emails | join(',') }}?subject=[HELP] AiiDAlab PSI Server"
207+
>send us an email</a
208+
>.
209+
</p>
210+
For technical issues, please open an issue at:
211+
<ul>
212+
<li>
213+
<a
214+
href="https://github.com/aiidalab/aiidalab/issues/new"
215+
target="_blank"
216+
>AiiDAlab</a
217+
>
218+
</li>
219+
{% if deployment == "Demo" %}
220+
<li>
221+
<a
222+
href="https://github.com/aiidalab/aiidalab-demo-server/issues/new"
223+
target="_blank"
224+
>AiiDAlab Demo Server</a
225+
>
226+
</li>
227+
{% endif %} {% if include_qe %}
228+
<li>
229+
<a
230+
href="https://github.com/aiidalab/aiidalab-qe/issues/new"
231+
target="_blank"
232+
>AiiDAlab QE app</a
233+
>
234+
</li>
235+
{% endif %}
236+
</ul>
237+
</div>
238+
</div>
239+
240+
<div id="resources">
241+
<div class="info-box">
242+
<div class="section-header">
243+
<i class="fa fa-info-circle"></i>
244+
<h2>Resources</h2>
245+
</div>
246+
<ul id="resource-list">
247+
<li class="resource-item">
248+
<i class="fa fa-video-camera"></i>
249+
<a
250+
href="https://www.youtube.com/watch?v=Oqo5buk6Om8"
251+
target="_blank"
252+
>
253+
AiiDAlab introduction video
254+
</a>
255+
</li>
256+
<li class="resource-item">
257+
<i class="fa fa-book"></i>
258+
<a
259+
href="https://aiidalab.readthedocs.io/en/latest/"
260+
target="_blank"
261+
>
262+
AiiDAlab documentation
263+
</a>
264+
</li>
265+
<li class="resource-item">
266+
<i class="fa fa-laptop"></i>
267+
<a
268+
href="https://aiidalab.readthedocs.io/en/latest/usage/access/local.html"
269+
target="_blank"
270+
>
271+
Deploy AiiDAlab locally
272+
</a>
273+
</li>
274+
<li class="resource-item">
275+
<i class="fa fa-book"></i>
276+
<a href="https://aiida.readthedocs.io/en/latest/" target="_blank">
277+
AiiDA documentation
278+
</a>
279+
</li>
280+
</ul>
281+
</div>
236282
</div>
237283
</section>
238284

basehub/files/etc/jupyterhub/templates/page.html

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,31 @@
77
<link rel="stylesheet" href="/hub/static/external/page.css" type="text/css" />
88
{% endblock %}
99

10+
11+
<!---->
12+
{% block scripts %}
13+
<!---->
14+
{{ super() }}
15+
<!---->
16+
{% if is_mc_deployment %}
17+
<script src="https://cdn.jsdelivr.net/gh/materialscloud-org/mc-header@main/header.js" defer></script>
18+
<script>
19+
var breadcrumbsPath = [
20+
{ name: "Work", link: "https://www.materialscloud.org/work/" },
21+
{
22+
name: "AiiDAlab",
23+
link: "https://www.materialscloud.org/work/aiidalab",
24+
},
25+
{
26+
name: "AiiDAlab demo server",
27+
link: null,
28+
},
29+
];
30+
</script>
31+
{% endif %}
32+
<!---->
33+
{% endblock scripts %}
34+
1035
{% block nav_bar %}
1136
<nav class="navbar navbar-default">
1237
<div class="container-fluid">
@@ -92,7 +117,7 @@
92117
{% endif %}
93118
<img
94119
src="{{ institution_logo_src }}"
95-
alt="{{ institution_logo_alt or 'Logo' }}"
120+
alt="{{ institution_logo_alt or 'Institution' }}"
96121
/>
97122
{% if institution_logo_href %}
98123
</a>
@@ -101,6 +126,18 @@
101126
{% endif %}
102127
</li>
103128
{% endif %}
129+
{% if not is_mc_deployment %}
130+
<li id="mc-link">
131+
<a
132+
href="https://www.materialscloud.org/"
133+
title="Materials Cloud"
134+
target="_blank"
135+
rel="noopener noreferrer"
136+
>
137+
<img src="/hub/static/external/mc-icon.svg" alt="Materials Cloud" />
138+
</a>
139+
</li>
140+
{% endif %}
104141
{% endblock %}
105142
</ul>
106143
</div>

0 commit comments

Comments
 (0)