-
{{ action }} {{ recipe.name || "[Unamed Recipe]" }}
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
@@ -98,10 +70,10 @@
required: true,
type: Object
},
- action: {
+ forLogging: {
required: false,
- type: String,
- default: "Editing"
+ type: Boolean,
+ default: false
}
},
diff --git a/app/javascript/components/TheLog.vue b/app/javascript/components/TheLog.vue
new file mode 100644
index 0000000..b49d99e
--- /dev/null
+++ b/app/javascript/components/TheLog.vue
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/javascript/components/TheLogCreator.vue b/app/javascript/components/TheLogCreator.vue
new file mode 100644
index 0000000..caceaee
--- /dev/null
+++ b/app/javascript/components/TheLogCreator.vue
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+ Cancel
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/javascript/components/TheLogEditor.vue b/app/javascript/components/TheLogEditor.vue
new file mode 100644
index 0000000..b49d99e
--- /dev/null
+++ b/app/javascript/components/TheLogEditor.vue
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/javascript/components/TheLogList.vue b/app/javascript/components/TheLogList.vue
new file mode 100644
index 0000000..03677de
--- /dev/null
+++ b/app/javascript/components/TheLogList.vue
@@ -0,0 +1,93 @@
+
+
+
+ Log Entries
+
+
+
+
+ Recipe |
+ Date |
+ Rating |
+ Notes |
+
+
+
+ {{l.recipe.name}} |
+ l.date |
+ l.rating |
+ l.notes |
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/javascript/components/TheRecipeCreator.vue b/app/javascript/components/TheRecipeCreator.vue
index 5bfb58a..a90412c 100644
--- a/app/javascript/components/TheRecipeCreator.vue
+++ b/app/javascript/components/TheRecipeCreator.vue
@@ -1,6 +1,8 @@
+
Creating {{ recipe.name || "[Unamed Recipe]" }}
+
@@ -12,13 +14,13 @@