-
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.
Merge branch 'main' into electron_maxstep
- Loading branch information
Showing
26 changed files
with
485 additions
and
98 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
build/ | ||
export/ | ||
.do-not-setup-on-localhost | ||
|
||
.mypy_cache/ | ||
|
||
# Sphinx documentation | ||
docs/html | ||
|
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
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
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 |
---|---|---|
@@ -1,7 +1 @@ | ||
"""Package for the AiiDAlab QE app.""" | ||
|
||
from .main import App | ||
|
||
__all__ = [ | ||
"App", | ||
] |
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
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,13 @@ | ||
# Stylesheets for the Quantum ESPRESSO app | ||
|
||
This folder contains `css` stylesheets. These can be loaded from the styles folder using | ||
|
||
```python | ||
from aiidalab_widgets_base.utils.loaders import load_css | ||
|
||
load_css(css_path="src/aiidalab_qe/app/static/styles") # load all stylesheets in the styles folder | ||
|
||
# or | ||
|
||
load_css(css_path="src/aiidalab_qe/app/static/styles/<stylesheet>.css") # load a single stylesheet | ||
``` |
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,48 @@ | ||
/* | ||
Override Jupyter width limitation to | ||
make apps take full notebook width | ||
*/ | ||
.output_subarea { | ||
max-width: none !important; | ||
} | ||
/* end override */ | ||
|
||
.app-header { | ||
margin-bottom: 1em; | ||
} | ||
|
||
.logo { | ||
text-align: center; | ||
} | ||
|
||
#subtitle { | ||
text-align: center; | ||
font-style: italic; | ||
} | ||
|
||
.info-toggles { | ||
margin: 0 auto; | ||
} | ||
.info-toggles button { | ||
width: 100px; | ||
margin: 1em 0.5em; | ||
} | ||
.info-toggles button:focus { | ||
outline: none !important; | ||
} | ||
|
||
.guide ol { | ||
list-style: none; | ||
} | ||
.guide p:not(:last-of-type) { | ||
margin-bottom: 0.5em; | ||
} | ||
|
||
#loading { | ||
text-align: center; | ||
font-size: large; | ||
} | ||
|
||
footer { | ||
text-align: right; | ||
} |
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,15 @@ | ||
.info-box { | ||
display: none; | ||
margin: 2px; | ||
padding: 1em; | ||
border: 3px solid orangered; | ||
background-color: #ffedcc; | ||
border-radius: 1em; | ||
-webkit-border-radius: 1em; | ||
-moz-border-radius: 1em; | ||
-ms-border-radius: 1em; | ||
-o-border-radius: 1em; | ||
} | ||
.info-box p { | ||
line-height: 24px; | ||
} |
File renamed without changes.
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,10 @@ | ||
<div class="about"> | ||
<p> | ||
The <a href="https://www.quantum-espresso.org/" target="_blank">Quantum ESPRESSO</a> app | ||
(or QE app for short) is a graphical front end for calculating materials properties using | ||
Quantum ESPRESSO (QE). Each property 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">aiida-quantumespresso plugin</a> and many other plugins developed by the community. | ||
for AiiDA. | ||
</p> | ||
</div> |
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 @@ | ||
<div class="guide"> | ||
<p> | ||
The QE app allows you to calculate properties in a simple 4-step process: | ||
</p> | ||
|
||
<ol> | ||
<li> | ||
🔍 <strong>Step 1:</strong> Select the structure you want to run. | ||
</li> | ||
<li> | ||
⚙️ <strong>Step 2:</strong> Select the properties you are interested in. | ||
</li> | ||
<li> | ||
💻 <strong>Step 3:</strong> Choose the computational resources you want to run on. | ||
</li> | ||
<li> | ||
🚀 <strong>Step 4:</strong> Submit your workflow. | ||
</li> | ||
</ol> | ||
|
||
<p> | ||
New users can go straight to the first step and select their structure. | ||
</p> | ||
|
||
<p> | ||
Completed workflows can be selected at the top of the app. | ||
</p> | ||
|
||
<p> | ||
You can also check out the | ||
<a href="https://aiidalab-qe.readthedocs.io/tutorials/basic.html" target="_blank">basic</a> tutorial to get started | ||
with the Quantum ESPRESSO app, or try out the | ||
<a href="https://aiidalab-qe.readthedocs.io/tutorials/advanced.html" target="_blank">advanced</a> tutorial to learn | ||
additional features offered by the app. | ||
</p> | ||
|
||
<p> | ||
For a more in-depth dive into the app's features, please refer to the | ||
<a href="https://aiidalab-qe.readthedocs.io/howto/index.html" target="_blank">how-to guides</a>. | ||
</p> | ||
</p> | ||
</div> |
6 changes: 0 additions & 6 deletions
6
...alab_qe/app/static/workflow_failure.jinja → ...p/static/templates/workflow_failure.jinja
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 |
---|---|---|
@@ -1,9 +1,3 @@ | ||
<head> | ||
<style> | ||
{{ style }} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
|
||
<div class="alert alert-danger error-container"> | ||
|
Oops, something went wrong.