equal
deleted
inserted
replaced
52 DeleteNetwork as projectDeleteNetwork |
52 DeleteNetwork as projectDeleteNetwork |
53 from openstack_dashboard.dashboards.project.networks.tables import \ |
53 from openstack_dashboard.dashboards.project.networks.tables import \ |
54 NetworksTable as projectNetworksTable |
54 NetworksTable as projectNetworksTable |
55 from openstack_dashboard.dashboards.project.networks.workflows import \ |
55 from openstack_dashboard.dashboards.project.networks.workflows import \ |
56 CreateNetworkInfoAction, CreateSubnetDetailAction, CreateSubnetInfoAction |
56 CreateNetworkInfoAction, CreateSubnetDetailAction, CreateSubnetInfoAction |
|
57 from openstack_dashboard.dashboards.project.stacks.tabs import \ |
|
58 StackDetailTabs, StackEventsTab, StackOverviewTab, StackResourcesTab |
57 |
59 |
58 # Remove 'PostCreationStep' from Project/Instances/Launch Instance |
60 # Remove 'PostCreationStep' from Project/Instances/Launch Instance |
59 create_instance.LaunchInstance.default_steps = ( |
61 create_instance.LaunchInstance.default_steps = ( |
60 create_instance.SelectProjectUser, |
62 create_instance.SelectProjectUser, |
61 create_instance.SetInstanceDetails, |
63 create_instance.SetInstanceDetails, |
147 # Change 'allocation_pools' and 'host_routes' fields to read-only in |
149 # Change 'allocation_pools' and 'host_routes' fields to read-only in |
148 # Project/Networks/Create Network/Subnet Detail |
150 # Project/Networks/Create Network/Subnet Detail |
149 base_fields = CreateSubnetDetailAction.base_fields |
151 base_fields = CreateSubnetDetailAction.base_fields |
150 base_fields['allocation_pools'].widget.attrs['readonly'] = 'readonly' |
152 base_fields['allocation_pools'].widget.attrs['readonly'] = 'readonly' |
151 base_fields['host_routes'].widget.attrs['readonly'] = 'readonly' |
153 base_fields['host_routes'].widget.attrs['readonly'] = 'readonly' |
|
154 |
|
155 # Remove 'StackTopologyTab' from Project/Stacks/StackDetailTabs |
|
156 StackDetailTabs.tabs = (StackOverviewTab, StackResourcesTab, StackEventsTab) |