Confirmation.vue start

This commit is contained in:
Hayden 2021-01-04 16:49:03 -09:00
parent cd4694d85e
commit 1aa9cbeebb
4 changed files with 11 additions and 18 deletions

9
.gitignore vendored
View file

@ -9,6 +9,7 @@ docs/site/
mealie/data/backups/*
mealie/data/debug/*
mealie/data/img/*
!mealie/dist/*
#Exception to keep folders
!mealie/dist/.gitkeep
@ -19,12 +20,12 @@ mealie/data/img/*
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
.env.development
# Log files
npm-debug.log*
@ -49,7 +50,7 @@ pnpm-debug.log*
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
@ -144,5 +145,3 @@ ENV/
# Node Modules
node_modules/
/*.env.development*

View file

@ -0,0 +1 @@
VUE_APP_API_BASE_URL=http://10.10.10.12:9921

View file

@ -3,22 +3,12 @@
<v-card :loading="processing">
<v-card-title class="headline"> From URL </v-card-title>
<v-card-text>
<v-form>
<v-text-field v-model="recipeURL" label="Recipe URL"></v-text-field>
</v-form>
<v-alert v-if="error" color="red" outlined type="success">
Looks like there was an error parsing the URL. Check the log and
debug/last_recipe.json to see what went wrong.
</v-alert>
</v-card-text>
<v-divider></v-divider>
<v-card-text> </v-card-text>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn color="primary" text @click="createRecipe"> Submit </v-btn>
<v-btn color="primary" text @click="createRecipe"> Exit </v-btn>
<v-btn color="primary" text @click="confirm"> Confirm </v-btn>
</v-card-actions>
</v-card>
</v-dialog>
@ -36,6 +26,9 @@ export default {
confirm() {
this.$emit("confirm");
},
exit() {
// do something?
}
},
};
</script>

0
mealie/dist/.gitkeep vendored Normal file
View file