|
22 | 22 | icon="plus" |
23 | 23 | style="width: 100%;margin-bottom: 20px;" |
24 | 24 | :disabled="!('createNetwork' in $store.getters.apis)" |
25 | | - @click="handleOpenModal">{{ $t('label.add.network') }}</a-button> |
| 25 | + @click="handleOpenModal">{{ $t('label.add.new.tier') }}</a-button> |
26 | 26 | <a-list class="list"> |
27 | 27 | <a-list-item v-for="(network, idx) in networks" :key="idx" class="list__item"> |
28 | 28 | <div class="list__item-outer-container"> |
|
161 | 161 | @ok="handleAddNetworkSubmit"> |
162 | 162 | <a-spin :spinning="modalLoading"> |
163 | 163 | <a-form @submit.prevent="handleAddNetworkSubmit" :form="form"> |
164 | | - <a-form-item :label="$t('label.name')"> |
| 164 | + <a-form-item :colon="false"> |
| 165 | + <span slot="label"> |
| 166 | + {{ $t('label.name') }} |
| 167 | + <a-tooltip placement="right" :title="$t('label.create.tier.name.description')"> |
| 168 | + <a-icon type="info-circle" /> |
| 169 | + </a-tooltip> |
| 170 | + </span> |
165 | 171 | <a-input |
166 | | - :placeholder="$t('label.unique.name.tier')" |
167 | | - v-decorator="['name',{rules: [{ required: true, message: `${$t('label.required')}` }]}]" |
168 | | - autoFocus></a-input> |
| 172 | + :placeholder="$t('label.create.tier.name.description')" |
| 173 | + v-decorator="['name', {rules: [{ required: true, message: `${$t('label.required')}` }]}]" |
| 174 | + autoFocus /> |
169 | 175 | </a-form-item> |
170 | | - <a-form-item :label="$t('label.networkofferingid')"> |
| 176 | + <a-form-item :colon="false"> |
| 177 | + <span slot="label"> |
| 178 | + {{ $t('label.networkofferingid') }} |
| 179 | + <a-tooltip placement="right" :title="$t('label.create.tier.networkofferingid.description')"> |
| 180 | + <a-icon type="info-circle" /> |
| 181 | + </a-tooltip> |
| 182 | + </span> |
171 | 183 | <a-select |
172 | 184 | v-decorator="['networkOffering',{rules: [{ required: true, message: `${$t('label.required')}` }]}]"> |
173 | 185 | <a-select-option v-for="item in networkOfferings" :key="item.id" :value="item.id"> |
174 | 186 | {{ item.displaytext || item.name || item.description }} |
175 | 187 | </a-select-option> |
176 | 188 | </a-select> |
177 | 189 | </a-form-item> |
178 | | - <a-form-item :label="$t('label.gateway')"> |
| 190 | + <a-form-item :colon="false"> |
| 191 | + <span slot="label"> |
| 192 | + {{ $t('label.gateway') }} |
| 193 | + <a-tooltip placement="right" :title="$t('label.create.tier.gateway.description')"> |
| 194 | + <a-icon type="info-circle" /> |
| 195 | + </a-tooltip> |
| 196 | + </span> |
179 | 197 | <a-input |
180 | | - :placeholder="$t('label.create.network.gateway.description')" |
| 198 | + :placeholder="$t('label.create.tier.gateway.description')" |
181 | 199 | v-decorator="['gateway',{rules: [{ required: true, message: `${$t('label.required')}` }]}]"></a-input> |
182 | 200 | </a-form-item> |
183 | | - <a-form-item :label="$t('label.netmask')"> |
| 201 | + <a-form-item :colon="false"> |
| 202 | + <span slot="label"> |
| 203 | + {{ $t('label.netmask') }} |
| 204 | + <a-tooltip placement="right" :title="$t('label.create.tier.netmask.description')"> |
| 205 | + <a-icon type="info-circle" /> |
| 206 | + </a-tooltip> |
| 207 | + </span> |
184 | 208 | <a-input |
185 | | - :placeholder="$t('label.create.network.netmask.description')" |
| 209 | + :placeholder="$t('label.create.tier.netmask.description')" |
186 | 210 | v-decorator="['netmask',{rules: [{ required: true, message: `${$t('label.required')}` }]}]"></a-input> |
187 | 211 | </a-form-item> |
188 | | - <a-form-item :label="$t('label.externalid')"> |
| 212 | + <a-form-item :colon="false"> |
| 213 | + <span slot="label"> |
| 214 | + {{ $t('label.externalid') }} |
| 215 | + <a-tooltip placement="right" :title="$t('label.create.tier.externalid.description')"> |
| 216 | + <a-icon type="info-circle" /> |
| 217 | + </a-tooltip> |
| 218 | + </span> |
189 | 219 | <a-input |
| 220 | + :placeholder=" $t('label.create.tier.externalid.description')" |
190 | 221 | v-decorator="['externalId']"></a-input> |
191 | 222 | </a-form-item> |
192 | | - <a-form-item :label="$t('label.aclid')"> |
| 223 | + <a-form-item :colon="false"> |
| 224 | + <span slot="label"> |
| 225 | + {{ $t('label.aclid') }} |
| 226 | + <a-tooltip placement="right" :title="$t('label.create.tier.aclid.description')"> |
| 227 | + <a-icon type="info-circle" /> |
| 228 | + </a-tooltip> |
| 229 | + </span> |
193 | 230 | <a-select |
| 231 | + :placeholder="$t('label.create.tier.aclid.description')" |
194 | 232 | v-decorator="['acl',{rules: [{ required: true, message: `${$t('label.required')}` }]}]" |
195 | 233 | @change="val => { this.handleNetworkAclChange(val) }"> |
196 | 234 | <a-select-option v-for="item in networkAclList" :key="item.id" :value="item.id"> |
|
0 commit comments