+
+
@@ -231,12 +232,12 @@
};
},
submitDisabled() {
- return (
+ return Boolean(
this.selectedAddressId === '' ||
- this.fetchingAddresses & !this.filterLODAvailable ||
- this.deletingAddress ||
- this.discoveryFailed ||
- this.availableAddressIds.length === 0
+ this.fetchingAddresses & !this.filterLODAvailable ||
+ this.deletingAddress ||
+ this.discoveryFailed ||
+ this.availableAddressIds.length === 0
);
},
newAddressButtonDisabled() {
@@ -361,7 +362,7 @@
+
diff --git a/kolibri/plugins/setup_wizard/assets/src/views/OnboardingStepBase.vue b/kolibri/plugins/setup_wizard/assets/src/views/OnboardingStepBase.vue
index 741ec25b708..0f23ebce737 100644
--- a/kolibri/plugins/setup_wizard/assets/src/views/OnboardingStepBase.vue
+++ b/kolibri/plugins/setup_wizard/assets/src/views/OnboardingStepBase.vue
@@ -4,6 +4,7 @@
@@ -44,7 +45,7 @@
{{ title }}
-
+
{{ description }}
@@ -70,11 +71,13 @@
:text="coreString('goBackAction')"
appearance="flat-button"
:primary="false"
+ :disabled="navDisabled"
@click="wizardService.send('BACK')"
/>
@@ -85,6 +88,7 @@
class="mobile-continue-button"
:text="coreString('continueAction')"
:primary="true"
+ :disabled="navDisabled"
@click="$emit('continue')"
/>
@@ -120,6 +124,10 @@
type: Boolean,
default: false,
},
+ navDisabled: {
+ type: Boolean,
+ default: false,
+ },
title: {
type: String,
default: null,
@@ -139,6 +147,15 @@
return availableLanguages[currentLanguage];
},
},
+ methods: {
+ /* If the user is focused on a form element and hits enter, continue */
+ handleEnterKey(e) {
+ e.preventDefault();
+ if (!this.navDisabled & (e.target.tagName === 'INPUT')) {
+ this.$emit('continue');
+ }
+ },
+ },
};
diff --git a/kolibri/plugins/setup_wizard/assets/src/views/importFacility/ImportAuthentication.vue b/kolibri/plugins/setup_wizard/assets/src/views/importFacility/ImportAuthentication.vue
new file mode 100644
index 00000000000..bfbdf92b2d3
--- /dev/null
+++ b/kolibri/plugins/setup_wizard/assets/src/views/importFacility/ImportAuthentication.vue
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/kolibri/plugins/setup_wizard/assets/src/views/importFacility/LoadingTaskPage.vue b/kolibri/plugins/setup_wizard/assets/src/views/importFacility/LoadingTaskPage.vue
index 29b4210572b..d9144d1a74d 100644
--- a/kolibri/plugins/setup_wizard/assets/src/views/importFacility/LoadingTaskPage.vue
+++ b/kolibri/plugins/setup_wizard/assets/src/views/importFacility/LoadingTaskPage.vue
@@ -1,7 +1,9 @@
-
-
+