X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/cdc99846c94bacdd7a2a0681d77bac3de45c4f2a..8b86653c2471e04429ae9fec19dc33fcb5e5c059:/data/templates/edit-file.htm diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index b0a4848..58ba742 100644 --- a/data/templates/edit-file.htm +++ b/data/templates/edit-file.htm @@ -1,31 +1,45 @@ -
-
-
- - - -
-
- - - -
-
+
+ {% if not file or file.isText %} -
-
-   - -
-
- - + {% else %} +

+ Binary files cannot be edited. +

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