Skip to content

Commit c87c8b6

Browse files
Add QE app section + citation (#50)
1 parent 146aefa commit c87c8b6

1 file changed

Lines changed: 77 additions & 32 deletions

File tree

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

Lines changed: 77 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66

77
{% block main %}
88

9-
<!---->
10-
{% if is_ephemeral %}
119
<div id="login-page">
10+
{% if is_ephemeral %}
1211
<div id="warning-banner" class="alert alert-warning">
1312
<h2 id="warning-label">
1413
<i class="fa fa-exclamation-triangle"></i>
@@ -55,7 +54,7 @@ <h1>Welcome to the AiiDAlab Demo Server</h1>
5554
<section id="platform-information">
5655
<div class="info-box">
5756
<div class="section-header">
58-
<h2>About AiiDAlab</h2>
57+
<h3>About AiiDAlab</h3>
5958
<i id="aiidalab-icon" class="fa"></i>
6059
</div>
6160
<p>
@@ -66,7 +65,7 @@ <h2>About AiiDAlab</h2>
6665
</div>
6766
<div class="info-box">
6867
<div class="section-header">
69-
<h2>About AiiDA</h2>
68+
<h3>About AiiDA</h3>
7069
<i id="aiida-icon" class="fa"></i>
7170
</div>
7271
<p>
@@ -77,7 +76,7 @@ <h2>About AiiDA</h2>
7776
</div>
7877
<div class="info-box">
7978
<div class="section-header">
80-
<h2>Resources</h2>
79+
<h3>Resources</h3>
8180
<i class="fa fa-info-circle"></i>
8281
</div>
8382
<ul id="resource-list">
@@ -117,46 +116,89 @@ <h2>Resources</h2>
117116
</ul>
118117
</div>
119118
</section>
119+
<section id="quantum-espresso">
120+
<div class="section-header">
121+
<h3>The Quantum ESPRESSO (QE) App</h3>
122+
</div>
123+
<p>
124+
The demo server is pre-configured with the AiiDAlab
125+
<a href="https://aiidalab-qe.readthedocs.io/" target="_blank"
126+
>Quantum ESPRESSO app</a
127+
>
128+
(QE app). The QE app provides a user-friendly interface to set up and
129+
run
130+
<a href="https://www.quantum-espresso.org/" target="_blank"
131+
>Quantum ESPRESSO</a
132+
>
133+
calculations, which are widely used for electronic-structure
134+
calculations and materials modeling. The app allows users to easily
135+
configure input parameters, submit calculations, and visualize
136+
results, making it an ideal tool for both beginners and experienced
137+
users in the field of computational materials science.
138+
</p>
139+
</section>
120140
<section id="acknowledgement">
121141
<hr />
122142
<p>
123143
This work is or has been supported by the
124-
<a href="http://nccr-marvel.ch">
144+
<a href="http://nccr-marvel.ch" target="_blank">
125145
MARVEL National Centre of Competence in Research
126146
</a>
127147
and funded by the
128-
<a href="http://www.snf.ch/en">Swiss National Science Foundation</a>,
129-
the MARKETPLACE project funded by
130-
<a href="https://ec.europa.eu/programmes/horizon2020/">
148+
<a href="http://www.snf.ch/en" target="_blank"
149+
>Swiss National Science Foundation</a
150+
>, the MARKETPLACE project funded by
151+
<a
152+
href="https://ec.europa.eu/programmes/horizon2020/"
153+
target="_blank"
154+
>
131155
Horizon 2020
132156
</a>
133157
under the H2020-NMBP-25-2017 call (Grant No.&nbsp;760173), as well as
134158
by the
135-
<a href="http://www.max-centre.eu/">
159+
<a href="http://www.max-centre.eu/" target="_blank">
136160
MaX European Centre of Excellence
137161
</a>
138162
funded by the Horizon 2020 EINFRA-5 program, Grant No.&nbsp;676598,
139163
and other
140-
<a href="https://www.materialscloud.org/home#partners">
164+
<a
165+
href="https://www.materialscloud.org/home#partners"
166+
target="_blank"
167+
>
141168
Materials Cloud partners </a
142169
>.
143170
</p>
144-
<div id="citing">
171+
<div class="citations">
145172
<p>
146173
<strong>
147-
We kindly ask you to cite the following publication if you use
148-
AiiDA:
174+
If you use AiiDAlab and/or the QE app in your research, we kindly
175+
ask you to cite the following publications:
149176
</strong>
150177
</p>
151-
<p>
152-
A. V. Yakutovich et al., Comp. Mat. Sci. 188, 110165 (2021)
153-
<a
154-
href="https://doi.org/10.1016/j.commatsci.2020.110165"
155-
target="_blank"
156-
>
157-
DOI:10.1016/j.commatsci.2020.110165
158-
</a>
159-
</p>
178+
<ul>
179+
<li>
180+
A. V. Yakutovich et al. <em>Comp. Mat. Sci.</em> <b>188</b>,
181+
110165 (2021)
182+
<br />
183+
<a
184+
href="https://doi.org/10.1016/j.commatsci.2020.110165"
185+
target="_blank"
186+
>
187+
DOI:10.1016/j.commatsci.2020.110165
188+
</a>
189+
</li>
190+
<li>
191+
Wang, X., Bainglass, E., Bonacci, M., Ortega-Guerrero, A. et al.
192+
<em>npj. Comput. Mater.</em> <b>12</b>, 72 (2026)
193+
<br />
194+
<a
195+
href="https://doi.org/10.1038/s41524-025-01936-4"
196+
target="_blank"
197+
>
198+
DOI:10.1038/s41524-025-01936-4
199+
</a>
200+
</li>
201+
</ul>
160202
</div>
161203
<hr />
162204
</section>
@@ -185,7 +227,7 @@ <h2>Resources</h2>
185227
}
186228

