X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/92e1c7e56d18e038deef14c9e39f90d6125b5576..4dc235ae9ebc5126b93a176bd76b42683946da38:/data/templates/edit-file.htm?ds=sidebyside diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index 0defb38..85633fa 100644 --- a/data/templates/edit-file.htm +++ b/data/templates/edit-file.htm @@ -1,31 +1,46 @@ -
-
-
- - -
-
- - -
-
+
+ {% if not file or file.isText %} -
-
-   - -
- {% if not newfile %} -
- - + {% else %} +

+ Binary files cannot be edited. +

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