X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/88909f2355e6e53eec67a990c877cb64653cded4..5cec779b275b1bf231accf43581f16d215cb7444:/data/templates/edit-file.htm diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index 8203920..5900086 100644 --- a/data/templates/edit-file.htm +++ b/data/templates/edit-file.htm @@ -1,20 +1,46 @@ -
-
-
- - - -
-
- - - -
-
+
+ {% if not file or file.isText %} + {% else %} +

+ Binary files cannot be edited. +

+ {% endif %} +
+
+ +
+
+
+
+ + +
+
+ + +
+ +
+
+
+ + +
+ {% if not newfile %} +
+ + +
+ {% endif %} +
+
+