summaryrefslogtreecommitdiffstats
path: root/ogcp/forms/action_forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/forms/action_forms.py')
-rw-r--r--ogcp/forms/action_forms.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index 82958fb..496be56 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -110,6 +110,14 @@ class ImageRestoreForm(FlaskForm):
('UNICAST-DIRECT', 'UNICAST-DIRECT')])
restore = SubmitField(label=_l('Restore'))
+class ImageFetchForm(FlaskForm):
+ ips = HiddenField()
+ image = SelectField(label=_l('Image'), choices=[])
+ method = SelectField(label=_l('Method'),
+ choices=[('TIPTORRENT', 'TIPTORRENT'),
+ ('UNICAST', 'UNICAST')])
+ submit = SubmitField(label=_l('Submit'))
+
class RepoForm(FlaskForm):
server = HiddenField()
repo_id = HiddenField()