-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the workflow summary to have two tables with the "WorkChain setings" and the "Advanced Settings". Fix several pieces in the code to make sure the output it obtained correctly. Also move to using jinja files and CSS to write down these somewhat larger HTML parts that can do with some styling.
- Loading branch information
Showing
7 changed files
with
281 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
:root { | ||
--lab-blue: #2097F3; | ||
--lab-background: #d3ecff; | ||
} | ||
|
||
table { | ||
font-family: arial, sans-serif; | ||
border-collapse: collapse; | ||
border:1px solid #bbbbbb; | ||
width: 100%; | ||
} | ||
h3 { | ||
margin-top: 0px; | ||
} | ||
td, tr { | ||
border-left: 2px solid var(--lab-blue); | ||
text-align: left; | ||
padding: 8px; | ||
} | ||
tr { | ||
background-color: var(--lab-background); | ||
} | ||
tr:nth-child(even) { | ||
background-color: #ffffff; | ||
} | ||
td:nth-child(even) { | ||
border-left: 0px; | ||
} | ||
/* Create two equal columns that floats next to each other */ | ||
.column { | ||
float: left; | ||
width: 50%; | ||
padding: 10px; | ||
height: 300px; /* Should be removed. Only for demonstration */ | ||
} | ||
|
||
/* Clear floats after the columns */ | ||
.row:after { | ||
content: ""; | ||
display: table; | ||
clear: both; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<head> | ||
<style> | ||
{{ style }} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
|
||
<div style="padding-top: 0px; padding-bottom: 0px; line-height: 140%;"> | ||
<h3>Welcome to the AiiDAlab Quantum ESPRESSO app! 👋</h3> | ||
|
||
The <a href="https://www.quantum-espresso.org/" target="_blank">Quantum ESPRESSO</a> app (or QEapp for short) is a graphical interface for calculating material properties based on density-functional theory (DFT). | ||
Each of the properties is calculated by workflows powered by the <a href="https://www.aiida.net/" target="_bland"> AiiDA engine</a>, and maintained in the <a href="https://aiida-quantumespresso.readthedocs.io/en/latest/" target="_blank"> Quantum ESPRESSO plugin</a> for AiiDA. | ||
|
||
<p style="padding-top: 10px; padding-bottom: 10px;">The QEapp allows you to calculate material properties in a simple 3-step process:</p> | ||
|
||
<ol style="list-style-type:none"> | ||
<li style="padding-top: 2px; padding-bottom: 2px;">🔍 <b>Step 1:</b> Select the structure you want to run.</li> | ||
<li style="padding-top: 2px; padding-bottom: 2px;">⚙️ <b>Step 2:</b> Select the properties you are interested in.</li> | ||
<li style="padding-top: 2px; padding-bottom: 2px;">🚀 <b>Step 3:</b> Submit your workflow!</li> | ||
</ol> | ||
|
||
<p style="padding-top: 5px; padding-bottom: 5px;">New users can go straight to the first step and select their structure. Once you've already calculated some properties, you can select the corresponding workflow using the dropdown below.</p> | ||
<p style="padding-top: 5px; padding-bottom: 5px;"><em>Happy computing! 🎉</em></p> | ||
</div> | ||
|
||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<head> | ||
<style> | ||
{{ style }} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
|
||
<div class="row"> | ||
<div class="column"> | ||
<h3>Workchain settings</h3> | ||
<table> | ||
<tr> | ||
<td>Structure geometry optimized</td> | ||
<td>{{ relaxed | fmt_yes_no }}</td> | ||
</tr> | ||
{% if relaxed %} | ||
<tr> | ||
<td>Optimization method</td> | ||
<td>{{ relax_method }}</td> | ||
</tr> | ||
{% endif %} | ||
<tr> | ||
<td>Work chain protocol</td> | ||
<td>{{ protocol }}</td> | ||
</tr> | ||
<tr> | ||
<td>Magnetism</td> | ||
<td>{{ material_magnetic }}</td> | ||
</tr> | ||
<tr> | ||
<td>Electronic type</td> | ||
<td>{{ electronic_type }}</td> | ||
</tr> | ||
|
||
</table> | ||
</div> | ||
<div class="column"> | ||
<h3>Advanced settings</h3> | ||
<table> | ||
<tr> | ||
<td>Functional</td> | ||
<td> | ||
<a href="{{ functional_link }}" target="_blank"> | ||
{{ functional }} | ||
</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Pseudopotential library</td> | ||
<td> | ||
<a href="{{ pseudo_link }}" target="_blank"> | ||
{{ pseudo_library }} {{ pseudo_protocol }} v{{ pseudo_version }} | ||
</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Energy cutoff (wave functions)</td> | ||
<td>{{ energy_cutoff_wfc }} Ry</td> | ||
</tr> | ||
<tr> | ||
<td>Energy cutoff (charge density)</td> | ||
<td>{{ energy_cutoff_rho }} Ry</td> | ||
</tr> | ||
<tr> | ||
<td>K-point mesh distance (SCF)</td> | ||
<td>{{ scf_kpoints_distance }} Å<sup>-1</sup></td> | ||
</tr> | ||
{% if bands_computed %} | ||
<tr> | ||
<td>K-point line distance (Bands)</td> | ||
<td>{{ bands_kpoints_distance }} Å<sup>-1</sup></td> | ||
</tr> | ||
{% endif %} | ||
{% if pdos_computed %} | ||
<tr> | ||
<td>K-point mesh distance (NSCF)</td> | ||
<td>{{ nscf_kpoints_distance }}</td> | ||
</tr> | ||
{% endif %} | ||
</table> | ||
</div> | ||
</div> | ||
|
||
</body> |
Oops, something went wrong.