| /openbmc/webui-vue/src/views/SecurityAndAccess/Ldap/ |
| H A D | Ldap.vue | 5 <b-form novalidate @submit.prevent="handleSubmit"> 8 <b-form-group 10 :label="$t('pageLdap.form.ldapAuthentication')" 13 <b-form-checkbox 14 v-model="form.ldapAuthenticationEnabled" 19 </b-form-checkbox> 20 </b-form-group> 23 <div class="form-background p-3"> 24 <b-form-group 28 :disabled="!form.ldapAuthenticationEnabled || loading" [all …]
|
| H A D | ModalAddRoleGroup.vue | 13 <b-form id="role-group" @submit.prevent="handleSubmit"> 18 <dd style="word-break: break-all">{{ form.groupName }}</dd> 24 <b-form-group 28 <b-form-input 30 v-model="form.groupName" 31 :state="getValidationState(v$.form.groupName)" 32 @input="v$.form.groupName.$touch()" 34 <b-form-invalid-feedback role="alert"> 35 {{ i18n.t('global.form.fieldRequired') }} 36 </b-form-invalid-feedback> [all …]
|
| /openbmc/webui-vue/src/views/SecurityAndAccess/Certificates/ |
| H A D | ModalGenerateCsr.vue | 14 <b-form id="generate-csr-form" novalidate> 20 <b-form-group 24 <b-form-select 26 v-model="form.certificateType" 29 :state="getValidationState(v$.form.certificateType)" 30 @change="v$.form.certificateType.$touch()" 33 <b-form-select-option :value="null" disabled> 34 {{ t$('global.form.selectAnOption') }} 35 </b-form-select-option> 37 </b-form-select> [all …]
|
| H A D | ModalUploadCertificate.vue | 9 <b-form> 20 <b-form-group 24 <b-form-select 26 v-model="form.certificateType" 28 :state="getValidationState(v$.form.certificateType)" 29 @change="v$.form.certificateType.$touch()" 31 </b-form-select> 32 <b-form-invalid-feedback role="alert"> 33 <template v-if="v$.form.certificateType.required.$invalid"> 34 {{ i18n.t('global.form.fieldRequired') }} [all …]
|
| /openbmc/webui-vue/src/views/SecurityAndAccess/UserManagement/ |
| H A D | ModalSettings.vue | 9 <b-form id="form-settings" novalidate @submit.prevent="handleSubmit"> 13 <b-form-group 17 <b-form-text id="lockout-threshold-help-block"> 19 $t('global.form.valueMustBeBetween', { 24 </b-form-text> 25 <b-form-input 27 v-model.number="form.lockoutThreshold" 31 :state="getValidationState(v$.form.lockoutThreshold)" 32 @input="v$.form.lockoutThreshold.$touch()" 34 <b-form-invalid-feedback role="alert"> [all …]
|
| H A D | ModalUser.vue | 9 <b-form id="form-user" novalidate @submit.prevent="handleSubmit"> 11 <!-- Manual unlock form control --> 15 <template v-if="!v$.form.manualUnlock.$dirty"> 27 v-model="form.manualUnlock" 33 :disabled="v$.form.manualUnlock.$dirty" 35 @click="v$.form.manualUnlock.$touch()" 43 <b-form-group 46 <b-form-radio 47 v-model="form.status" 51 @change="v$.form.status.$touch()" [all …]
|
| /openbmc/webui-vue/src/views/Settings/Network/ |
| H A D | ModalIpv4.vue | 8 <b-form id="form-ipv4" @submit.prevent="handleSubmit"> 11 <b-form-group 15 <b-form-input 17 v-model="form.ipAddress" 19 :state="getValidationState(v$.form.ipAddress)" 20 @input="v$.form.ipAddress.$touch()" 22 <b-form-invalid-feedback role="alert"> 23 <template v-if="v$.form.ipAddress.required.$invalid"> 24 {{ $t('global.form.fieldRequired') }} 26 <template v-if="v$.form.ipAddress.ipAddress.$invalid"> [all …]
|
| H A D | ModalIpv6.vue | 8 <b-form id="form-ipv6" @submit.prevent="handleSubmit"> 11 <b-form-group 15 <b-form-input 17 v-model="form.ipAddress" 19 :state="getValidationState(v$.form.ipAddress)" 20 @input="v$.form.ipAddress.$touch()" 22 <b-form-invalid-feedback role="alert"> 23 <template v-if="v$.form.ipAddress.required.$invalid"> 24 {{ $t('global.form.fieldRequired') }} 26 <template v-if="v$.form.ipAddress.validateIpv6.$invalid"> [all …]
|
| H A D | ModalDns.vue | 8 <b-form id="form-dns" @submit.prevent="handleSubmit"> 11 <b-form-group 15 <b-form-input 17 v-model="form.staticDns" 19 :state="getValidationState(v$.form.staticDns)" 20 @input="v$.form.staticDns.$touch()" 22 <b-form-invalid-feedback role="alert"> 23 <template v-if="v$.form.staticDns.required.$invalid"> 24 {{ $t('global.form.fieldRequired') }} 26 <template v-if="v$.form.staticDns.ipAddress.$invalid"> [all …]
|
| H A D | ModalHostname.vue | 8 <b-form id="hostname-settings" @submit.prevent="handleSubmit"> 11 <b-form-group 15 <b-form-input 17 v-model="form.hostname" 19 :state="getValidationState(v$.form.hostname)" 20 @input="v$.form.hostname.$touch()" 22 <b-form-invalid-feedback role="alert"> 23 <template v-if="v$.form.hostname.required.$invalid"> 24 {{ $t('global.form.fieldRequired') }} 26 <template v-if="v$.form.hostname.validateHostname.$invalid"> [all …]
|
| H A D | ModalMacAddress.vue | 8 <b-form id="mac-settings" @submit.prevent="handleSubmit"> 11 <b-form-group 15 <b-form-input 17 v-model.trim="form.macAddress" 20 :state="getValidationState(v$.form.macAddress)" 21 @change="v$.form.macAddress.$touch()" 23 <b-form-invalid-feedback role="alert"> 24 <div v-if="v$.form.macAddress.required.$invalid"> 25 {{ $t('global.form.fieldRequired') }} 27 <div v-if="v$.form.macAddress.macAddress.$invalid"> [all …]
|
| /openbmc/webui-vue/docs/guide/quickstart/ |
| H A D | forms.md | 4 [bootstrap-vue form component](https://bootstrap-vue.org/docs/components/form) 10 When creating a new form, use the `<b-form>` 11 [form component](https://bootstrap-vue.org/docs/components/form). Use the 17 The `<b-form-group>` 18 [form group component](https://bootstrap-vue.org/docs/components/form-group) 19 pairs form controls with a legend or label, helper text, invalid/valid feedback 20 text, and visual validation state feedback. Learn more about commonly used form 23 - [Form checkbox](https://bootstrap-vue.org/docs/components/form-checkbox) 24 - [Form input](https://bootstrap-vue.org/docs/components/form-input) 25 - [Form radio](https://bootstrap-vue.org/docs/components/form-radio) [all …]
|
| /openbmc/webui-vue/src/assets/styles/bmc/custom/ |
| H A D | _forms.scss | 3 .form-text, 4 .b-form-text { 6 font-size: $form-label-font-size; 7 line-height: $form-line-height; 14 .col-form-label { 16 font-size: $form-label-font-size; 17 line-height: $form-line-height; 20 // Bootstrap 4 and bootstrap-vue-next form group spacing 21 .form-group, 22 .b-form-group { [all …]
|
| /openbmc/webui-vue/src/views/Operations/ServerPowerOperations/ |
| H A D | BootSettings.vue | 2 <div class="form-background p-3"> 3 <b-form novalidate @submit.prevent="handleSubmit"> 4 <b-form-group 11 <b-form-select 13 v-model="form.bootOption" 18 </b-form-select> 19 </b-form-group> 20 <b-form-checkbox 21 v-model="form.oneTimeBoot" 23 :disabled="form.bootOption === 'None'" [all …]
|
| /openbmc/webui-vue/src/views/Operations/VirtualMedia/ |
| H A D | ModalConfigureConnection.vue | 13 <b-form> 14 <b-form-group 18 <b-form-input 20 v-model="form.serverUri" 22 :state="getValidationState(v$.form.serverUri)" 24 @input="v$.form.serverUri.$touch()" 26 <b-form-invalid-feedback role="alert"> 27 <template v-if="v$.form.serverUri.required.$invalid"> 28 {{ $t('global.form.fieldRequired') }} 30 </b-form-invalid-feedback> [all …]
|
| /openbmc/webui-vue/src/views/Settings/DateTime/ |
| H A D | DateTime.vue | 20 <dt>{{ $t('pageDateTime.form.date') }}</dt> 29 <dt>{{ $t('pageDateTime.form.time.label') }}</dt> 39 <b-form novalidate @submit.prevent="submitForm"> 40 <b-form-group 45 <b-form-radio 46 v-model="form.configurationSelected" 50 {{ $t('pageDateTime.form.manual') }} 51 </b-form-radio> 54 <b-form-group 55 :label="$t('pageDateTime.form.date')" [all …]
|
| /openbmc/webui-vue/src/views/Settings/SnmpAlerts/ |
| H A D | ModalAddDestination.vue | 10 <b-form id="form-destination"> 15 <b-form-group 19 <b-form-input 21 v-model="form.ipAddress" 22 :state="getValidationState(v$.form.ipAddress)" 25 @blur="v$.form.ipAddress.$touch()" 28 <b-form-invalid-feedback role="alert"> 29 <template v-if="v$.form.ipAddress.required.$invalid"> 30 {{ $t('global.form.fieldRequired') }} 32 <template v-if="v$.form.ipAddress.ipAddress.$invalid"> [all …]
|
| /openbmc/webui-vue/src/views/ProfileSettings/ |
| H A D | ProfileSettings.vue | 20 <b-form @submit.prevent="submitForm"> 36 <b-form-group 42 <b-form-input 44 v-model="form.currentPassword" 48 class="form-control-with-button" 51 </b-form-group> 52 <b-form-group 57 <b-form-text id="password-help-block"> 64 </b-form-text> 66 <b-form-input [all …]
|
| /openbmc/webui-vue/src/views/Operations/KeyClear/ |
| H A D | KeyClear.vue | 17 <b-form id="key-clear" @submit.prevent="onKeyClearSubmit(keyOption)"> 20 <b-form-group :label="$t('pageKeyClear.form.keyClearOptionsLabel')"> 21 <b-form-radio-group 26 <b-form-radio class="mb-1" value="NONE"> 27 {{ $t('pageKeyClear.form.none') }} 28 </b-form-radio> 29 <b-form-text id="key-clear-not-requested" class="ms-4 mb-3"> 30 {{ $t('pageKeyClear.form.keyClearNotRequested') }} 31 </b-form-text> 32 <b-form-radio class="mb-1" value="ALL"> [all …]
|
| /openbmc/webui-vue/src/views/ChangePassword/ |
| H A D | ChangePassword.vue | 16 <b-form novalidate @submit.prevent="changePassword"> 17 <b-form-group 22 <b-form-input 24 v-model="form.password" 28 :state="getValidationState(v$.form.password)" 29 class="form-control-with-button" 30 @change="v$.form.password.$touch()" 32 </b-form-input> 33 <b-form-invalid-feedback role="alert"> 34 <template v-if="v$.form.password.required.$invalid"> [all …]
|
| /openbmc/webui-vue/tests/unit/views/SecurityAndAccess/UserManagement/ |
| H A D | ModalUser.spec.js | 73 expect(wrapper.vm.v$.form).toBeDefined(); 77 expect(wrapper.vm.v$.form.username).toBeDefined(); 78 expect(wrapper.vm.v$.form.username.required).toBeDefined(); 82 expect(wrapper.vm.v$.form.username.maxLength).toBeDefined(); 86 expect(wrapper.vm.v$.form.username.pattern).toBeDefined(); 90 expect(wrapper.vm.v$.form.password).toBeDefined(); 94 expect(wrapper.vm.v$.form.password.minLength).toBeDefined(); 98 expect(wrapper.vm.v$.form.password.maxLength).toBeDefined(); 102 expect(wrapper.vm.v$.form.passwordConfirmation).toBeDefined(); 107 wrapper.vm.v$.form.passwordConfirmation.sameAsPassword, [all …]
|
| /openbmc/webui-vue/src/views/Operations/FactoryReset/ |
| H A D | FactoryReset.vue | 6 <b-form id="factory-reset" @submit.prevent="onResetSubmit"> 9 <b-form-group :label="$t('pageFactoryReset.form.resetOptionsLabel')"> 10 <b-form-radio-group 15 <b-form-radio 21 {{ $t('pageFactoryReset.form.resetBiosOptionLabel') }} 22 </b-form-radio> 23 <b-form-text id="reset-bios" class="ms-4 mb-3"> 24 {{ $t('pageFactoryReset.form.resetBiosOptionHelperText') }} 25 </b-form-text> 27 <b-form-radio [all …]
|
| /openbmc/webui-vue/src/views/Logs/Dumps/ |
| H A D | DumpsForm.vue | 2 <div class="form-background p-3"> 3 <b-form id="form-new-dump" novalidate @submit.prevent="handleSubmit"> 4 <b-form-group 5 :label="$t('pageDumps.form.selectDumpType')" 8 <b-form-select 15 <b-form-select-option :value="null" disabled> 16 {{ $t('global.form.selectAnOption') }} 17 </b-form-select-option> 19 </b-form-select> 20 <b-form-invalid-feedback role="alert"> [all …]
|
| /openbmc/webui-vue/tests/unit/views/Settings/Network/ |
| H A D | ModalHostname.spec.js | 37 expect(wrapper.vm.v$.form).toBeDefined(); 38 expect(wrapper.vm.v$.form.hostname).toBeDefined(); 42 expect(wrapper.vm.v$.form.hostname.required).toBeDefined(); 46 expect(wrapper.vm.v$.form.hostname.validateHostname).toBeDefined(); 50 expect(typeof wrapper.vm.v$.form.hostname.$touch).toBe('function'); 58 expect(wrapper.vm.v$.form.hostname.$dirty).toBe(false); 62 wrapper.vm.v$.form.hostname.$touch(); 64 expect(wrapper.vm.v$.form.hostname.$dirty).toBe(true); 68 wrapper.vm.v$.form.hostname.$touch(); 70 expect(wrapper.vm.v$.form.hostname.$dirty).toBe(true); [all …]
|
| H A D | ModalMacAddress.spec.js | 37 expect(wrapper.vm.v$.form).toBeDefined(); 38 expect(wrapper.vm.v$.form.macAddress).toBeDefined(); 42 expect(wrapper.vm.v$.form.macAddress.required).toBeDefined(); 46 expect(wrapper.vm.v$.form.macAddress.macAddress).toBeDefined(); 50 expect(wrapper.vm.v$.form.macAddress.$dirty).toBe(false); 54 wrapper.vm.v$.form.macAddress.$touch(); 56 expect(wrapper.vm.v$.form.macAddress.$dirty).toBe(true); 60 wrapper.vm.v$.form.macAddress.$touch(); 65 expect(wrapper.vm.v$.form.macAddress.$dirty).toBe(false); 76 wrapper.vm.v$.form.macAddress, [all …]
|