X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/81e9ac241907e0a802122e6787e648ce3bb1b494..f3e9a633a459f24828b85569acda56d1dabbeb67:/data/templates/edit-file.htm diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index ef900ea..f9ed68f 100644 --- a/data/templates/edit-file.htm +++ b/data/templates/edit-file.htm @@ -1,20 +1,45 @@ -
-
-
- - - -
-
- - - -
-
+
+ {% if not file or file.isText %} + {% else %} +

+ Binary files cannot be edited. +

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