This commit is contained in:
2020-06-11 14:25:30 +00:00
parent 8df082b23c
commit a05fd21fae
2 changed files with 26 additions and 23 deletions

View File

@@ -7,22 +7,20 @@
<v-col>
<v-stepper v-model="currentStep" vertical>
<v-stepper-step :complete="currentStep > 1" step="1">
Select an app
<small>Summarize if needed</small>
{{ $ay.t("Welcome") }}
<!-- <small>Summarize if needed</small> -->
</v-stepper-step>
<v-stepper-content step="1">
<v-card
color="grey lighten-1"
class="mb-12"
height="200px"
></v-card>
<v-btn color="primary" @click="currentStep = 2">Continue</v-btn>
<v-btn text>Cancel</v-btn>
<v-card class="mb-12"></v-card>
<v-btn color="primary" @click="currentStep = 2">{{
$ay.t("Continue")
}}</v-btn>
<v-btn text>{{ $ay.t("Cancel") }}</v-btn>
</v-stepper-content>
<v-stepper-step :complete="currentStep > 2" step="2"
>Configure analytics for this app</v-stepper-step
>Second step</v-stepper-step
>
<v-stepper-content step="2">
@@ -31,12 +29,14 @@
class="mb-12"
height="200px"
></v-card>
<v-btn color="primary" @click="currentStep = 3">Continue</v-btn>
<v-btn text>Cancel</v-btn>
<v-btn color="primary" @click="currentStep = 3">{{
$ay.t("Continue")
}}</v-btn>
<v-btn text>{{ $ay.t("Cancel") }}</v-btn>
</v-stepper-content>
<v-stepper-step :complete="currentStep > 3" step="3"
>Select an ad format and name ad unit</v-stepper-step
>Third step</v-stepper-step
>
<v-stepper-content step="3">
@@ -45,19 +45,23 @@
class="mb-12"
height="200px"
></v-card>
<v-btn color="primary" @click="currentStep = 4">Continue</v-btn>
<v-btn text>Cancel</v-btn>
<v-btn color="primary" @click="currentStep = 4">{{
$ay.t("Continue")
}}</v-btn>
<v-btn text>{{ $ay.t("Cancel") }}</v-btn>
</v-stepper-content>
<v-stepper-step step="4">View setup instructions</v-stepper-step>
<v-stepper-step step="4">Fourth step</v-stepper-step>
<v-stepper-content step="4">
<v-card
color="grey lighten-1"
class="mb-12"
height="200px"
></v-card>
<v-btn color="primary" @click="currentStep = 1">Continue</v-btn>
<v-btn text>Cancel</v-btn>
<v-btn color="primary" @click="currentStep = 1">{{
$ay.t("Cancel")
}}</v-btn>
<v-btn text>{{ $ay.t("Cancel") }}</v-btn>
</v-stepper-content>
</v-stepper>
</v-col>
@@ -355,7 +359,7 @@ function initForm(vm) {
return new Promise(async function(resolve, reject) {
// (async function() {
try {
//await fetchTranslatedText(vm);
await fetchTranslatedText(vm);
// await populateSelectionLists(vm);
} catch (err) {
reject(err);
@@ -370,7 +374,7 @@ function initForm(vm) {
// Ensures UI translated text is available
//
function fetchTranslatedText(vm) {
return window.$gz.translation.cacheTranslations(["Launch"]);
return window.$gz.translation.cacheTranslations(["Launch", "Welcome"]);
}
// //////////////////////