Revision history [back]

click to hide/show revision 1
initial version

You should look into the customisation module at http://docs.openstack.org/developer/horizon/topics/customizing.html#modifying-existing-dashboards-and-panels for tips on how to modify existing panels / tables.

What you want to do is override the Instances table to remove "TerminateInstance" from the table_actions:

https://github.com/openstack/horizon/blob/8314fb1367/openstack_dashboard/dashboards/project/instances/tables.py#L830

Once that's done, you might want to consider putting your script in a "plug-in" to make it upgrade-safe (as in, updating Horizon won't overwrite your modification). See http://docs.openstack.org/developer/horizon/topics/settings.html#pluggable-settings-for-dashboards for more information.