From 56f455c280061a519cb7aa0ed7a039efb108f2bf Mon Sep 17 00:00:00 2001 From: Matthias Seidl Date: Thu, 26 Nov 2020 15:16:12 +0100 Subject: [PATCH] editor is now a codemirror instance and syntax highlighted --- templates/edit.html | 28 +++++++++++++++++++++++++--- templates/layout.html | 3 ++- 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/templates/edit.html b/templates/edit.html index 8c33335..a24be35 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -1,12 +1,33 @@ {% extends "layout.html" %} +{% block header_addition %} + + + + + +{% endblock %} {% block content %}
-
+
+ +
+
@@ -26,4 +47,5 @@
+ {% endblock %} diff --git a/templates/layout.html b/templates/layout.html index 30ff8d9..32c38e1 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -4,10 +4,11 @@ {% block head %} - + + {% block title %}{% endblock %} {% endblock %}