summaryrefslogtreecommitdiff
path: root/model/recipe.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-03-07 19:41:20 +0100
committerxengineering <me@xengineering.eu>2024-03-10 10:15:24 +0100
commitbe01755f44442c0fa174a2c7fe3dfd39f185920f (patch)
tree64ebf3804581472110d76d615aaa49fa36dce45a /model/recipe.go
parent1975f922a7525fc2725808d55a3c7e07849ae93f (diff)
downloadceres-be01755f44442c0fa174a2c7fe3dfd39f185920f.tar
ceres-be01755f44442c0fa174a2c7fe3dfd39f185920f.tar.zst
ceres-be01755f44442c0fa174a2c7fe3dfd39f185920f.zip
view: Remove nested anchor and button elements
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='<url>';`.
Diffstat (limited to 'model/recipe.go')
0 files changed, 0 insertions, 0 deletions