Vincent Ambo
d90dc2d77f
fix(templates): Fix layout of user info on desktop view
2018-05-22 10:37:31 +02:00
Vincent Ambo
fb9ea437e9
feat(templates): Add new thread view with MDL design
2018-05-22 09:45:11 +02:00
Vincent Ambo
cda66c4cd3
feat(templates): Add syntax highlighting for code via highlight.js
...
Includes a static distribution of highlight.js for syntax
highlighting. A sane set of languages has been chosen.
2018-05-19 00:52:21 +02:00
Vincent Ambo
1427220f9d
style(thread): Fix padding on thread view
...
Removing this padding lets the author column render evenly sized.
2018-04-16 20:17:15 +02:00
Vincent Ambo
37331d9107
fix(thread): Load Gravatar images at larger size
...
This makes them look nicer in 2x situations (e.g. retina displays) and
when a user zooms in.
2018-04-16 16:48:42 +02:00
Vincent Ambo
9bc5bbff54
fix(templates): Fix alignment of columns in thread view
...
The author column is maybe slightly too large now, but that can be
sorted out later.
2018-04-16 13:33:47 +02:00
Vincent Ambo
9c2359c8c9
fix(templates): Fix double-escaping of thread titles
2018-04-16 11:03:15 +02:00
Vincent Ambo
a5f2677785
fix(templates): Add some pleasing spacing to thread layout
2018-04-16 02:56:55 +02:00
Vincent Ambo
72f6fa65fd
fix(templates): Mark pre-escaped variables as 'safe'
2018-04-16 00:25:29 +02:00
Vincent Ambo
705097dab9
feat(handlers/render): Display edit form for user's own posts
...
Displays an edit form for posts that are owned by a user (which is
currently defined as "email addresses match").
2018-04-15 23:09:44 +02:00
Vincent Ambo
ec712cc4c0
refactor(templates/render): Add generic post editing template
...
Adds a generic template that can be used for submitting, responding to
and editing posts.
2018-04-15 21:13:20 +02:00
Vincent Ambo
ee4b690d22
refactor(templates): Restyle thread view using flex layout
2018-04-15 12:38:33 +02:00
Vincent Ambo
529da884da
fix(templates): Fluidly scale all images
2018-04-14 18:12:24 +02:00
Vincent Ambo
324778c7e0
fix(templates): Set CSPs on templates
2018-04-14 17:59:52 +02:00
Vincent Ambo
e7a54a5aff
feat(handler): Perform basic input validation on new thread view
2018-04-12 01:07:25 +02:00
Vincent Ambo
918c2726b4
fix(templates/handlers): Fix post anchors
...
- ensure users are correctly linked to a post actor after replying
- ensure timestamps are clickable to get post IDs
2018-04-11 16:35:40 +02:00
Vincent Ambo
87237f5c28
feat(render): Implement Markdown thread rendering & Gravatar
...
Implements a new thread rendering pipeline which all posts and the
main thread body are first converted to a `RenderablePost` structure.
During the conversion to this structure, the post body is rendered as
Markdown and the author's email address is converted into the format
required by Gravatar.
2018-04-11 13:25:12 +02:00
Vincent Ambo
97d77ffd07
fix(templates): Fix author name & avatar display
2018-04-09 23:48:31 +02:00
Vincent Ambo
fb7df7a346
feat(templates): Slightly less barebones index & thread templates
2018-04-09 23:37:21 +02:00
Vincent Ambo
e761b2d295
feat(templates): Display author information in templates
2018-04-08 22:38:06 +02:00
Vincent Ambo
ef5f7af89c
feat(templates): Add shitty little response form in thread view
2018-04-08 20:20:17 +02:00
Vincent Ambo
6e56f8e729
feat(main/templates): Add barebones single-thread view
2018-04-08 18:02:01 +02:00