This commit is contained in:
@@ -5,20 +5,6 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang
|
|||||||
WIFI change 5g channel to 52,56,60 and 2g channel to 8
|
WIFI change 5g channel to 52,56,60 and 2g channel to 8
|
||||||
recheck before doing as it seems to vary, maybe someone else's is auto switching
|
recheck before doing as it seems to vary, maybe someone else's is auto switching
|
||||||
|
|
||||||
Purple
|
|
||||||
https://www.amazon.ca/Mercer-Culinary-Millennia-10-Inch-Purple/dp/B087CD8NM7
|
|
||||||
|
|
||||||
Red
|
|
||||||
https://www.amazon.ca/Mercer-Culinary-Millennia-10-Inch-Handle/dp/B087CCYH4Z/
|
|
||||||
|
|
||||||
Blue
|
|
||||||
https://www.amazon.ca/Mercer-Culinary-M23210BL-Bread-10-Inch/dp/B087CCVJX2/
|
|
||||||
|
|
||||||
Green
|
|
||||||
https://www.amazon.ca/Mercer-Culinary-Millennia-10-Inch-Handle/dp/B087CDVVWL/
|
|
||||||
|
|
||||||
Yellow
|
|
||||||
https://www.amazon.ca/Mercer-Culinary-Millennia-Couteau-ondulé/dp/B087CD95P7/
|
|
||||||
|
|
||||||
|
|
||||||
todo: Evaluate UI
|
todo: Evaluate UI
|
||||||
|
|||||||
@@ -19,7 +19,9 @@
|
|||||||
<div class="text-h5 mt-8 mb-2">
|
<div class="text-h5 mt-8 mb-2">
|
||||||
{{ $ay.t("GenerateSampleData") }}
|
{{ $ay.t("GenerateSampleData") }}
|
||||||
</div>
|
</div>
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
alert info if insufficient rights to generate "You must be logged in
|
||||||
|
as the SuperUser account to do this"
|
||||||
|
<v-col cols="12" sm="6">
|
||||||
<v-select
|
<v-select
|
||||||
v-model="seedLevel"
|
v-model="seedLevel"
|
||||||
:items="selectLists.seedLevels"
|
:items="selectLists.seedLevels"
|
||||||
@@ -29,7 +31,14 @@
|
|||||||
:label="$ay.t('SeedLevel')"
|
:label="$ay.t('SeedLevel')"
|
||||||
></v-select>
|
></v-select>
|
||||||
</v-col>
|
</v-col>
|
||||||
trigger button
|
<v-col cols="12">
|
||||||
|
<v-btn
|
||||||
|
:disabled="formState.readOnly"
|
||||||
|
@click="generate()"
|
||||||
|
class="my-8 mr-4"
|
||||||
|
>{{ $ay.t("StartSeeding") }}</v-btn
|
||||||
|
>
|
||||||
|
</v-col>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-form>
|
</v-form>
|
||||||
@@ -97,6 +106,11 @@ export default {
|
|||||||
"https://contact.ayanova.com/contact?dbid=" +
|
"https://contact.ayanova.com/contact?dbid=" +
|
||||||
window.$gz.store.state.globalSettings.dbId
|
window.$gz.store.state.globalSettings.dbId
|
||||||
);
|
);
|
||||||
|
},
|
||||||
|
StartSeeding() {
|
||||||
|
//prompt erase data if necessary
|
||||||
|
//call seed route
|
||||||
|
//ideally some kind of job checking ui showing feedback would be nice
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -143,7 +157,7 @@ function initForm(vm) {
|
|||||||
// (async function() {
|
// (async function() {
|
||||||
try {
|
try {
|
||||||
await fetchTranslatedText(vm);
|
await fetchTranslatedText(vm);
|
||||||
// await populateSelectionLists(vm);
|
await populateSelectionLists(vm);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
reject(err);
|
reject(err);
|
||||||
}
|
}
|
||||||
@@ -166,28 +180,22 @@ function fetchTranslatedText(vm) {
|
|||||||
"SeedLevelSmall",
|
"SeedLevelSmall",
|
||||||
"SeedLevelMedium",
|
"SeedLevelMedium",
|
||||||
"SeedLevelLarge",
|
"SeedLevelLarge",
|
||||||
"SeedLevelHuge"
|
"SeedLevelHuge",
|
||||||
|
"StartSeeding"
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
todoThis
|
|
||||||
/////////////////////////////////
|
/////////////////////////////////
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
function populateSelectionLists(vm) {
|
function populateSelectionLists(vm) {
|
||||||
vm.selectLists.seedLevels.push(
|
vm.selectLists.seedLevels.push(
|
||||||
...[
|
...[
|
||||||
{ name: vm.$ay.t("DateRangePast6Hours"), id: "*past6hours*" },
|
{ name: vm.$ay.t("SeedLevelSmall"), id: "small" },
|
||||||
{ name: vm.$ay.t("DateRangePast24Hours"), id: "*past24hours*" },
|
{ name: vm.$ay.t("SeedLevelMedium"), id: "medium" },
|
||||||
{ name: vm.$ay.t("DateRangePast7Days"), id: "*past7days*" },
|
{ name: vm.$ay.t("SeedLevelLarge"), id: "large" },
|
||||||
{ name: vm.$ay.t("DateRangePast30Days"), id: "*past30days*" },
|
{ name: vm.$ay.t("SeedLevelHuge"), id: "huge" }
|
||||||
{
|
|
||||||
name: vm.$ay.t("DateRangeInTheLastSixMonths"),
|
|
||||||
id: "*last6months*"
|
|
||||||
},
|
|
||||||
{ name: vm.$ay.t("DateRangePastYear"), id: "*pastyear*" }
|
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user