Frontend: Reimplement page editing

Signed-off-by: Jerome Flesch <jflesch@gmail.com>