<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ceres/view/html/recipe.html, branch 0.4.0</title>
<subtitle>Recipe server for your favorite dishes</subtitle>
<id>https://cgit.xengineering.eu/ceres/atom?h=0.4.0</id>
<link rel='self' href='https://cgit.xengineering.eu/ceres/atom?h=0.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/'/>
<updated>2024-05-15T18:42:09Z</updated>
<entry>
<title>view: Remove empty ingredient summaries</title>
<updated>2024-05-15T18:42:09Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-05-15T18:42:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=d14aece3295405b4377ea20aabd9c621aace4922'/>
<id>urn:sha1:d14aece3295405b4377ea20aabd9c621aace4922</id>
<content type='text'>
If the recipe has no ingredients at all the "Ingredient summary:" text
used to be displayed. This is not useful and confusing. It is removed
with this commit.
</content>
</entry>
<entry>
<title>view: Rename to 'Ingredient summary:'</title>
<updated>2024-05-15T17:27:05Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-05-15T17:27:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=b48f4514a44450da1ad5da68ce434c2b87e721d0'/>
<id>urn:sha1:b48f4514a44450da1ad5da68ce434c2b87e721d0</id>
<content type='text'>
This used to be named 'Ingredients: which might be confusing since
ingredients are defined per step and the list at the top of the recipe
is just a summary.
</content>
</entry>
<entry>
<title>view: Add ingredient overview to recipe read page</title>
<updated>2024-05-12T18:52:25Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-04-07T10:04:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=bf328dd38a28cf44cfa81c7f1dcd95936d2d0301'/>
<id>urn:sha1:bf328dd38a28cf44cfa81c7f1dcd95936d2d0301</id>
<content type='text'>
</content>
</entry>
<entry>
<title>view: Show ingredients on read page</title>
<updated>2024-05-12T18:52:25Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-04-07T09:56:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=01d97189d245300d65ca31d650dd868d1d1fc0d8'/>
<id>urn:sha1:01d97189d245300d65ca31d650dd868d1d1fc0d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>view: Add steps to recipe page</title>
<updated>2024-03-24T09:10:54Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-16T20:24:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=40a576737de18af2fb20387b3b76b12053910fe9'/>
<id>urn:sha1:40a576737de18af2fb20387b3b76b12053910fe9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>view: Fix position of header tag</title>
<updated>2024-03-24T09:10:10Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-24T09:10:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=605c9e321b442daf1794ae8c045b1efb75617c92'/>
<id>urn:sha1:605c9e321b442daf1794ae8c045b1efb75617c92</id>
<content type='text'>
It should be inside the body tag but used to be before it.
</content>
</entry>
<entry>
<title>view: Do not change button color</title>
<updated>2024-03-23T19:33:15Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-23T19:33:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=a841381cc844776e3561cc1ce7189120a91ee655'/>
<id>urn:sha1:a841381cc844776e3561cc1ce7189120a91ee655</id>
<content type='text'>
Design changes should be avoided for now since simple.css cares about
the CSS part of Ceres.
</content>
</entry>
<entry>
<title>view: Remove nested anchor and button elements</title>
<updated>2024-03-10T09:15:24Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-07T18:41:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=be01755f44442c0fa174a2c7fe3dfd39f185920f'/>
<id>urn:sha1:be01755f44442c0fa174a2c7fe3dfd39f185920f</id>
<content type='text'>
There is the need to add buttons to the recipe server which act like a
anchor tag (link). This can be achieved by nesting anchor and button
tag.

The problem is that if the user cycles through the elements of the page
with the 'tab' key such a button is handled as two overlapping elements
instead of one.

This commit solves the issue by using buttons with the attribute
`onclick="window.location.href='&lt;url&gt;';`.
</content>
</entry>
<entry>
<title>view: Rework /recipe page layout</title>
<updated>2024-03-06T20:42:50Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-06T20:40:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=1975f922a7525fc2725808d55a3c7e07849ae93f'/>
<id>urn:sha1:1975f922a7525fc2725808d55a3c7e07849ae93f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>view: Display multiline notes correctly</title>
<updated>2024-03-06T20:42:50Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-06T19:58:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=c48ddf4279ee38a9c06bed38e307ac4fd949d3ec'/>
<id>urn:sha1:c48ddf4279ee38a9c06bed38e307ac4fd949d3ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>view: Make recipe portions, URL and notes optional</title>
<updated>2024-03-06T18:30:24Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-06T18:17:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=f10765778208840e4dd675646041305ad6b17861'/>
<id>urn:sha1:f10765778208840e4dd675646041305ad6b17861</id>
<content type='text'>
An empty string for one of these attributes will lead to a recipe view
page which does not render the paragraph for this item.
</content>
</entry>
<entry>
<title>view: Add recipe create</title>
<updated>2024-03-03T18:22:30Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-03T16:23:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=fa4c7e7af50817bc895f56f3fa25b50b8444407d'/>
<id>urn:sha1:fa4c7e7af50817bc895f56f3fa25b50b8444407d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>view: Add template 'nav'</title>
<updated>2024-03-03T16:12:14Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-03T16:12:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=d35bd7c65d062ca30852c901f6e98a05ceb309d7'/>
<id>urn:sha1:d35bd7c65d062ca30852c901f6e98a05ceb309d7</id>
<content type='text'>
The &lt;nav&gt; section is the same on every page. This new template reduces
code duplication.
</content>
</entry>
<entry>
<title>view: Provide recipe deletion</title>
<updated>2024-03-03T15:44:54Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-03T14:11:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=bee8b4cc59fd24fc1b924a6160b8eaa221405aeb'/>
<id>urn:sha1:bee8b4cc59fd24fc1b924a6160b8eaa221405aeb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>view: Replace edit by view parameter</title>
<updated>2024-03-03T14:05:15Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-03T14:05:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=25fe18973f11d3db61a1ae9ca05f2bd63d3edea9'/>
<id>urn:sha1:25fe18973f11d3db61a1ae9ca05f2bd63d3edea9</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>view: Add doctype to HTML</title>
<updated>2024-02-15T19:15:05Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-02-15T19:14:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=75c594b778c5c6d51883a45da735a67761952470'/>
<id>urn:sha1:75c594b778c5c6d51883a45da735a67761952470</id>
<content type='text'>
</content>
</entry>
<entry>
<title>view: Reference /recipes with home button</title>
<updated>2024-02-15T18:58:08Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-02-15T18:47:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=9c2a9c2000520129ac2377b033eeafce61d07abb'/>
<id>urn:sha1:9c2a9c2000520129ac2377b033eeafce61d07abb</id>
<content type='text'>
The index page / provides a redirect to /recipes but this is inefficient
since two HTTP requests are required.
</content>
</entry>
<entry>
<title>view: Add edit view for model.Recipe type</title>
<updated>2024-02-15T18:58:03Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-02-13T20:16:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=246687318e03fb649c30c4510e264e65b25ec6da'/>
<id>urn:sha1:246687318e03fb649c30c4510e264e65b25ec6da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>view: Implement GET handler for model.Recipe</title>
<updated>2024-02-13T19:26:47Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-02-12T19:33:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=bf0ad86df2e64191f6c430c328fee211ac3affa7'/>
<id>urn:sha1:bf0ad86df2e64191f6c430c328fee211ac3affa7</id>
<content type='text'>
</content>
</entry>
</feed>
