diff options
| author | xengineering <me@xengineering.eu> | 2026-08-11 10:36:58 +0200 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-08-11 11:22:48 +0200 |
| commit | 5f66b2fc93d84cedd605bbacbd602cec98efc358 (patch) | |
| tree | 11ed7a76c3904ee8174a80f4757952f1786687aa | |
| parent | 40b3272f5660517a4c97f97afcc9c3ed787465a4 (diff) | |
| download | ceres-5f66b2fc93d84cedd605bbacbd602cec98efc358.tar ceres-5f66b2fc93d84cedd605bbacbd602cec98efc358.tar.zst ceres-5f66b2fc93d84cedd605bbacbd602cec98efc358.zip | |
WIP: Add `up` and `down` buttons for recipe steps
TODO: Add `onclick` to add functionality
These buttons allow the user to move recipes steps up and down. The
commit covers only the user interface change.
| -rw-r--r-- | view/html/recipe-step.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/html/recipe-step.html b/view/html/recipe-step.html index 13c0de0..a50d763 100644 --- a/view/html/recipe-step.html +++ b/view/html/recipe-step.html @@ -3,6 +3,8 @@ <div class="ingredients">{{range .Ingredients}} {{ template "recipe-ingredient" . }}{{end}} </div> + <button type="button">up</button> <button type="button" onclick="addNewIngredient(this);">add ingredient</button> <button type="button" onclick="parentNode.remove();">remove step</button> + <button type="button">down</button> </section>{{end}} |
