summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/setup.html
Commit message (Collapse)AuthorAgeFilesLines
* Add full scheme partitioning supportJavier Sánchez Parra2021-07-281-70/+52
| | | | | | | | | | The initial "Partition & Format" (aka setup) form only allows to modify one partition at a time. This commit updates it to allow to modify the whole disk partition schema in one go, without pop-ups and transitions. This is a remake of the previous form using FieldList de WTForms and javascript to duplicate / remove FieldList adapted to the attributes available in WTForms.
* Add new partition button in setup actionDaniel García Moreno2021-06-301-9/+72
| | | | | | | | | | | | | | | | | | | | | This patch adds a way to add a new partition to the setup.html template. This button opens a modal dialog with a new form and calls a new endpoint to create the new partition (this endpoint does nothing, it's needed to be implemented in the future). I've followed the initial design for this template, with one form per each partition, so every button will call a function and reload the page. It's possible to do all actions at once, but that will require a rework of this, to do that we can just define an unique form in the whole html, remove all the "Modify" buttons and add just one "Apply" button at the end. But maybe that option is a lot complex in the backend because will require to validate all the changes at once. This patch also improves the setup.html form without using flask-bootstrap and rendering the form in the template directly with the bootstrap4 classes.
* Keep the selection in the sidebar for mode & setupDaniel García Moreno2021-06-171-1/+1
|
* Add cosmetic improvementsJose M. Guisado2021-03-241-2/+4
| | | | | | | | * Adds label for each action page. * Adds a colored state for opengnsys connected clients * Fix nav active item * Rename some actions * Adds DISK to partition and format form
* Make partition forms inline in setup/Jose M. Guisado2021-03-051-0/+4
| | | | | | | | quick_form macro from Flask-Bootstrap creates vertical forms by default, this rendered each partition spanning too much vertical space. Use form_type='inline' from quick_form macro to compact the whole setup form.
* Add templates for clients, hardware, restore, session and setupRoberto Hueso Gómez2020-10-271-0/+13
These templates were not added in previous commits.