From de60e12073918a14ec3eaa50a12d456607dac7d8 Mon Sep 17 00:00:00 2001 From: smilerz Date: Tue, 23 Mar 2021 12:54:41 -0500 Subject: [PATCH] added collapsable cards --- cookbook/templates/url_import.html | 85 +++++++++++++++++------------- 1 file changed, 48 insertions(+), 37 deletions(-) diff --git a/cookbook/templates/url_import.html b/cookbook/templates/url_import.html index eb02fbf9..ec0bf99b 100644 --- a/cookbook/templates/url_import.html +++ b/cookbook/templates/url_import.html @@ -130,61 +130,68 @@
-
+
{% trans 'Name' %}
{% trans 'Text dragged here will be appended to the name.'%}
- -
-
[[recipe_json.name]]
-
+ +
+
[[recipe_json.name]]
+
+
-
+
{% trans 'Description' %}
{% trans 'Text dragged here will be appended to the description.'%}
-
-
[[recipe_json.description]]
-
+ +
+
[[recipe_json.description]]
+
+
-
+
{% trans 'Keywords' %}
{% trans 'Keywords dragged here will be appended to current list'%}
-
-
-
[[kw]]
+ +
+
+
[[kw]]
+
-
+
-
+
{% trans 'Image' %}
-
- Recipe Image -
+ +
+ Recipe Image +
+
-
-
+
+
{% trans 'Servings' %}
@@ -218,38 +225,42 @@
-
+
{% trans 'Ingredients' %}
{% trans 'Ingredients dragged here will be appended to current list.'%}
-
-
    -
    -
  • -
    [[i.amount]]
    -
    [[i.unit.text]]
    -
    [[i.ingredient.text]]
    -
    [[i.note]]
    -
  • -
    -
-
+ +
+
    +
    +
  • +
    [[i.amount]]
    +
    [[i.unit.text]]
    +
    [[i.ingredient.text]]
    +
    [[i.note]]
    +
  • +
    +
+
+
-
+
{% trans 'Instructions' %}
{% trans 'Recipe instructions dragged here will be appended to current instructions.'%}
-
-
[[recipe_json.recipeInstructions]]
-
+ +
+
[[recipe_json.recipeInstructions]]
+
+