diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index 49c9f60..24424a1 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -172,6 +172,11 @@ class RunScriptForm(FlaskForm): arguments = StringField(label=_l('Arguments')) submit = SubmitField(label=_l('Submit')) +class RunCmdForm(FlaskForm): + ips = HiddenField() + command = StringField(label=_l('Command')) + submit = SubmitField(label=_l('Submit')) + class ImportClientsForm(FlaskForm): server = HiddenField() room = SelectField(label=_l('Room')) diff --git a/ogcp/templates/commands.html b/ogcp/templates/commands.html index 41a0917..c909ea3 100644 --- a/ogcp/templates/commands.html +++ b/ogcp/templates/commands.html @@ -97,11 +97,13 @@