summaryrefslogtreecommitdiffstats
path: root/ogcp/forms/action_forms.py
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-10-21 14:38:44 +0200
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-10-21 14:38:44 +0200
commite978c30b9ffd60b5c7a8e05cf193c1b11a6f87ba (patch)
tree3d62ee5b99fe731a47fdda136683f5020f3bf487 /ogcp/forms/action_forms.py
parent93ffa115fe9dc5efb928232f797fbcacdec494b1 (diff)
Add client hardware action
This action lists all the hardware items in a client.
Diffstat (limited to 'ogcp/forms/action_forms.py')
-rw-r--r--ogcp/forms/action_forms.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index ac761f5..39dae81 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -29,6 +29,10 @@ class PartitionForm(FlaskForm):
modify = SubmitField(label=_('Modify'))
delete = SubmitField(label=_('Delete'))
+class HardwareForm(FlaskForm):
+ ips = HiddenField()
+ refresh = SubmitField(label=_('Refresh'))
+
class ClientDetailsForm(FlaskForm):
name = StringField(label=_('Name'))
ip = StringField(label=_('IP'))