summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/dashboard.html
Commit message (Collapse)AuthorAgeFilesLines
* templates: link to images view from the dashboardAlejandro Sirgo Rica2024-07-301-1/+1
| | | | Add link to image count in dashboard to open images view.
* templates: improve spacing in main dashboardAlejandro Sirgo Rica2024-06-281-1/+1
| | | | | Use a plain line break instead of a horizontal rule to split the server information.
* templates: use the correct storage units1.1.3-20Alejandro Sirgo Rica2024-05-301-9/+9
| | | | | | | 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.
* dashboard: Show all servers, online or offlineJavier Hernandez2024-01-291-2/+10
| | | | | | | Show in dashboard the list of all servers, regardless if they are online or offline. If they are offline, uptime appears as 'offline' Modify dashboard template to make it work with offline servers
* templates: Make stilistic changes in dashboardJavier Hernandez2024-01-031-50/+15
| | | | | | | | | - Remove a table with redundant info; it was displaying server's stats, which was already in another table - Add last update info at the top of the page - Make page more robust by checking if ogLive images are available. Before this patch, page shows a traceback if the ogLive list are not available.
* Add multiple servers to the dashboard viewDaniel García Moreno2022-09-271-278/+364
|
* Add ogServer uptime to the dashboardJavier Sánchez Parra2022-03-281-0/+8
| | | | | | | ogServer GET /stats returns ogServer uptime in seconds. Transform seconds to days, hours and minutes and print them in the dashboard.
* Check swap size is not zeroJavier Sánchez Parra2022-03-251-0/+6
| | | | If the server do not have swap, show a warning.
* Summarize dashboard informationJavier Sánchez Parra2022-03-171-52/+50
| | | | | | | | | | * Rename "ogLives" to "ogLive images". * Move "Number of images" table to take less space. * Show storage data as "Storage size | Used (%) | Available (%)". * Move "Latest images" an "ogLive images" to the bottom.
* Add /stats data to the dashboardJavier Sánchez Parra2022-03-161-7/+164
| | | | Add certain statistics on memory and swap usage, as well as the uptime.
* Merge nav into base templateJose M. Guisado2022-02-221-0/+2
| | | | | | | | | | | | | | | | | {% block %} defined in nav template cannot be overriden by child templates from base. This is a limitation in jinja. Merge nav into base template so jinja blocks so no {% include %} is used and these blocks can be overriden by child templates (commands, images, dashboard...) Avoid using request.endpoint to determine active nav item, decoupling endpoint names from navigation. Instead use child templates to override jinja blocks. [1] https://stackoverflow.com/q/40537752 https://stackoverflow.com/a/40562662 https://github.com/pallets/jinja/issues/243
* Fix typo in the dashboardJavier Sánchez Parra2022-01-191-1/+1
|
* Add gettext to dashboard stringsJavier Sánchez Parra2022-01-131-9/+9
| | | | Otherwise, this texts could not be translated.
* Add chart to dashboardDaniel García Moreno2021-06-081-66/+122
| | | | | | | This patch adds an example chart using chartjs to the dashboard to show the disk usage. https://www.chartjs.org/docs/latest/getting-started/
* Add ogLive list to the dashboardJavier Sánchez Parra2021-05-201-0/+15
| | | | | Add list with ogLives installed in the server and highlight the default ogLive.
* Add disk stats to the dashboardJavier Sánchez Parra2021-05-201-0/+33
| | | | | | | | | | | | Add the following disk stats to the dashboard: * Disk size: shows the amount of total disk size in Gibibytes. * used: shows the amount of used disk size in Gibibytes. * available: shows the amount of free disk size in Gibibytes. * use(%): shows the amount of used disk size in percentage.
* Add latest images to the dashboardJavier Sánchez Parra2021-05-201-0/+15
| | | | | | | Users want to know latest created/modified images to manage new images or changes made on existing images. This commit adds a list with the 10 latest created or modified images.
* Add number of images to the dashboardJavier Sánchez Parra2021-05-201-5/+15
| | | | Users want to easily know the number of images an ogServer has.
* Add cosmetic improvementsJose M. Guisado2021-03-241-0/+12
* 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