Commit 47d5aad7 by Kálmán Viktor

dashboard: add more mass operations

parent 207f7413
...@@ -1109,6 +1109,12 @@ vm_mass_ops = OrderedDict([ ...@@ -1109,6 +1109,12 @@ vm_mass_ops = OrderedDict([
op='wake_up', icon='sun-o', effect='success')), op='wake_up', icon='sun-o', effect='success')),
('sleep', MassOperationView.factory( ('sleep', MassOperationView.factory(
op='sleep', icon='moon-o', effect='info')), op='sleep', icon='moon-o', effect='info')),
('reboot', MassOperationView.factory(
op='reboot', icon='refresh', effect='warning')),
('reset', MassOperationView.factory(
op='reset', icon='bolt', effect='warning')),
('shut_off', MassOperationView.factory(
op='shut_off', icon='ban', effect='warning')),
('migrate', MassMigrationView), ('migrate', MassMigrationView),
('destroy', MassOperationView.factory( ('destroy', MassOperationView.factory(
op='destroy', icon='times', effect='danger')), op='destroy', icon='times', effect='danger')),
......
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