X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/81e9ac241907e0a802122e6787e648ce3bb1b494..3f5216d836005f94da0d2dbe8f2cf520fb9f20a0:/data/templates/edit.htm diff --git a/data/templates/edit.htm b/data/templates/edit.htm index 6c1899f..542bb34 100644 --- a/data/templates/edit.htm +++ b/data/templates/edit.htm @@ -1,55 +1,49 @@ {% 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 %}