WIP but slowly seeing progress

This commit is contained in:
vabene1111
2021-01-13 03:28:10 +01:00
parent 6ff0e3b7b3
commit acafcbc077
3 changed files with 32 additions and 8 deletions

View File

@@ -10,6 +10,10 @@
</div>
</div>
<div class="d-flex flex-row">
</div>
<div class="row">
<div class="col-12">
@@ -25,11 +29,31 @@
</div>
</div>
<div class="row">
<div class="col-12">
{{ _('Fats') }}
{{ calculateAmount(recipe.nutrition.fats) }} g
<div class="d-flex flex-row">
<div class="flex-column">
<div class="">
{{ _('Fats') }}
</div>
<div class="">
{{ calculateAmount(recipe.nutrition.fats) }}
</div>
<div class="">
g
</div>
</div>
<div class="flex-column">
<div class="">
{{ _('Fats') }}
</div>
<div class="">
{{ calculateAmount(recipe.nutrition.fats) }}
</div>
<div class="">
g
</div>
</div>
</div>
<div class="row">

View File

@@ -9,17 +9,17 @@
<div class="row">
<div class="col-md-3">
<div class="col-md-4">
<i class="fa fa-stopwatch"></i> {{ step.time }}
<table>
<table class="table table-sm">
<div v-for="i in step.ingredients" v-bind:key="i.id">
<Ingredient v-bind:ingredient="i" v-bind:servings="servings"></Ingredient>
</div>
</table>
</div>
<div class="col-md-9">
<div class="col-md-8">
<i class="fas fa-paragraph text-secondary"></i>
<compile-component :code="step.ingredients_markdown" :servings="servings"></compile-component>

View File

@@ -1 +1 @@
{"status":"done","publicPath":"http://localhost:8080/","chunks":{"chunk-vendors":[{"name":"js/chunk-vendors.js","publicPath":"http://localhost:8080/js/chunk-vendors.js","path":"F:\\Developement\\Django\\recipes\\cookbook\\static\\vue\\js\\chunk-vendors.js"}],"recipe_view":[{"name":"js/recipe_view.js","publicPath":"http://localhost:8080/js/recipe_view.js","path":"F:\\Developement\\Django\\recipes\\cookbook\\static\\vue\\js\\recipe_view.js"},{"name":"recipe_view.33bad90b2fb6debcf069.hot-update.js","publicPath":"http://localhost:8080/recipe_view.33bad90b2fb6debcf069.hot-update.js","path":"F:\\Developement\\Django\\recipes\\cookbook\\static\\vue\\recipe_view.33bad90b2fb6debcf069.hot-update.js"}]},"error":"ModuleError","message":"Module Error (from ./node_modules/eslint-loader/index.js):\n\nF:\\Developement\\Django\\recipes\\vue\\src\\components\\ImageViewer.vue\n 25:50 error 'resolveDjangoUrl' is not defined no-undef\n\n✖ 1 problem (1 error, 0 warnings)\n"}
{"status":"done","publicPath":"http://localhost:8080/","chunks":{"chunk-vendors":[{"name":"js/chunk-vendors.js","publicPath":"http://localhost:8080/js/chunk-vendors.js","path":"F:\\Developement\\Django\\recipes\\cookbook\\static\\vue\\js\\chunk-vendors.js"}],"recipe_view":[{"name":"js/recipe_view.js","publicPath":"http://localhost:8080/js/recipe_view.js","path":"F:\\Developement\\Django\\recipes\\cookbook\\static\\vue\\js\\recipe_view.js"},{"name":"recipe_view.984f442acdcbbef1634d.hot-update.js","publicPath":"http://localhost:8080/recipe_view.984f442acdcbbef1634d.hot-update.js","path":"F:\\Developement\\Django\\recipes\\cookbook\\static\\vue\\recipe_view.984f442acdcbbef1634d.hot-update.js"}]},"error":"ModuleError","message":"Module Error (from ./node_modules/eslint-loader/index.js):\n\nF:\\Developement\\Django\\recipes\\vue\\src\\components\\ImageViewer.vue\n 25:50 error 'resolveDjangoUrl' is not defined no-undef\n\n✖ 1 problem (1 error, 0 warnings)\n"}