From c9ba238cad3cbfe12e1c0be9e36e1526b759e055 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 17 Jul 2011 16:04:32 +0200 Subject: Added an image section with thumbnails of all uploaded image files. --- templates/__init__.py | 1 + templates/base.tmpl | 1 + templates/images.tmpl | 14 ++++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 templates/images.tmpl (limited to 'templates') diff --git a/templates/__init__.py b/templates/__init__.py index b8f3f17..3f11c65 100644 --- a/templates/__init__.py +++ b/templates/__init__.py @@ -3,4 +3,5 @@ from uploaded import uploaded from help import help from login import login from my import my +from images import images from register import register diff --git a/templates/base.tmpl b/templates/base.tmpl index aca2011..307aaec 100644 --- a/templates/base.tmpl +++ b/templates/base.tmpl @@ -18,6 +18,7 @@ #if $user
  • logout
  • myfiles
  • +
  • images
  • #else
  • login
  • register
  • diff --git a/templates/images.tmpl b/templates/images.tmpl new file mode 100644 index 0000000..34c8e78 --- /dev/null +++ b/templates/images.tmpl @@ -0,0 +1,14 @@ +#def title: images +#def header: images +#extends templates.base +#def content +

    Your uploaded images:

    + +#end def -- cgit v1.2.3