summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/dashboard.html
Commit message (Collapse)AuthorAgeFilesLines
* 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