X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/b37a4932bbdba191868810ab9a5d648a1b197889..9cd731256b243511a3a1a1fcec76a1d5f27eb6d3:/data/templates/edit-file.htm diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index 40356ec..85633fa 100644 --- a/data/templates/edit-file.htm +++ b/data/templates/edit-file.htm @@ -1,34 +1,46 @@ -
-
-
- - -
-
- - -
- -
+
+ {% if not file or file.isText %} -
-
-   - -
- {% if not newfile %} -
- - + {% else %} +

+ Binary files cannot be edited. +

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