##// END OF EJS Templates
Integrated image previews into the templates. Removed fancybox.
neko259 -
r242:2dc7d85c default
parent child Browse files
Show More
@@ -1,19 +1,11 b''
1 1 $( document ).ready(function() {
2 2 $("a[href='#top']").click(function() {
3 3 $("html, body").animate({ scrollTop: 0 }, "slow");
4 4 return false;
5 5 });
6 6
7 $(".fancy").fancybox({
8 closeBtn: false,
9 closeClick: true,
10 padding: 0,
11 openEffect: 'none',
12 closeEffect: 'none'
13 });
14
15 7 addImgPreview();
16 8 addRefLinkMap();
17 9 addPopups();
18 10 addMarkPanel();
19 11 });
@@ -1,58 +1,56 b''
1 1 {% load staticfiles %}
2 2 {% load i18n %}
3 3
4 4 <!DOCTYPE html>
5 5 <html>
6 6 <head>
7 7 <link rel="stylesheet" type="text/css"
8 href="{{ STATIC_URL }}css/jquery.fancybox.css" media="all"/>
9 <link rel="stylesheet" type="text/css"
10 8 href="{{ STATIC_URL }}css/base.css" media="all"/>
11 9 <link rel="stylesheet" type="text/css"
12 10 href="{{ STATIC_URL }}css/{{ theme }}/base_page.css?5" media="all"/>
13 11 <link rel="alternate" type="application/rss+xml" href="rss/" title="
14 12 {% trans 'Feed' %}"/>
15 13
16 14 <link rel="icon" type="image/png"
17 15 href="{{ STATIC_URL }}favicon.png">
18 16
19 17 <meta name="viewport" content="width=device-width, initial-scale=1"/>
20 18 <meta charset="utf-8"/>
21 19 {% block head %}{% endblock %}
22 20 </head>
23 21 <body>
24 22 <script src="{{ STATIC_URL }}js/jquery-2.0.1.min.js"></script>
25 23 <script src="{{ STATIC_URL }}js/jquery-ui-1.10.3.custom.min.js"></script>
26 24 <script src="{{ STATIC_URL }}js/jquery.mousewheel.js"></script>
27 <script src="{{ STATIC_URL }}js/jquery.fancybox.pack.js"></script>
28 25 <script src="{% url 'django.views.i18n.javascript_catalog' %}"></script>
29 26 <script src="{{ STATIC_URL }}js/refmaps.js"></script>
30 27 <script src="{{ STATIC_URL }}js/panel.js"></script>
31 28 <script src="{{ STATIC_URL }}js/popup.js"></script>
29 <script src="{{ STATIC_URL }}js/image.js"></script>
32 30 <script src="{{ STATIC_URL }}js/main.js"></script>
33 31
34 32 <div class="navigation_panel">
35 33 <a class="link" href="{% url 'index' %}">{% trans "All threads" %}</a>
36 34 {% for tag in tags %}
37 35 <a class="tag" href="{% url 'tag' tag_name=tag.name %}"
38 36 >{{ tag.name }}</a>
39 37 {% endfor %}
40 38 <a class="tag" href="{% url 'tags' %}" title="{% trans 'Tag management' %}"
41 39 >[...]</a>
42 40 <a class="link" href="{% url 'settings' %}">{% trans 'Settings' %}</a>
43 41 </div>
44 42
45 43 {% block content %}{% endblock %}
46 44
47 45 <div class="navigation_panel">
48 46 {% block metapanel %}{% endblock %}
49 47 [<a href="{% url "login" %}">{% trans 'Login' %}</a>]
50 48 <a class="link" href="#top">{% trans 'Up' %}</a>
51 49 </div>
52 50
53 51 <div class="footer">
54 52 <!-- Put your banners here -->
55 53 </div>
56 54
57 55 </body>
58 56 </html>
General Comments 0
You need to be logged in to leave comments. Login now