Add a common view for enabling applications
Created by: SunilMohanAdapa
- A lot of boiler plate code can be removed from Plinth if enabling and disabling an application can be done using a common base form.
- This also allows to define a reusable method in an application for enabling and disabling.
- This brings more structure to a application module and paves way for having a different views such as dashboard.
Possible future work:
- OpenVPN and Tor need have their views converted but we need a way to organize long running tasks in a better way.
- Possibly use classed based view for other views.