blob: cd8e7263e58e28efb1a74b930d4e21c1f4bd1bbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 %}
|