From e07c8afcce3f16739bbf9e8c52405f327f367977 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Wed, 15 Dec 2021 11:28:16 +0100 Subject: Add set ogLive to commands This action is related to /oglive in ogServer's API. Allows changing the ogLive for a set of given clients, previously selected in the /commands view. --- ogcp/forms/action_forms.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ogcp/forms') diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index d618f24..e8b607f 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -110,6 +110,11 @@ class BootModeForm(FlaskForm): boot = SelectField(label=_('Boot mode')) ok = SubmitField(label=_('Ok')) +class OgliveForm(FlaskForm): + ips = HiddenField() + oglive = SelectField(label=_('ogLive')) + ok = SubmitField(label=_('Ok')) + class ImageCreateForm(FlaskForm): ip = HiddenField() os = SelectField(label=_('OS'), choices=[]) -- cgit v1.2.3-18-g5258