summaryrefslogtreecommitdiffstats
path: root/ogcp/forms/action_forms.py
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-01-10 11:23:36 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-01-10 11:31:08 +0100
commit695fcfe6255fd53b19b416e8375b48d2dc5595e4 (patch)
tree72927876587a1ca19b2e8cc6172346fa133ceb96 /ogcp/forms/action_forms.py
parent58b5b2eca00acc14510dbf2c741f12d7e799a264 (diff)
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
Diffstat (limited to 'ogcp/forms/action_forms.py')
-rw-r--r--ogcp/forms/action_forms.py7
1 files changed, 7 insertions, 0 deletions
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'))