summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/client_details.html
Commit message (Collapse)AuthorAgeFilesLines
* templates: add free partition size in client detailsAlejandro Sirgo Rica2024-09-251-0/+1
| | | | | Add column with available space in partitions only in the client details views.
* templates: add efi data to /client/infoAlejandro Sirgo Rica2024-09-101-0/+5
| | | | Show EFI info obtained through GET /efi.
* ogcp: add support for multi-disk partition and formatAlejandro Sirgo Rica2024-09-021-25/+4
| | | | | | | | | | | | | | | | | | Add support for selecting different disks in the disk inspector. Add disk_inspector.html as a template to show the disk contents of a client. The view can define the variable readonly_disk_inspector to make the view non editable. Use disk_inspector.html in the following views: - client details - partition and format Update code to obtain the partitions of a client to better fit the requirements of disk_inspector.html Remove code to setup the SetupForm as the contents of the disks are now dynamically loaded through javascript.
* templates: make client details template more compactAlejandro Sirgo Rica2024-07-251-56/+11
| | | | | Make the form template update automatically after form definition modifications. Use a loop to render the for fields.
* ogcp: show cache contents in client detailsAlejandro Sirgo Rica2024-07-161-0/+4
| | | | | | Show cache contents in client details for a more complete view of the client's state. Move the cache inspector code to its own template for reusability.
* templates: hide part table in client details with no partitionsAlejandro Sirgo Rica2024-07-151-0/+2
| | | | | Remove <table> with partition information in client details form when the selected client has no partition configuration.
* templates: make ClientDetailsForm render more compactAlejandro Sirgo Rica2024-07-151-4/+68
| | | | | | | | Make the client form more compact so the user does not require to scroll to view all the information. Place each label and field in the same row of the form layout. Disable the Maintenance and Remote fields as they have not actual functionality.
* ogcp: improve page heading styleAlejandro Sirgo Rica2024-06-271-1/+1
| | | | Make headings take less space and have a dashed line under them.
* templates: use the correct storage units1.1.3-20Alejandro Sirgo Rica2024-05-301-1/+1
| | | | | | | Use base 2 storage units in html templates as that's the correct representation for the values shown in the web. Remove units such as "Gbytes" and "MB" for their binary byte unit counterparts.
* templates: rename 'create' button to 'submit'Javier Hernandez2023-12-211-1/+1
| | | | | | | In client_details template, rename 'create' button to 'submit'. This template is used by both client-add and client-edit commands; it would not make sense to have a 'Create' button in client-edit.
* Add missing gettext functionsJavier Sánchez Parra2022-03-221-5/+5
| | | | Otherwise, this strings are not translatable.
* Add back button to all actionsJavier Sánchez Parra2022-03-141-0/+1
| | | | Add a back button to facilitate users to return to the previous page.
* Disable scopes tree's checkboxes in action viewsJavier Sánchez Parra2022-03-101-0/+2
| | | | | Now users can select clients only in scopes and command views, in any other view we set the scopes tree read only.
* Set scopes nav buttons as activeJavier Sánchez Parra2022-03-071-0/+1
| | | | When loading any scopes view, its nav button becomes active.
* Set commands nav buttons as activeJavier Sánchez Parra2022-03-041-0/+2
| | | | When loading any command view, its nav button becomes active.
* Extend scopes or commands in client detailsJavier Sánchez Parra2022-03-031-1/+1
| | | | | | Both "Add client" and "Client details" views use client_details.html template. With this commit, "Add client" extends scopes.html and "Client details" extend commands.hmlt.
* Extend commands htmlJavier Sánchez Parra2022-03-021-1/+1
| | | | | Otherwise, this actions pages lose the scopes tree and the commands buttons.
* Show disk and partition size in mebibytesJavier Sánchez Parra2022-01-191-2/+2
| | | | | | | | | This commit converts disk and partition size from kibibytes to mebibytes to improve usability. Disk and partition size are used in "Client details" and "Partition & format" forms. It also returns size to kibibytes when creating /setup API payload as required by ogServer.
* Add partitions info to client detailsJavier Sánchez Parra2021-10-131-0/+24
| | | | Show a table with client's disks and partitions information.
* Add cosmetic improvementsJose M. Guisado2021-03-241-1/+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
* Add templates for clients, hardware, restore, session and setupRoberto Hueso Gómez2020-10-271-0/+10
These templates were not added in previous commits.