summaryrefslogtreecommitdiffstats
path: root/ogcp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add 404 default error handler.Roberto Hueso Gómez2020-09-042-0/+13
| | | | This handles HTTP 404 page does not exist errors.
* Add refresh actionRoberto Hueso Gómez2020-09-042-0/+10
| | | | This action can be applied on single or multiple scopes.
* Add WoL actionRoberto Hueso Gómez2020-09-045-3/+50
| | | | | | This action can be applied on one or multiple scopes. This implementation use Flask-WTF as a way to build and valdiate forms. As a side effect, this adds CSRF protection to all forms.
* Add reboot actionRoberto Hueso Gómez2020-09-032-0/+9
| | | | This action handles reboot on one or multiple scopes.
* Rename add_state_to_scopes() functionRoberto Hueso Gómez2020-09-021-3/+3
| | | | This function is renamed to add_state_and_ips() which is more accurate.
* Add action_poweroff() view functionRoberto Hueso Gómez2020-09-021-1/+14
| | | | This function handles a poweroff request to one or multiple scopes.
* Implement scopes() view functionRoberto Hueso Gómez2020-09-021-1/+21
| | | | | This function provides the data needed to render the scopes.html template.
* Add requests functionality to the OGServer classRoberto Hueso Gómez2020-09-021-0/+19
| | | | | These functions will be used to make HTTP GET and POST requests to the OGServer.
* Add scopes.html templateRoberto Hueso Gómez2020-09-021-0/+40
| | | | | This template shows information about scopes and its states as well as a tool to apply actions on them. Style improvements are still necessary.
* Add bootstrap bundleRoberto Hueso Gómez2020-09-022-0/+8
| | | | This is used for multiple bootstrap components such as dropdown menus.
* Add frontend basic structureRoberto Hueso Gómez2020-08-315-0/+52
| | | | | This adds base.html and nav.html templates as well as its dependencies on Bootstrap and jQuery.
* Add basic backend structureRoberto Hueso Gómez2020-08-314-0/+43
This adds views functions and ogServer config loading.