summaryrefslogtreecommitdiff
path: root/view/html/recipe.html
AgeCommit message (Collapse)Author
2024-03-06view: Rework /recipe page layoutxengineering
2024-03-06view: Display multiline notes correctlyxengineering
2024-03-06view: Make recipe portions, URL and notes optionalxengineering
An empty string for one of these attributes will lead to a recipe view page which does not render the paragraph for this item.
2024-03-03view: Add recipe createxengineering
2024-03-03view: Add template 'nav'xengineering
The <nav> section is the same on every page. This new template reduces code duplication.
2024-03-03view: Provide recipe deletionxengineering
2024-03-03view: Replace edit by view parameterxengineering
The old edit URL parameter allowed to select one different HTML template. A more generic approach is to provide a view parameter which allows to use multiple alternative HTML templates for the same data defined by the Go struct. This makes implementing additional pages like a confirm page for recipe deletion easier.
2024-02-15view: Add doctype to HTMLxengineering
2024-02-15view: Reference /recipes with home buttonxengineering
The index page / provides a redirect to /recipes but this is inefficient since two HTTP requests are required.
2024-02-15view: Add edit view for model.Recipe typexengineering
2024-02-13view: Implement GET handler for model.Recipexengineering