Commit bef94b77 by Bach Dániel

dashboard: random fixes

parent 7f80408e
......@@ -8,7 +8,7 @@
<i class="fa fa-plus"></i> <i class="fa fa-long-arrow-right"></i>
</span>
<input type="number" class="form-control" size="5" min="1" max="65535"
style="width: 80px;" name="port"/>
style="width: 80px;" name="port" required/>
<span class="input-group-addon">/</span>
<select class="form-control" name="proto" style="width: 70px;"><option>tcp</option><option>udp</option></select>
<div class="input-group-btn">
......
......@@ -422,6 +422,7 @@ class VmPortRemoveView(FormOperationMixin, VmOperationView):
op = 'remove_port'
show_in_toolbar = False
with_reload = True
wait_for_result = 0.5
icon = 'times'
effect = "danger"
form_class = VmPortRemoveForm
......@@ -449,7 +450,8 @@ class VmPortAddView(FormOperationMixin, VmOperationView):
op = 'add_port'
show_in_toolbar = False
with_reload = True
icon = 'times'
wait_for_result = 0.5
icon = 'plus'
effect = "success"
form_class = VmPortAddForm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment