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

+ Binary files cannot be edited. +

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