Add preview ability to dir page.
authorW. Trevor King <wking@drexel.edu>
Tue, 20 Jul 2010 16:46:29 +0000 (12:46 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 20 Jul 2010 16:48:17 +0000 (12:48 -0400)
commitf990ae9554e1207ffe208a364987594d574d6d58
tree95dad4cd86f7416a17b2a5884089d257b35b94e1
parentd8f1a928d380408e0506cf9f5cf0fcf7e613638f
Add preview ability to dir page.

Currently justs stuffs the file into an iframe and leaves it up to the
browser to handle it.  However, the iframe is constructed in
  dirtag.web.WebInterface._preview
so you can construct mime-type dependent preview holders if you want.

I changed b1.html -> b1.svg to demonstrate the ability to preview
images, etc.
README
dirtag/__init__.py
dirtag/web.py
template/dir.html
template/file.html
test/raw/b/b1.html [deleted file]
test/raw/b/b1.svg [new file with mode: 0644]
test/tag/1/b1.html [deleted symlink]
test/tag/1/b1.svg [new symlink]
test/tag/x/y/b1.html [deleted symlink]
test/tag/x/y/b1.svg [new symlink]