X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/92e1c7e56d18e038deef14c9e39f90d6125b5576..0290cb4779bf410da5561151c50b96e5e48ea7bb:/data/templates/edit-file.htm diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index 0defb38..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 %} +
+
+