summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/forms')
-rw-r--r--ogcp/forms/action_forms.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index 39dae81..4dfaa21 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -1,6 +1,6 @@
from wtforms import (
Form, SubmitField, HiddenField, SelectField, BooleanField, IntegerField,
- StringField
+ StringField, RadioField
)
from flask_wtf import FlaskForm
from flask_babel import _
@@ -33,6 +33,11 @@ class HardwareForm(FlaskForm):
ips = HiddenField()
refresh = SubmitField(label=_('Refresh'))
+class SessionForm(FlaskForm):
+ ips = HiddenField()
+ os = RadioField(label=_('Session'), choices=[])
+ run = SubmitField(label=_('Run'))
+
class ClientDetailsForm(FlaskForm):
name = StringField(label=_('Name'))
ip = StringField(label=_('IP'))