Commit graph

31 commits

Author SHA1 Message Date
Magnus Hoff
b5bcd66011 Introduce base href 2017-10-13 16:05:22 +02:00
Magnus Hoff
f2de8111c9 Structure template folder
Move errors to their own folder
2017-10-13 15:36:22 +02:00
Magnus Hoff
3715f9de64 Flesh out error pages a little bit 2017-10-13 15:27:35 +02:00
Magnus Hoff
8e58647e45 Structure template folder 2017-10-13 15:25:44 +02:00
Magnus Hoff
5c161ed13e Refactor footer.
Add link to home page, this fixes #9.

Add links to _changes and _sitemap
2017-10-13 15:14:12 +02:00
Magnus Hoff
2cb80e2bac Add sitemap. This fixes #3 2017-10-13 15:06:16 +02:00
Magnus Hoff
5f93f3d744 Better fix for broken editor styling 2017-10-13 14:46:54 +02:00
Magnus Hoff
1aeba7b2e3 Simplify _changes list 2017-10-03 22:31:27 +02:00
Magnus Hoff
f22ffc112a Add basic /_changes page 2017-10-03 10:37:18 +02:00
Magnus Hoff
cdcdf8e72f Refactor server-side initiated edit mode.
Implement support for opening articles for editing without javascript
2017-10-02 21:30:31 +02:00
Magnus Hoff
413675e152 Add link to /_new in footer 2017-10-02 17:17:40 +02:00
Magnus Hoff
1d485798eb Implement /_new, for creating new articles without making up a URL first 2017-10-02 17:08:59 +02:00
Magnus Hoff
17e1186fc8 Tweak styling. Add link to Sausagewiki repo 2017-10-01 22:15:34 +02:00
Magnus Hoff
cd784e34c3 Bugletfixes 2017-09-21 12:11:08 +02:00
Magnus Hoff
0a3cb53a66 Add NewArticleResource
Serve placeholder page for non-existing articles.
Redirect user-generated slugs to canonical slugs.
2017-09-21 10:58:54 +02:00
Magnus Hoff
3feed530ff Implement support for editing page title 2017-09-21 10:09:57 +02:00
Magnus Hoff
53bc5b2df1 Add missing autocomplete=off to prevent Firefox from messing things up completely 2017-09-20 11:54:47 +02:00
Magnus Hoff
51fe78abce Serve header font 2017-09-15 15:03:00 +02:00
Magnus Hoff
53c4ff1b5c Extract CSS and JS from templates and serve as static assets 2017-09-15 14:54:47 +02:00
Magnus Hoff
963085ab9a Styling of blockquote 2017-09-13 15:08:05 +02:00
Magnus Hoff
64737b44e5 Tweaks 2017-09-06 23:22:34 +02:00
Magnus Hoff
144041a3a7 Implement cancel-action 2017-09-06 11:07:01 +02:00
Magnus Hoff
1a5b39b3a1 Implement editing 2017-09-05 17:07:57 +02:00
Magnus Hoff
7946a6f321 Tweaks.
Use urlencoded data for sending to server.

Improve outlook for progressive enhancement.

Add Cancel-link
2017-09-05 11:41:37 +02:00
Magnus Hoff
0bc4c69579 Keep textarea automatically sized to fit its contents 2017-09-04 13:47:12 +02:00
Magnus Hoff
2177cd7504 Start implementing editor 2017-09-02 15:32:59 +02:00
Magnus Hoff
405b203bc7 Some layout and styling 2017-09-02 15:26:28 +02:00
Johannes Hoff
e997c0f952 Read articles from the actual DB 2017-08-20 23:44:52 +02:00
Magnus Hoff
d9c3bf1191 Templates for error messages 2017-08-20 22:39:52 +02:00
Magnus Hoff
4a37a91ece Split layout out from rendering responses 2017-08-20 22:34:26 +02:00
Magnus Hoff
35e7bad7d2 Simple rendering of stubbed article 2017-08-20 22:17:16 +02:00