X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/ffaeeb9fccfe11fa749d688c9e3d738223c6ea08..29035e26e880fcbc3027d5b6bd283959cb869534:/data/templates/edit-file.htm diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index fdba0b8..b84b42b 100644 --- a/data/templates/edit-file.htm +++ b/data/templates/edit-file.htm @@ -1,31 +1,46 @@
-
-
- - -
-
- - -
-
+ {% if not file or file.isText %} + {% else %} +

+ Binary files cannot be edited. +

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