X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/81e9ac241907e0a802122e6787e648ce3bb1b494..823e1f88e81566da882920c4cfc9459350fd80a8:/data/templates/edit.htm diff --git a/data/templates/edit.htm b/data/templates/edit.htm index 6c1899f..db1f3f5 100644 --- a/data/templates/edit.htm +++ b/data/templates/edit.htm @@ -1,55 +1,48 @@ {% 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} %} + {% include 'edit-file.htm' with {'file': file, 'fileid': fileid, 'newfile': false} %} {% endfor %} + {% include 'edit-add.htm' %} - - - {% include 'edit-file.htm' with {'file': '', 'fileid': 'new'} %} - - -
-
-
+
+ -
+
+ {% include 'edit-add-button.htm' %} +
+
-
{% endblock %} + +{% block sidebar %} + {% include 'display-sidebar-history.htm' %} +{% endblock %}