X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/cdc99846c94bacdd7a2a0681d77bac3de45c4f2a..76aa2ab76d8f2305db7a2bb7cdbe461cca0146a3:/data/templates/edit-file.htm diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index b0a4848..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 %} +
+
+