diff options
Diffstat (limited to 'creactiweb/_templates/templates/+package+/gallery.html')
-rw-r--r-- | creactiweb/_templates/templates/+package+/gallery.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/creactiweb/_templates/templates/+package+/gallery.html b/creactiweb/_templates/templates/+package+/gallery.html new file mode 100644 index 0000000..cd8e726 --- /dev/null +++ b/creactiweb/_templates/templates/+package+/gallery.html @@ -0,0 +1,28 @@ +{% extends "layout.html" %} +{% block head %} + <!-- js import --> + <script type="text/javascript" src="/static/js/jquery.lightbox-0.5.min.js"></script> + <!-- stylesheet import --> + <link rel="stylesheet" type="text/css" href="/static/css/jquery.lightbox-0.5.css" media="screen" /> +{% endblock %} +{% block content %} + <h1>{{ title }}</h1> + <div id="gallery"> + <ul> + {% for _i, _img in images %} + <li> + <a href="{{ _img }}" title="Image {{ _i }}"> + <img src="{{ _img }}" width="72" height="72" alt="" /> + </a> + </li> + {% endfor %} + </ul> + <script type="text/javascript"> + <!-- + $(function() { + $('#gallery a').lightBox(); + }); + --> + </script> + </div> +{% endblock %} |