30 lines
920 B
HTML
30 lines
920 B
HTML
<!DOCTYPE html>
|
|
{% load static %}
|
|
<html lang="zh">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{{ title }}</title>
|
|
<link rel="stylesheet" type="text/css" href="{% static 'css/polaroid-gallery.css'%}"/>
|
|
<!--[if IE]>
|
|
<script src="http://libs.baidu.com/html5shiv/3.7/html5shiv.min.js"></script>
|
|
<![endif]-->
|
|
</head>
|
|
<body class="fullscreen">
|
|
<div id="gallery" class="fullscreen"></div>
|
|
<div id="nav" class="navbar">
|
|
<button id="preview">< 前一张</button>
|
|
<button id="next">下一张 ></button>
|
|
</div>
|
|
|
|
|
|
<script type="text/javascript" src="{% static 'js/polaroid-gallery.js' %}"></script>
|
|
<script>
|
|
window.onload = function () {
|
|
new polaroidGallery("/photo/data/data.json?name={{ name }}");
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|