X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/9e9f228abdf3f10d369b2699ffef29b59ff2bbf4..add0708f631532b284b11d5507c5efefce36b7c1:/data/templates/display.htm diff --git a/data/templates/display.htm b/data/templates/display.htm index da75cd9..847a8ea 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -8,63 +8,15 @@ {% endblock %} {% block content %} -

{{repo.getDescription}}

-
-
- edit -
-
-

Paste #{{repo.id}}

-
-
-
- -
-
-
- -{% if repo.getCloneURL(true) or repo.getCloneURL(false) %} -
- {% if repo.getCloneURL(true) %} -
-
Public clone URL
- -
- {% endif %} - {% if repo.getCloneURL(false) %} -
-
Private clone URL
- -
- {% endif %} -
-{% endif %} + {% include 'display-head.htm' %} {% for file in repo.getFiles %} -
-
- raw -

{{file.getFilename}}

-
-
- {{file.getHighlightedContent|raw}} -
-
+ {% include 'display-file.htm' %} {% endfor %} -
-
- - Delete - -
-
+ {% include 'display-foot.htm' %} {% endblock %} {% block sidebar %} -sidebar FIXME + {% include 'display-sidebar-history.htm' %} {% endblock %}