diff --git a/app/templates/recipe_detail.html b/app/templates/recipe_detail.html index 855a691..8b1a1cf 100755 --- a/app/templates/recipe_detail.html +++ b/app/templates/recipe_detail.html @@ -1,991 +1,884 @@ - - - - - - {{ recipe.title }} – Mein Kochbuch - - - - - - -
- - 📖 -

{% if is_shared %}Mein Kochbuch{% else %}Kochbuch{% endif %}

-
- - -
-
- 👨‍🍳 Kochmodus - -
- {% if not is_shared %} - - 📖 Alle Rezepte - - - - ✏️ Bearbeiten - - {% endif %} - - {% if not is_shared %} - - 🚪 Abmelden - - {% endif %} -
- - -
- -
-
- 👨‍🍳 Kochmodus (Display an) - -
-
- {% if not is_shared %} - - - 📖 Zum Kochbuch - - - ✏️ Rezept bearbeiten - - {% endif %} - - {% if not is_shared %} -
- - 🚪 Abmelden - - {% endif %} -
-
-
- -
- - -
- - {% if is_shared %} - -
-
- 📤 -
- Geteiltes Rezept - - {% if share.expires_at %} - ⏳ {{ share.relative_status }} (Gültig bis {{ share.expires_at_formatted }} Uhr) - {% else %} - ✨ Dauerhafter Link (unbegrenzt gültig) - {% endif %} - -
-
-
- Gastansicht -
-
- {% endif %} - - -
-
- 👨‍🍳 -
- Kochmodus - Verhindert, dass das Display während des Kochens sperrt -
-
-
- - Aus -
-
- - -
-

{{ recipe.title }}

- {% if recipe.subtitle and recipe.subtitle.strip() %} -
{{ recipe.subtitle.strip() }}
- {% endif %} - -
- {% if recipe.effort %} -
- ⏱️ - Aufwand: - {% if recipe.effort == 'gering' %}Gering 🟢{% elif recipe.effort == 'hoch' %}Hoch 🔴{% else %}Mittel 🟡{% endif %} - -
- {% endif %} - - {% if recipe.prep_time %} -
- 🔪 - Zubereitung: {{ recipe.prep_time }} -
- {% endif %} - - {% if recipe.cook_time %} -
- 🍳 - Kochen/Backen: {{ recipe.cook_time }} -
- {% endif %} - - {% if recipe.portions %} -
- 👥 - {{ recipe.portions }} Portionen -
- {% endif %} - - {% if recipe.source and recipe.source.strip() %} -
- 📖 - Quelle: {{ recipe.source.strip() }} -
- {% endif %} -
-
- - -
- - - - - -
-
-

Zubereitung

-
- {% for step in recipe.instructions.split('\n') %} - {% if step.strip() %} -
- {{ loop.index }} -
{{ step.strip() | strip_step_number }}
- ✓ -
- {% endif %} - {% endfor %} -
-
- - {% if recipe.notes and recipe.notes.strip() %} -
-
💡 Tipp & Notiz
-
{{ recipe.notes.strip() }}
-
- {% else %} - - {% endif %} - -
- -
- -
- - {% if not is_shared %} - -
- -
- {% endif %} - - {% if not is_shared %} - -
- -
- {% endif %} - -
- - - - + + + + + + {{ recipe.title }} – Mein Kochbuch + + + + + + +
+ + 📖 +

{% if is_shared %}Mein Kochbuch{% else %}Kochbuch{% endif %}

+
+ + +
+
+ 👨‍🍳 Kochmodus + +
+ {% if not is_shared %} + + 📖 Alle Rezepte + + + + ✏️ Bearbeiten + + {% endif %} + + {% if not is_shared %} + + 🚪 Abmelden + + {% endif %} +
+ + +
+ +
+
+ 👨‍🍳 Kochmodus (Display an) + +
+
+ {% if not is_shared %} + + + 📖 Zum Kochbuch + + + ✏️ Rezept bearbeiten + + {% endif %} + + {% if not is_shared %} +
+ + 🚪 Abmelden + + {% endif %} +
+
+
+ +
+ + +
+ + {% if is_shared %} + +
+
+ 📤 +
+ Geteiltes Rezept + + {% if share.expires_at %} + ⏳ {{ share.relative_status }} (Gültig bis {{ share.expires_at_formatted }} Uhr) + {% else %} + ✨ Dauerhafter Link (unbegrenzt gültig) + {% endif %} + +
+
+
+ Gastansicht +
+
+ {% endif %} + + +
+
+ 👨‍🍳 +
+ Kochmodus + Verhindert, dass das Display während des Kochens sperrt +
+
+
+ + Aus +
+
+ + +
+

{{ recipe.title }}

+ {% if recipe.subtitle and recipe.subtitle.strip() %} +
{{ recipe.subtitle.strip() }}
+ {% endif %} + +
+ {% if recipe.effort %} +
+ ⏱️ + Aufwand: + {% if recipe.effort == 'gering' %}Gering 🟢{% elif recipe.effort == 'hoch' %}Hoch 🔴{% else %}Mittel 🟡{% endif %} + +
+ {% endif %} + + {% if recipe.prep_time %} +
+ 🔪 + Zubereitung: {{ recipe.prep_time }} +
+ {% endif %} + + {% if recipe.cook_time %} +
+ 🍳 + Kochen/Backen: {{ recipe.cook_time }} +
+ {% endif %} + + {% if recipe.portions %} +
+ 👥 + {{ recipe.portions }} Portionen +
+ {% endif %} + + {% if recipe.source and recipe.source.strip() %} +
+ 📖 + Quelle: {{ recipe.source.strip() }} +
+ {% endif %} +
+
+ + +
+ + + + + +
+
+

Zubereitung

+
+ {% for step in recipe.instructions.split('\n') %} + {% if step.strip() %} +
+ {{ loop.index }} +
{{ step.strip() | strip_step_number }}
+ ✓ +
+ {% endif %} + {% endfor %} +
+
+ + {% if recipe.notes and recipe.notes.strip() %} +
+
💡 Tipp & Notiz
+
{{ recipe.notes.strip() }}
+
+ {% else %} + + {% endif %} + +
+ +
+ +
+ + {% if not is_shared %} + +
+ +
+ {% endif %} + + {% if not is_shared %} + + + +
+ + + +
+ + {% endif %} + + + +
+ + + +