forked from Theresa/cups-webring
Add alt text to embed
This commit is contained in:
parent
542a2ce25c
commit
ae03c8a3bd
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ app:get("/embed", function(self)
|
||||||
if from == nil then
|
if from == nil then
|
||||||
return {"cups webring embed needs from defined (.../embed?from=me)"}
|
return {"cups webring embed needs from defined (.../embed?from=me)"}
|
||||||
end
|
end
|
||||||
return string.format('<div style="display:flex; flex-direction:row; align-items:center;"><a href="%s/prev?from=%s" target="_parent"><img src="%s/static/arrow_left.svg" width=50 height=50/></a><a href="%s" target="_parent"><img src="%s/static/logo_cut.svg" width=200 height=100/></a><a href="%s/next?from=%s" target="_parent"><img src="%s/static/arrow_right.svg" width=50 height=50/></a></div>', config.host, from, config.host, config.host, config.host, config.host, from, config.host), {layout = false, content_type="text/html"}
|
return string.format('<div style="display:flex; flex-direction:row; align-items:center;"><a href="%s/prev?from=%s" target="_parent"><img alt="Previous" src="%s/static/arrow_left.svg" width=50 height=50/></a><a href="%s" target="_parent"><img alt="CUPS" src="%s/static/logo_cut.svg" width=200 height=100/></a><a href="%s/next?from=%s" target="_parent"><img alt="Next" src="%s/static/arrow_right.svg" width=50 height=50/></a></div>', config.host, from, config.host, config.host, config.host, config.host, from, config.host), {layout = false, content_type="text/html"}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
app:get("/random", function(self)
|
app:get("/random", function(self)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue