From 282e5e5e4487f941d15f8b0c7e0883f59382aae9 Mon Sep 17 00:00:00 2001 From: yangjian Date: Sat, 17 Apr 2021 20:26:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dvditor=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=99=A8=E6=96=87=E6=A1=A3=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/app_doc/doc.html | 2 ++ template/app_doc/docs_base.html | 20 +++++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/template/app_doc/doc.html b/template/app_doc/doc.html index 0f68a08..b5869ab 100644 --- a/template/app_doc/doc.html +++ b/template/app_doc/doc.html @@ -43,6 +43,8 @@ {% block page_content %} {% if doc.editor_mode == 3 %} {{ doc.content | safe }} + {% elif doc.editor_mode == 2 %} + {% elif doc.editor_mode == 4 %}
diff --git a/template/app_doc/docs_base.html b/template/app_doc/docs_base.html index d11714c..b1ac2f9 100644 --- a/template/app_doc/docs_base.html +++ b/template/app_doc/docs_base.html @@ -16,15 +16,17 @@ {% block title %}{% endblock %} - {% if site_name != None and site_name != '' %}{{site_name}} {% else %}{% trans "站点标题" %}{% endif %} {% if doc.editor_mode != 4 %} - - {% elif doc.editor_mode == 2 %} - - {% elif doc.editor_mode == 4 %} - - - - - + + {% endif %} + {% if doc.editor_mode == 2 %} + + {% endif %} + {% if doc.editor_mode == 4 %} + + + + + {% endif %}