X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/c0550b6ba0b9a676d090986ae566243d29895747..66170c339bbcd8b87e23c47daa11359a99e0d02d:/data/templates/edit.htm diff --git a/data/templates/edit.htm b/data/templates/edit.htm index 45650b6..401ed00 100644 --- a/data/templates/edit.htm +++ b/data/templates/edit.htm @@ -1,30 +1,51 @@ {% 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} %} + {% 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 %}