-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redesign header with logo, toggled info sections, etc. #751
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -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
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; | ||
} |
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> |
This file was deleted.
Oops, something went wrong.
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"> | ||
|
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="row"> | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why only enable the toggler at the last? Is it possible to show the
Guide
andAbout
when loading the main app?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately no 😞 Loading the app is an event. Clicking on guide or about will add that event behind the loading event, i.e., it will only trigger after the app is done loading. This is bad UX, so I enable the buttons only once the app finishes loading.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, this means that the user can not do anything when loading the main app. I hope we can find some solution in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the app load faster 😅 Working on it