diff --git a/horizon/static/framework/widgets/table/table.scss b/horizon/static/framework/widgets/table/table.scss index 13d6a4ae8..38446e731 100644 --- a/horizon/static/framework/widgets/table/table.scss +++ b/horizon/static/framework/widgets/table/table.scss @@ -115,14 +115,6 @@ $em-per-priority: floor($table-col-avg-width / $font-size-base) * 3; border-bottom: $table-border; } - tr.expanded td { - border-bottom: $table-border; - - &[rowspan='2'].action-col { - border-bottom: none; - } - } - tr.expanded:nth-last-child(-n+3) [rowspan='2'].action-col { border-bottom: $table-border; } @@ -140,21 +132,6 @@ $em-per-priority: floor($table-col-avg-width / $font-size-base) * 3; } } - .detail-row td { - padding: 0; - - &.detail .detail-expanded { - border-top: none; - padding: $detail-row-padding $table-padding; - white-space: normal; - word-wrap: break-word; - } - } - - .expanded + tr td { - border-top: none; - } - .expander { cursor: pointer; max-width: $expander-width; diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/configuration/configuration.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/configuration/configuration.html index 263b430cd..fd7cca7a9 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/configuration/configuration.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/configuration/configuration.html @@ -23,13 +23,15 @@
-
-
diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/flavor/flavor.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/flavor/flavor.html index 95490f4a7..6374ac963 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/flavor/flavor.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/flavor/flavor.html @@ -99,8 +99,7 @@ limitations under the License. - - + Impact on your quota
@@ -127,7 +126,6 @@ limitations under the License.
- @@ -214,8 +212,7 @@ limitations under the License. - - + Impact on your quota
@@ -242,7 +239,6 @@ limitations under the License.
- diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/keypair/keypair-details.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/keypair/keypair-details.html index 9740a8e14..4b28ba37c 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/keypair/keypair-details.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/keypair/keypair-details.html @@ -1,4 +1,4 @@ -
+
Public Key
{$ row.public_key $}
diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/keypair/keypair.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/keypair/keypair.html index 4b5c9c896..6ec848b48 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/keypair/keypair.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/keypair/keypair.html @@ -58,9 +58,9 @@ {$ row.name $} {$ row.fingerprint $} - + - @@ -68,11 +68,7 @@ - - -
-
- + @@ -112,9 +108,9 @@ {$ row.name$} {$ row.fingerprint $} - + - @@ -122,8 +118,7 @@ - - + diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/network/network.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/network/network.html index 6933a23a0..9a62a3f2d 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/network/network.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/network/network.html @@ -52,9 +52,9 @@ {$ row.shared | yesno $} {$ row.admin_state | decode:ctrl.networkAdminStates $} {$ row.status | decode:ctrl.networkStatuses $} - + - @@ -62,8 +62,7 @@ - - +
ID
{$ row.id $}
@@ -72,17 +71,17 @@
External Network
{$ row['router:external'] | yesno $}
-
Provider Network
+ Provider Network
-
+
Type
{$ row['provider:network_type'] $}
-
+
Segmentation ID
{$ row['provider:segmentation_id'] $}
-
+
Physical Network
{$ row['provider:physical_network'] $}
@@ -94,10 +93,9 @@ - - - + +
@@ -129,14 +127,14 @@ - - - - + @@ -45,9 +45,9 @@ - - + @@ -118,9 +118,9 @@ -
{$ row.shared | yesno $} {$ row.admin_state | decode:ctrl.networkAdminStates $} {$ row.status | decode:ctrl.networkStatuses $} + - @@ -144,8 +142,7 @@
+
ID
{$ row.id $}
@@ -154,17 +151,17 @@
External Network
{$ row['router:external'] | yesno $}
-
Provider Network
+ Provider Network
-
+
Type
-
{$ row['provider:network_type'] $}
+
{$ row['provider:network_type'] $}
-
+
Segmentation ID
{$ row['provider:segmentation_id'] $}
-
+
Physical Network
{$ row['provider:physical_network'] $}
diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/networkports/ports.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/networkports/ports.html index 24f3e00cc..f9bda52f1 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/networkports/ports.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/networkports/ports.html @@ -15,7 +15,7 @@
IP Admin State Status
{$ item.admin_state | decode:ctrl.portAdminStates $} {$ item.status | decode:ctrl.portStatuses $} + - @@ -93,7 +93,7 @@ IP Admin State Status
{$ item.admin_state | decode:ctrl.portAdminStates $} {$ item.status | decode:ctrl.portStatuses $} + - diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/security-groups/security-group-details.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/security-groups/security-group-details.html index 75b1c1de0..58012e5ce 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/security-groups/security-group-details.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/security-groups/security-group-details.html @@ -1,4 +1,4 @@ - +
diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/security-groups/security-groups.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/security-groups/security-groups.html index a6c33659e..424c4a49c 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/security-groups/security-groups.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/security-groups/security-groups.html @@ -33,9 +33,9 @@ - - - - diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source-details.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source-details.html index 7d3f3744e..474eba76a 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source-details.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source-details.html @@ -1,43 +1,34 @@ - - - - - diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js index 6fd128bc8..bb99cfe66 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js @@ -133,32 +133,32 @@ // Mapping for dynamic table headers var tableHeadCellsMap = { image: [ - { text: gettext('Name'), style: { width: '30%' }, sortable: true, sortDefault: true }, - { text: gettext('Updated'), style: { width: '15%' }, sortable: true }, - { text: gettext('Size'), style: { width: '15%' }, classList: ['number'], sortable: true }, + { text: gettext('Name'), sortable: true, sortDefault: true }, + { text: gettext('Updated'), sortable: true }, + { text: gettext('Size'), classList: ['number'], sortable: true }, { text: gettext('Type'), sortable: true }, { text: gettext('Visibility'), sortable: true } ], snapshot: [ - { text: gettext('Name'), style: { width: '30%' }, sortable: true, sortDefault: true }, - { text: gettext('Updated'), style: { width: '15%' }, sortable: true }, - { text: gettext('Size'), style: { width: '15%' }, classList: ['number'], sortable: true }, + { text: gettext('Name'), sortable: true, sortDefault: true }, + { text: gettext('Updated'), sortable: true }, + { text: gettext('Size'), classList: ['number'], sortable: true }, { text: gettext('Type'), sortable: true }, { text: gettext('Visibility'), sortable: true } ], volume: [ - { text: gettext('Name'), style: { width: '25%' }, sortable: true, sortDefault: true }, - { text: gettext('Description'), style: { width: '20%' }, sortable: true }, - { text: gettext('Size'), style: { width: '15%' }, classList: ['number'], sortable: true }, - { text: gettext('Type'), style: { width: '20%' }, sortable: true }, - { text: gettext('Availability Zone'), style: { width: '20%' }, sortable: true } + { text: gettext('Name'), sortable: true, sortDefault: true }, + { text: gettext('Description'), sortable: true }, + { text: gettext('Size'), classList: ['number'], sortable: true }, + { text: gettext('Type'), sortable: true }, + { text: gettext('Availability Zone'), sortable: true } ], volume_snapshot: [ - { text: gettext('Name'), style: { width: '25%' }, sortable: true, sortDefault: true }, - { text: gettext('Description'), style: { width: '20%' }, sortable: true }, - { text: gettext('Size'), style: { width: '15%' }, classList: ['number'], sortable: true }, - { text: gettext('Created'), style: { width: '15%' }, sortable: true }, - { text: gettext('Status'), style: { width: '20%' }, sortable: true } + { text: gettext('Name'), sortable: true, sortDefault: true }, + { text: gettext('Description'), sortable: true }, + { text: gettext('Size'), classList: ['number'], sortable: true }, + { text: gettext('Created'), sortable: true }, + { text: gettext('Status'), sortable: true } ] }; @@ -171,26 +171,21 @@ { key: 'name', classList: ['hi-light'] }, { key: 'updated_at', filter: dateFilter, filterArg: 'short' }, { key: 'size', filter: bytesFilter, classList: ['number'] }, - { key: 'disk_format', style: { 'text-transform': 'uppercase' }, - filter: diskFormatFilter, filterRawData: true }, - { key: 'is_public', filter: decodeFilter, filterArg: _visibilitymap, - style: { 'text-transform': 'capitalize' } } + { key: 'disk_format', filter: diskFormatFilter, filterRawData: true }, + { key: 'is_public', filter: decodeFilter, filterArg: _visibilitymap } ], snapshot: [ { key: 'name', classList: ['hi-light'] }, { key: 'updated_at', filter: dateFilter, filterArg: 'short' }, { key: 'size', filter: bytesFilter, classList: ['number'] }, - { key: 'disk_format', style: { 'text-transform': 'uppercase' }, - filter: diskFormatFilter, filterRawData: true }, - { key: 'is_public', filter: decodeFilter, filterArg: _visibilitymap, - style: { 'text-transform': 'capitalize' } } + { key: 'disk_format', filter: diskFormatFilter, filterRawData: true }, + { key: 'is_public', filter: decodeFilter, filterArg: _visibilitymap } ], volume: [ { key: 'name', classList: ['hi-light'] }, { key: 'description' }, { key: 'size', filter: gbFilter, classList: ['number'] }, - { key: 'volume_image_metadata', filter: diskFormatFilter, - style: { 'text-transform': 'uppercase' } }, + { key: 'volume_image_metadata', filter: diskFormatFilter }, { key: 'availability_zone' } ], volume_snapshot: [ @@ -198,7 +193,7 @@ { key: 'description' }, { key: 'size', filter: gbFilter, classList: ['number'] }, { key: 'created_at', filter: dateFilter, filterArg: 'short' }, - { key: 'status', style: { 'text-transform': 'capitalize' } } + { key: 'status' } ] }; diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.html index a36c0ea1d..1ff90d940 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.html @@ -103,29 +103,23 @@ hz-table st-safe-src="ctrl.tableData.allocated" st-table="ctrl.tableData.displayAllocated"> - - - - - - @@ -149,24 +143,19 @@ hz-expand-detail title="{$ ::trCtrl.helpText.expandDetailsText $}"> - - - - - - @@ -259,24 +243,19 @@ title="{$ ::trCtrl.helpText.expandDetailsText $}"> - - - - - -
Direction {$ row.name $} {$ row.description $} + - @@ -85,9 +85,9 @@ {$ row.name$} {$ row.description $} + - @@ -95,8 +95,7 @@
+
+
-
-
Min Disk
+
+
Min Disk (GB)
{$ (row.properties ? row.min_disk : row.volume_image_metadata.min_disk) || '--' $}
-
-
Min RAM
+
+
Min RAM (MB)
{$ (row.properties ? row.min_ram : row.volume_image_metadata.min_ram) || '--' $}
-
- -
-
- - -
- -
- - -
+
+
+ +
+
+ + +
+ {$ ctrl.tableHeadCells[0].text $} + {$ ctrl.tableHeadCells[1].text $} + {$ ctrl.tableHeadCells[2].text $} + {$ ctrl.tableHeadCells[3].text $} + {$ ctrl.tableHeadCells[4].text $} + {$ ctrl.tableBodyCells[0].filter ? ctrl.tableBodyCells[0].filter(row[ctrl.tableBodyCells[0].key], ctrl.tableBodyCells[0].filterArg) : row[ctrl.tableBodyCells[0].key] $} + {$ ctrl.tableBodyCells[1].filter ? ctrl.tableBodyCells[1].filter(row[ctrl.tableBodyCells[1].key], ctrl.tableBodyCells[1].filterArg) : row[ctrl.tableBodyCells[1].key] $} + {$ ctrl.tableBodyCells[2].filter ? ctrl.tableBodyCells[2].filter(row[ctrl.tableBodyCells[2].key], ctrl.tableBodyCells[2].filterArg) : row[ctrl.tableBodyCells[2].key] $} + {$ ctrl.tableBodyCells[3].filter ? ctrl.tableBodyCells[3].filter(ctrl.tableBodyCells[3].filterRawData ? row : row[ctrl.tableBodyCells[3].key], ctrl.tableBodyCells[3].filterArg) : row[ctrl.tableBodyCells[3].key] $} + {$ ctrl.tableBodyCells[4].filter ? ctrl.tableBodyCells[4].filter(row[ctrl.tableBodyCells[4].key], ctrl.tableBodyCells[4].filterArg) : row[ctrl.tableBodyCells[4].key] $} + - @@ -209,31 +198,26 @@ {$ ctrl.tableHeadCells[0].text $} {$ ctrl.tableHeadCells[1].text $} {$ ctrl.tableHeadCells[2].text $} {$ ctrl.tableHeadCells[3].text $} {$ ctrl.tableHeadCells[4].text $} + {$ ctrl.tableBodyCells[0].filter ? ctrl.tableBodyCells[0].filter(row[ctrl.tableBodyCells[0].key], ctrl.tableBodyCells[0].filterArg) : row[ctrl.tableBodyCells[0].key] $} + {$ ctrl.tableBodyCells[1].filter ? ctrl.tableBodyCells[1].filter(row[ctrl.tableBodyCells[1].key], ctrl.tableBodyCells[1].filterArg) : row[ctrl.tableBodyCells[1].key] $} + {$ ctrl.tableBodyCells[2].filter ? ctrl.tableBodyCells[2].filter(row[ctrl.tableBodyCells[2].key], ctrl.tableBodyCells[2].filterArg) : row[ctrl.tableBodyCells[2].key] $} + {$ ctrl.tableBodyCells[3].filter ? ctrl.tableBodyCells[3].filter(ctrl.tableBodyCells[3].filterRawData ? row : row[ctrl.tableBodyCells[3].key], ctrl.tableBodyCells[3].filterArg) : row[ctrl.tableBodyCells[3].key] $} + {$ ctrl.tableBodyCells[4].filter ? ctrl.tableBodyCells[4].filter(row[ctrl.tableBodyCells[4].key], ctrl.tableBodyCells[4].filterArg) : row[ctrl.tableBodyCells[4].key] $} + -