summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Add WoL actionRoberto Hueso Gómez2020-09-041-0/+15
| | | | | | 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-031-0/+7
| | | | 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 basic backend structureRoberto Hueso Gómez2020-08-311-0/+17
This adds views functions and ogServer config loading.