187229
body {
188-
background: url("/hub/static/external/background.jpg") center / cover
230+
background: url("/hub/static/external/background.jpg") center / 250%
189231
no-repeat;
190232
}
191233

@@ -199,7 +241,6 @@ <h2>Resources</h2>
199241
display: flex;
200242
flex-direction: column;
201243
gap: 2rem;
202-
height: 100%;
203244
}
204245

205246
#login-page {
@@ -222,7 +263,6 @@ <h2>Resources</h2>
222263

223264
#main-container {
224265
padding: 4rem 5rem 1rem;
225-
border: 1px solid #ccc;
226266
border-radius: 4px 4px 0 0;
227267
background-color: #fff;
228268
box-shadow: 0 0 5px #fff;
@@ -289,7 +329,7 @@ <h2>Resources</h2>
289329
gap: 1rem;
290330
}
291331

292-
.section-header h2,
332+
.section-header h3,
293333
.section-header i {
294334
margin-top: 0;
295335
font-size: 24px;
@@ -325,16 +365,21 @@ <h2>Resources</h2>
325365
margin-right: 5px;
326366
}
327367

368+
#quantum-espresso {
369+
max-width: 500px;
370+
margin: 0 auto;
371+
}
372+
373+
#quantum-espresso .section-header {
374+
justify-content: center;
375+
}
376+
328377
#acknowledgement {
329378
max-width: 600px;
330379
margin: 0 auto;
331380
font-size: smaller;
332381
}
333382

334-
#acknowledgement hr {
335-
border-color: black;
336-
}
337-
338383
#acknowledgement hr:first-child {
339384
margin-top: 0;
340385
}
@@ -343,7 +388,7 @@ <h2>Resources</h2>
343388
margin-bottom: 0;
344389
}
345390

346-
#citing p:first-child {
391+
.citations p:first-child {
347392
margin-bottom: 4px;
348393
}
349394

0 commit comments

Comments
 (0)