From 695fcfe6255fd53b19b416e8375b48d2dc5595e4 Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Wed, 10 Jan 2024 11:23:36 +0100 Subject: src: Add support for adding folders Add support to create a folder able to contain multiple computers. Add support for adding a folder able to contain rooms --- ogcp/forms/action_forms.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ogcp/forms') diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index 64b292a..9110913 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -105,6 +105,13 @@ class RepoForm(FlaskForm): ip = StringField(label=_l('IP')) submit = SubmitField(label=_l('Submit')) +class FolderForm(FlaskForm): + server = HiddenField() + room = HiddenField() + center = HiddenField() + name = StringField(label=_l('Name')) + submit = SubmitField(label=_l('Submit')) + class ClientDetailsForm(FlaskForm): server = HiddenField() name = StringField(label=_l('Name')) -- cgit v1.2.3-18-g5258