-
Notifications
You must be signed in to change notification settings - Fork 1
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
Footer calculate back next #539
Conversation
ui/runs/static/runs/runs.js
Outdated
@@ -32,4 +32,12 @@ $(document).ready(function () { | |||
let id = $(this).attr("id"); | |||
$('#chosen-' + id).text(this.files[0].name); | |||
}); | |||
|
|||
// control calculate buttons in header |
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.
// control calculate buttons in header | |
// control calculate buttons in footer |
ui/runs/static/runs/runs.js
Outdated
$('#calculate_parameters_submit_plot_form').click(function() { | ||
$("#calc_form").submit(); | ||
}); | ||
$('#calculate_parameters_submit_form').click(function() { | ||
$("#calc_from_method").submit(); |
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.
Einheitliche Benennung von den from ids wäre schön
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.
Danke, ich habe die Namensgebung geupdatet :)
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.
Sieht visuell sehr schick aus, Code passt bis auf die kommentierten Sachen auch👍
ui/runs/templates/runs/details.html
Outdated
</div> | ||
</div> | ||
|
||
<div class="footer border border-end-0 border-start-0 border-bottom-0"> |
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.
Instead of excluding the three borders, you can use border-top
as well to just include the one you want :) And I'd maybe add pt-3
so that you have the same paddings as with the borders in the navbar
But besides that, I personally like the alignment of these two buttons a lot!
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.
Thx and good optimisations, I have implemented them :)
Description
Added footer to the run-details-page with Calculate/Next/Back.buttons and fixed scrolling.
Changes
run-related files (
details.html, styles.css, runs.js
)Testing
PR checklist
Development
Mergeability
black
Code review