summaryrefslogtreecommitdiff
path: root/examples/filebrowser/templates/view_image.pt
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-07-06 09:08:10 +0000
committerianb <devnull@localhost>2005-07-06 09:08:10 +0000
commit87f4f3dfd4f99c0150abcbdf27b88eb59c1e88e0 (patch)
tree38f7aa80426622b3317463fbf453c639b17ac102 /examples/filebrowser/templates/view_image.pt
parent46217776dca22bfaa3c6ef083743fa36db99db35 (diff)
downloadpaste-87f4f3dfd4f99c0150abcbdf27b88eb59c1e88e0.tar.gz
Seperated out file types into more classes, with more delegation to the class; added templates for particular views
Diffstat (limited to 'examples/filebrowser/templates/view_image.pt')
-rw-r--r--examples/filebrowser/templates/view_image.pt6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/filebrowser/templates/view_image.pt b/examples/filebrowser/templates/view_image.pt
new file mode 100644
index 0000000..193be66
--- /dev/null
+++ b/examples/filebrowser/templates/view_image.pt
@@ -0,0 +1,6 @@
+<html metal:use-macro="here/view_file.pt/macros/view">
+<metal:slot fill-slot="view_inline">
+<img tal:attributes="src servlet/pathurl/action=download">
+</metal:slot>
+</html>
+