optimize admin layout
This commit is contained in:
parent
0a2fc20948
commit
7c5471b79e
3 changed files with 34 additions and 14 deletions
|
@ -15,22 +15,27 @@ type = integer
|
|||
width = 1/2
|
||||
|
||||
[fields.amounts]
|
||||
label = Wie viel von der Zutat wird verwendet?
|
||||
description = MUSS für jede der angegebenen Portionsmengen definiert werden
|
||||
label = Wie viel von der Zutat wird verwendet? (required)
|
||||
description = muss für jede Portionsgröße angegeben werden, Reinfolge muss identisch sein in der die Portionsgrößen (servings) angegeben sind. Wenn eine Zutat die Menge '0' hat, wird sie für die angegebene Portionsgröße nicht gerendert.
|
||||
type = flow
|
||||
flow_blocks = flow_amounts
|
||||
width = 3/5
|
||||
|
||||
[fields.substitutions]
|
||||
label = Alternative Zutat (optional)
|
||||
description = Wenn man zum Beispiel statt Club-Mate auch Sprudel nehmen kann...
|
||||
type = flow
|
||||
flow_blocks = flow_substitutions
|
||||
width = 2/5
|
||||
|
||||
[fields.processing]
|
||||
label = Verarbeitung
|
||||
description = Wie wird die Zutat verarbeitet? (Beispiel: Butter schmelzen oder Eier vor dem auftrennen waschen)
|
||||
type = flow
|
||||
flow_blocks = flow_processing
|
||||
|
||||
[fields.notes]
|
||||
description = Was man sonst noch so zur Zutat sagen sollte
|
||||
label = Notizen zur Zutat
|
||||
type = flow
|
||||
flow_blocks = flow_notes
|
||||
|
||||
[fields.substitutions]
|
||||
label = Alternative Zutat
|
||||
type = flow
|
||||
flow_blocks = flow_substitutions
|
||||
|
|
|
@ -7,10 +7,13 @@ label = serving number
|
|||
description = Für wie viele Portionen sind die Zutaten definiert
|
||||
type = integer
|
||||
default = 1
|
||||
addon_label = Stück
|
||||
width = 2/5
|
||||
|
||||
[fields.serving_units]
|
||||
label = serving Units
|
||||
description = Was ergibt das Rezept?
|
||||
description = Was ergibt das Rezept?'
|
||||
type = string
|
||||
default = Waffeln
|
||||
addon_label = '(bezeichnung des Gebäcks)'
|
||||
width = 3/5
|
||||
|
|
|
@ -4,35 +4,43 @@ label = {{ this.title }}
|
|||
hidden = yes
|
||||
|
||||
[fields.title]
|
||||
label = Title
|
||||
label = Rezept Title
|
||||
description = Für welches Rezept sind die Zutaten
|
||||
size = large
|
||||
type = string
|
||||
size = large
|
||||
|
||||
[fields.x_ignore_1]
|
||||
label = First Instruction:
|
||||
description = Reneame this fresh created directory in the content folder to 'rezept.yaml/'
|
||||
label = Instructions: First step
|
||||
description = Reneame this fresh created directory in the content folder to 'rezept.yaml/' to store the new recipt in the required rezept.yaml format
|
||||
type = boolean
|
||||
width = 1/2
|
||||
|
||||
[fields.x_ignore_2]
|
||||
label = Secound Instruction:
|
||||
description = Fill in the option '_template: zutaten.yaml' in the 'rezept.yaml/contents.lr' Lektor File
|
||||
label = Instructions: Secound Step
|
||||
description = Please fill in the option '_template: zutaten.yaml' manually in the 'rezept.yaml/contents.lr' Lektor File, so it will rendered correctly
|
||||
type = string
|
||||
addon_label = (this entry is only for information)
|
||||
default = zutaten.yaml
|
||||
width = 1/2
|
||||
|
||||
;---------------------------
|
||||
|
||||
[fields.recipe_name]
|
||||
size = large
|
||||
label = recipe name
|
||||
description = what kind of pastry will be created?
|
||||
type = string
|
||||
width = 1/3
|
||||
|
||||
[fields.servings]
|
||||
label = servings
|
||||
description = Hier wird definiert, für welche Portionsgröße die Zutaten angegeben werden
|
||||
description = Hier werden alle Portionsgrößen definiert, für die dieses Rezept sein soll. (mindestens eine Mengenangabe ist sinvoll). Achtung, bei mehr wie eine Größenangabe muss die Reinfolge überall gleich sein!
|
||||
type = flow
|
||||
flow_blocks = flow_servings
|
||||
width = 2/3
|
||||
|
||||
;------------------------------------------
|
||||
|
||||
[fields.ingredients]
|
||||
label = ingredients
|
||||
|
@ -40,6 +48,8 @@ description = Hier werden die Zutaten und Menge definiert
|
|||
type = flow
|
||||
flow_blocks = flow_ingredients
|
||||
|
||||
;-----------------------
|
||||
|
||||
[fields.steps]
|
||||
label = Steps
|
||||
type = flow
|
||||
|
@ -48,12 +58,14 @@ flow_blocks = flow_steps
|
|||
[fields.oven_type]
|
||||
label = oven type
|
||||
type = string
|
||||
width = 1/2
|
||||
description = Example: conventional, microwave, waffle iron, wood oven...
|
||||
|
||||
[fields.oven]
|
||||
label = Oven temperature
|
||||
description = Starting oven temperature, if the oven is used.
|
||||
type = flow
|
||||
width = 1/2
|
||||
flow_blocks = flow_oven
|
||||
|
||||
[fields.oven_time]
|
||||
|
|
Loading…
Reference in a new issue