|
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"> |
|
164 | 164 | v-ctrl-enter="handleAddNetworkSubmit"> |
165 | 165 | <a-spin :spinning="modalLoading"> |
166 | 166 | <a-form @submit.prevent="handleAddNetworkSubmit" :form="form"> |
167 | | - <a-form-item :label="$t('label.name')"> |
| 167 | + <a-form-item> |
| 168 | + <span slot="label"> |
| 169 | + {{ $t('label.name') }} |
| 170 | + <a-tooltip placement="right" :title="$t('label.create.tier.name.description')"> |
| 171 | + <a-icon type="info-circle" style="color: rgba(0,0,0,.45)" /> |
| 172 | + </a-tooltip> |
| 173 | + </span> |
168 | 174 | <a-input |
169 | | - :placeholder="$t('label.unique.name.tier')" |
| 175 | + :placeholder="$t('label.create.tier.name.description')" |
170 | 176 | v-decorator="['name',{rules: [{ required: true, message: `${$t('label.required')}` }]}]" |
171 | | - autoFocus></a-input> |
| 177 | + autoFocus /> |
172 | 178 | </a-form-item> |
173 | | - <a-form-item :label="$t('label.networkofferingid')"> |
| 179 | + <a-form-item> |
| 180 | + <span slot="label"> |
| 181 | + {{ $t('label.networkofferingid') }} |
| 182 | + <a-tooltip placement="right" :title="$t('label.create.tier.networkofferingid.description')"> |
| 183 | + <a-icon type="info-circle" style="color: rgba(0,0,0,.45)" /> |
| 184 | + </a-tooltip> |
| 185 | + </span> |
174 | 186 | <a-select |
175 | 187 | v-decorator="['networkOffering',{rules: [{ required: true, message: `${$t('label.required')}` }]}]" |
176 | 188 | @change="val => { this.handleNetworkOfferingChange(val) }"> |
|
187 | 199 | }]" |
188 | 200 | :placeholder="this.$t('label.vlan')"/> |
189 | 201 | </a-form-item> |
190 | | - <a-form-item :label="$t('label.gateway')"> |
| 202 | + <a-form-item> |
| 203 | + <span slot="label"> |
| 204 | + {{ $t('label.gateway') }} |
| 205 | + <a-tooltip placement="right" :title="$t('label.create.tier.gateway.description')"> |
| 206 | + <a-icon type="info-circle" style="color: rgba(0,0,0,.45)" /> |
| 207 | + </a-tooltip> |
| 208 | + </span> |
191 | 209 | <a-input |
192 | | - :placeholder="$t('label.create.network.gateway.description')" |
| 210 | + :placeholder="$t('label.create.tier.gateway.description')" |
193 | 211 | v-decorator="['gateway',{rules: [{ required: true, message: `${$t('label.required')}` }]}]"></a-input> |
194 | 212 | </a-form-item> |
195 | | - <a-form-item :label="$t('label.netmask')"> |
| 213 | + <a-form-item> |
| 214 | + <span slot="label"> |
| 215 | + {{ $t('label.netmask') }} |
| 216 | + <a-tooltip placement="right" :title="$t('label.create.tier.netmask.description')"> |
| 217 | + <a-icon type="info-circle" style="color: rgba(0,0,0,.45)" /> |
| 218 | + </a-tooltip> |
| 219 | + </span> |
196 | 220 | <a-input |
197 | | - :placeholder="$t('label.create.network.netmask.description')" |
| 221 | + :placeholder="$t('label.create.tier.netmask.description')" |
198 | 222 | v-decorator="['netmask',{rules: [{ required: true, message: `${$t('label.required')}` }]}]"></a-input> |
199 | 223 | </a-form-item> |
200 | | - <a-form-item :label="$t('label.externalid')"> |
| 224 | + <a-form-item> |
| 225 | + <span slot="label"> |
| 226 | + {{ $t('label.externalid') }} |
| 227 | + <a-tooltip placement="right" :title="$t('label.create.tier.externalid.description')"> |
| 228 | + <a-icon type="info-circle" style="color: rgba(0,0,0,.45)" /> |
| 229 | + </a-tooltip> |
| 230 | + </span> |
201 | 231 | <a-input |
| 232 | + :placeholder=" $t('label.create.tier.externalid.description')" |
202 | 233 | v-decorator="['externalId']"></a-input> |
203 | 234 | </a-form-item> |
204 | | - <a-form-item :label="$t('label.aclid')"> |
| 235 | + <a-form-item> |
| 236 | + <span slot="label"> |
| 237 | + {{ $t('label.aclid') }} |
| 238 | + <a-tooltip placement="right" :title="$t('label.create.tier.aclid.description')"> |
| 239 | + <a-icon type="info-circle" style="color: rgba(0,0,0,.45)" /> |
| 240 | + </a-tooltip> |
| 241 | + </span> |
205 | 242 | <a-select |
| 243 | + :placeholder="$t('label.create.tier.aclid.description')" |
206 | 244 | v-decorator="['acl',{rules: [{ required: true, message: `${$t('label.required')}` }]}]" |
207 | 245 | @change="val => { this.handleNetworkAclChange(val) }"> |
208 | 246 | <a-select-option v-for="item in networkAclList" :key="item.id" :value="item.id"> |
|
0 commit comments