X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/cceda6a059b90c8e7e1319529f3fe686b16dfcf3..66170c339bbcd8b87e23c47daa11359a99e0d02d:/data/templates/edit.htm diff --git a/data/templates/edit.htm b/data/templates/edit.htm index a365841..401ed00 100644 --- a/data/templates/edit.htm +++ b/data/templates/edit.htm @@ -1,32 +1,42 @@ {% extends "base.htm" %} {% block title %}Edit paste{% endblock %} +{% block meta %} + +{% endblock %} + {% block content %} -
-
- +
+ +
+ +
+
{% for fileid, file in repo.getFiles %} - {% include 'edit-file.htm' with {'file': file, 'fileid': fileid, 'newfile': false} %} + {% if not singlefile or file == singlefile %} + {% include 'edit-file.htm' with {'file': file, 'fileid': fileid, 'newfile': false} %} + {% endif %} {% endfor %} {% include 'edit-add.htm' %} -
-
-
+
+ -
+
+ {% include 'edit-add-button.htm' %} +
+
-
{% endblock %} + +{% block sidebar %} + {% include 'display-sidebar-history.htm' %} +{% endblock %}