diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-03-25 21:08:29 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-03-25 21:08:29 +0200 |
| commit | 6d0777840e50ce98f3d96629b4e92bbdccd3001c (patch) | |
| tree | 161a753bf54b4fec0c4357b16dc68ff838e20383 /data/templates/display.htm | |
| parent | 568bf6f9a487a3dc33ce52e45cd31cfbea2cb79e (diff) | |
| download | phorkie-6d0777840e50ce98f3d96629b4e92bbdccd3001c.tar.gz phorkie-6d0777840e50ce98f3d96629b4e92bbdccd3001c.zip | |
first code that allows you to create pastes and view them
Diffstat (limited to 'data/templates/display.htm')
| -rw-r--r-- | data/templates/display.htm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/data/templates/display.htm b/data/templates/display.htm new file mode 100644 index 0000000..1f33b61 --- /dev/null +++ b/data/templates/display.htm @@ -0,0 +1,16 @@ +{% extends "base.htm" %} +{% block title %}{{description}}{% endblock %} + +{% block content %} +<h1>{{description}}</h1> +<p><a href="{{links.edit}}">edit</a></p> +{% for file in files %} +<div> + <h2>{{file.filename}}</h2> + <p> + <a href="{{file.raw}}">raw</a> + </p> + <pre>{{file.content}}</pre> +</div> +{% endfor %} +{% endblock %} |
