Commit graph

21 commits

Author SHA1 Message Date
Magnus Hoff
a6e329faf0 Simplify "Discard changes?" dialog 2017-12-02 11:06:20 +01:00
Magnus Hoff
bc0f8b8046 Restyle and refactor popup dialogs 2017-12-02 11:01:24 +01:00
Magnus Hoff
259c884045 Refactor popups a little 2017-12-01 16:52:39 +01:00
Magnus Hoff
ebef585c9c Replace use of confirm(), for #47 2017-12-01 16:44:07 +01:00
Magnus Hoff
35d13308b9 Replace use of alert(), for #47 2017-12-01 16:37:41 +01:00
Magnus Hoff
578d525e25 Better styling of popup dialog 2017-12-01 16:22:36 +01:00
Magnus Hoff
74d2c18943 Use heuristic to guess that we hit a login redirect on saving 2017-11-29 12:53:41 +01:00
Magnus Hoff
2e406f4480 Handle authorization problems when saving article with JS 2017-11-24 17:26:46 +01:00
Magnus Hoff
07c3f4204f Always update body text when editing, it could be changed server-side due to merging 2017-11-21 09:57:59 +01:00
Magnus Hoff
a09aa4b601 Expose merge conflicts in the JavaScript editor. This fixes #23 2017-11-20 16:37:52 +01:00
Magnus Hoff
3ca84dbb4e Attempt to stop navigation when there is an edit in progress. This fixes #16 2017-10-28 15:26:50 +02:00
Magnus Hoff
6d56ad0001 Ask user for confirmation when they abandon an edit in progress. This fixes #17 2017-10-28 15:21:47 +02:00
Magnus Hoff
27ba110ad6 Fix regression 2017-10-24 15:16:01 +02:00
Magnus Hoff
700cf42eb0 Improve footer when article does not exist 2017-10-19 13:39:03 +02:00
Magnus Hoff
904bfd2a0b Restructure footer.
Less irrelevant information. Refactor rendering of "last updated"
2017-10-19 13:26:54 +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
f205de053a Allow edit requests to include credentials 2017-09-26 13:39:44 +02:00
Magnus Hoff
cf123f40eb Fixes for Chrome 2017-09-21 12:18:09 +02:00
Magnus Hoff
cd784e34c3 Bugletfixes 2017-09-21 12:11:08 +02:00
Magnus Hoff
3feed530ff Implement support for editing page title 2017-09-21 10:09:57 +02:00
Magnus Hoff
53c4ff1b5c Extract CSS and JS from templates and serve as static assets 2017-09-15 14:54:47 +02:00