|
37 | 37 | :md="24"> |
38 | 38 | <div> |
39 | 39 | <a-card> |
40 | | - <a-card class="row-element"><span v-html="$t('message.desc.importexportinstancewizard')" /></a-card> |
41 | | - <a-row :gutter="18"> |
42 | | - <a-form |
43 | | - style="min-width: 170px" |
44 | | - :form="form" |
45 | | - layout="vertical"> |
46 | | - <a-col :md="24" :lg="8"> |
47 | | - <a-form-item :label="this.$t('label.zoneid')"> |
48 | | - <a-select |
49 | | - v-decorator="['zoneid', {}]" |
50 | | - showSearch |
51 | | - optionFilterProp="children" |
52 | | - :filterOption="filterOption" |
53 | | - :options="zoneSelectOptions" |
54 | | - @change="onSelectZoneId" |
55 | | - :loading="optionLoading.zones" |
56 | | - autoFocus |
57 | | - ></a-select> |
58 | | - </a-form-item> |
59 | | - </a-col> |
60 | | - <a-col :md="24" :lg="8"> |
61 | | - <a-form-item |
62 | | - :label="this.$t('label.podid')"> |
63 | | - <a-select |
64 | | - v-decorator="['podid']" |
65 | | - showSearch |
66 | | - optionFilterProp="children" |
67 | | - :filterOption="filterOption" |
68 | | - :options="podSelectOptions" |
69 | | - :loading="optionLoading.pods" |
70 | | - @change="onSelectPodId" |
71 | | - ></a-select> |
72 | | - </a-form-item> |
73 | | - </a-col> |
74 | | - <a-col :md="24" :lg="8"> |
75 | | - <a-form-item |
76 | | - :label="this.$t('label.clusterid')"> |
77 | | - <a-select |
78 | | - v-decorator="['clusterid']" |
79 | | - showSearch |
80 | | - optionFilterProp="children" |
81 | | - :filterOption="filterOption" |
82 | | - :options="clusterSelectOptions" |
83 | | - :loading="optionLoading.clusters" |
84 | | - @change="onSelectClusterId" |
85 | | - ></a-select> |
86 | | - </a-form-item> |
87 | | - </a-col> |
88 | | - </a-form> |
89 | | - </a-row> |
| 40 | + <a-alert type="info" :showIcon="true" :message="$t('label.desc.importexportinstancewizard')" :description="$t('message.desc.importexportinstancewizard')" /> |
| 41 | + <br /> |
| 42 | + <a-form |
| 43 | + style="min-width: 170px" |
| 44 | + :form="form" |
| 45 | + layout="vertical"> |
| 46 | + <a-col :md="24" :lg="8"> |
| 47 | + <a-form-item :label="this.$t('label.zoneid')"> |
| 48 | + <a-select |
| 49 | + v-decorator="['zoneid', {}]" |
| 50 | + showSearch |
| 51 | + optionFilterProp="children" |
| 52 | + :filterOption="filterOption" |
| 53 | + :options="zoneSelectOptions" |
| 54 | + @change="onSelectZoneId" |
| 55 | + :loading="optionLoading.zones" |
| 56 | + autoFocus |
| 57 | + ></a-select> |
| 58 | + </a-form-item> |
| 59 | + </a-col> |
| 60 | + <a-col :md="24" :lg="8"> |
| 61 | + <a-form-item |
| 62 | + :label="this.$t('label.podid')"> |
| 63 | + <a-select |
| 64 | + v-decorator="['podid']" |
| 65 | + showSearch |
| 66 | + optionFilterProp="children" |
| 67 | + :filterOption="filterOption" |
| 68 | + :options="podSelectOptions" |
| 69 | + :loading="optionLoading.pods" |
| 70 | + @change="onSelectPodId" |
| 71 | + ></a-select> |
| 72 | + </a-form-item> |
| 73 | + </a-col> |
| 74 | + <a-col :md="24" :lg="8"> |
| 75 | + <a-form-item |
| 76 | + :label="this.$t('label.clusterid')"> |
| 77 | + <a-select |
| 78 | + v-decorator="['clusterid']" |
| 79 | + showSearch |
| 80 | + optionFilterProp="children" |
| 81 | + :filterOption="filterOption" |
| 82 | + :options="clusterSelectOptions" |
| 83 | + :loading="optionLoading.clusters" |
| 84 | + @change="onSelectClusterId" |
| 85 | + ></a-select> |
| 86 | + </a-form-item> |
| 87 | + </a-col> |
| 88 | + </a-form> |
90 | 89 | <a-divider /> |
91 | | - <a-row :gutter="12" style="display: flex"> |
| 90 | + <a-row :gutter="12"> |
92 | 91 | <a-col :md="24" :lg="12"> |
93 | 92 | <a-card class="instances-card"> |
94 | 93 | <span slot="title"> |
|
104 | 103 | shape="round" |
105 | 104 | @click="fetchUnmanagedInstances()" > |
106 | 105 | </a-button> |
107 | | - <span style="margin-left: 12px"> |
| 106 | + <span style="float: right; width: 50%"> |
108 | 107 | <search-view |
109 | 108 | :searchFilters="searchFilters.unmanaged" |
110 | 109 | :searchParams="searchParams.unmanaged" |
|
142 | 141 | <span>{{ props.value }} / {{ $t('label.page') }}</span> |
143 | 142 | </template> |
144 | 143 | </a-pagination> |
145 | | - <div :span="24" class="action-button-left"> |
| 144 | + <div :span="24" class="action-button-right"> |
146 | 145 | <a-button |
147 | 146 | :loading="importUnmanagedInstanceLoading" |
148 | 147 | :disabled="!(('importUnmanagedInstance' in $store.getters.apis) && unmanagedInstancesSelectedRowKeys.length > 0)" |
|
170 | 169 | shape="round" |
171 | 170 | @click="fetchManagedInstances()" > |
172 | 171 | </a-button> |
173 | | - <span style="margin-left: 12px"> |
| 172 | + <span style="float: right; width: 50%"> |
174 | 173 | <search-view |
175 | 174 | :searchFilters="searchFilters.managed" |
176 | 175 | :searchParams="searchParams.managed" |
@@ -815,4 +814,16 @@ export default { |
815 | 814 | .action-button-right { |
816 | 815 | text-align: right; |
817 | 816 | } |
| 817 | +
|
| 818 | + .breadcrumb-card { |
| 819 | + margin-left: -24px; |
| 820 | + margin-right: -24px; |
| 821 | + margin-top: -16px; |
| 822 | + margin-bottom: 12px; |
| 823 | +} |
| 824 | +
|
| 825 | +.ant-breadcrumb { |
| 826 | + vertical-align: text-bottom; |
| 827 | +} |
| 828 | +
|
818 | 829 | </style> |
0 commit comments