From c08aca92196cdd8df4c8d81da71e248b407f5bb2 Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Thu, 29 Oct 2020 14:59:13 +0100 Subject: Add software action This action lists every piece of software installed in an OS from a client. This action can handle listing the software from the DB as well as updating that DB with the latest client information. --- ogcp/forms/action_forms.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ogcp/forms') diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index 154e9f0..bc0915a 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -33,6 +33,12 @@ class HardwareForm(FlaskForm): ips = HiddenField() refresh = SubmitField(label=_('Refresh')) +class SoftwareForm(FlaskForm): + ips = HiddenField() + os = SelectField(label=_('Partition'), choices=[]) + view = SubmitField(label=_('View')) + update = SubmitField(label=_('Update')) + class SessionForm(FlaskForm): ips = HiddenField() os = RadioField(label=_('Session'), choices=[]) -- cgit v1.2.3-18-g5258