From 7df19e377f203b69a79e8bf62fe81b1187d90768 Mon Sep 17 00:00:00 2001 From: Rico Hoppe Date: Sun, 15 Oct 2023 14:26:14 +0000 Subject: [PATCH] docs/edit: restyled the page --- src/templates/docs/edit.html | 122 ++++++++++++++++++++++++++--------- 1 file changed, 92 insertions(+), 30 deletions(-) diff --git a/src/templates/docs/edit.html b/src/templates/docs/edit.html index 5717c0f6..3f1f3404 100644 --- a/src/templates/docs/edit.html +++ b/src/templates/docs/edit.html @@ -5,9 +5,9 @@ {% block main %} {% import os.path %} -
-
-

+
+
+

{% if page %}{{ _("Edit %s") % page.title }}{% else %}{{ _("Create A New Page") }}{% end %}

@@ -15,7 +15,7 @@ {% raw xsrf_form_html() %}
- -
- -
- +
+ +
+
{% if page and not page.is_watched_by(current_user) %} -
-
- - +
+
+ + +
- {{ _("Get notified when this page is changed") }} + {{_("Get notified when this page is changed") }}
{% end %} -
-
-
+
-
-
-

{{ _("Preview") }}

- -
+
+
+
+

{{ _("Preview") }}

+ +
-
-
-
- {{ _("Loading...") }} +
+
+
+ {{ _("Loading...") }} +
-
+
{% end block %} {% block javascript %} -- 2.47.2