summaryrefslogtreecommitdiff
path: root/blueprints
diff options
context:
space:
mode:
authorbie <bie@blekksprut.net>2017-08-04 07:05:12 +0000
committerbie <bie@blekksprut.net>2017-08-04 07:05:12 +0000
commit23b87b2cf914115bfdd7dea7fbea31588964cd79 (patch)
tree2b378e5b0b61635c771359fc81c74735c85b7b07 /blueprints
parent8171e8677431b360c83e69d383e367386e132f32 (diff)
parente1e6b653051119212c4c951096204160f3514f83 (diff)
downloadtears-23b87b2cf914115bfdd7dea7fbea31588964cd79.tar.xz
Diffstat (limited to 'blueprints')
-rw-r--r--blueprints/anmeldelse.lua6
-rw-r--r--blueprints/artikkel.lua4
2 files changed, 6 insertions, 4 deletions
diff --git a/blueprints/anmeldelse.lua b/blueprints/anmeldelse.lua
index 6df45d7..9f63745 100644
--- a/blueprints/anmeldelse.lua
+++ b/blueprints/anmeldelse.lua
@@ -48,10 +48,10 @@ function artikkel.html(body, data)
if data.portrait then
html.print("<img class='headshot' src='%s'>", data.portrait)
end
- html.print("</aside>")
+ html.dl(data.info)
html.print("<section class=body>")
- html.marxup(data.lead or "")
+ html.print("<p><b>" .. data.lead .. "</b>")
html.marxup(body)
html.print("</section>")
@@ -70,7 +70,7 @@ function artikkel.form(body, data)
html.label{text="Inline-bilde:"}
html.orz{inline = true}
- html.p{}
+ html.print("<p id=lol>")
html.textarea{name='lead', value=data.lead, rows=3}
html.p{}
diff --git a/blueprints/artikkel.lua b/blueprints/artikkel.lua
index 506c701..a4c6de7 100644
--- a/blueprints/artikkel.lua
+++ b/blueprints/artikkel.lua
@@ -19,7 +19,7 @@ function artikkel.html(body, data)
end
html.print("<p class=figure>")
- html.img(data.image)
+ html.img{src = data.image}
html.h2(data.title)
@@ -56,6 +56,8 @@ function artikkel.form(body, data)
html.label{text="Bilde:"}
html.orz{name = "image", value = data.image}
html.p{}
+ html.orz{inline = true}
+ html.print("<p id=lol>")
html.textarea{name='lead', value=data.lead, rows=3}
html.p{}
html.textarea{name='text', value=body}