summaryrefslogtreecommitdiffstats
path: root/ogcp/static/css
Commit message (Collapse)AuthorAgeFilesLines
* Add multiple servers to the dashboard viewDaniel García Moreno2022-09-271-4/+4
|
* Increase textarea size from "Import clients"v0.9.3Javier Sánchez Parra2022-06-071-0/+4
| | | | | Improve usability increasing the textarea used to copy the DHCPd configuration.
* Highlight active navbar linkJavier Sánchez Parra2022-03-091-0/+2
| | | | | Change background color and round borders of active/current navbar link to highlight it.
* Set pills widthJavier Sánchez Parra2022-03-091-0/+4
| | | | Set the same width to all pills.
* Show client state on pillsJavier Sánchez Parra2022-02-251-0/+4
| | | | Color pills to represent their state, like scopes tree.
* Highlight active nav itemsJose M. Guisado2022-02-221-0/+3
| | | | Use bold font for active nav items.
* Add and restyle clients statesJavier Sánchez Parra2021-07-201-4/+4
| | | | | | | | | | | | | | | | This patch adds new states: OPG for clients in ogLive, BSY for busy clients, VDI for clients in OpenGnsys VDI and WOL_SENT for booting clients. It also removes state ON because do not exists. ogCP currently uses the following colors: * OPG -> Solid yellow * BSY -> Solid red * VDI -> Solid green * WOL_SENT -> Solid brown * OFF -> Hollow grey
* Add scopes_tree_collapse macroJose M. Guisado Gomez2021-06-301-0/+14
| | | | | | | | | | | | | Being able to collapse the scopes tree allows to fit a bigger scopes tree. A new macro is introduced to generate the HTML code for the scope tree in such a way that each non-leaf level (center, room) are collapsible. macros.scopes_tree_collapse(scopes) As of now, the state of the scope tree is not saved when changing nav sections.
* Add sidebar and command bar to base templateDaniel García Moreno2021-06-081-0/+8
| | | | | | | | | | | | | Modify the base template to add the sidebar and command bar, implemented just in the scopes view. This patch also modifies the "actions/mode.html" template to be shown in the scopes page. Any other action that should be inside the scopes should do the same, add the scopes and clients to the template context and use the "scopes.html" as base in those actions. The notification has been also changed to use a toast notification instead of the usual alert to avoid changing the layout on error.
* Use AdminLTE in base.htmlDaniel García Moreno2021-06-011-0/+5
| | | | | | | | | | This patch adds the css and js sources from the AdminLTE template to the base template so it can be used in all templates. There's also some flexbox bootstrap classes [1] to place the footer at the bootom always, even when there's no content to fill the page. [1] https://getbootstrap.com/docs/4.6/utilities/flex/
* Add cosmetic improvementsJose M. Guisado2021-03-241-0/+3
| | | | | | | | * 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 frontend basic structureRoberto Hueso Gómez2020-08-311-0/+7
This adds base.html and nav.html templates as well as its dependencies on Bootstrap and jQuery.