##// END OF EJS Templates
Load some external JS libraries after content
neko259 -
r1407:d8cc903f default
parent child Browse files
Show More
@@ -1,85 +1,87 b''
1 1 {% load staticfiles %}
2 2 {% load i18n %}
3 3 {% load l10n %}
4 4 {% load static from staticfiles %}
5 5
6 6 <!DOCTYPE html>
7 7 <html>
8 8 <head>
9 9 <link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}" media="all"/>
10 10 <link rel="stylesheet" type="text/css" href="{% static 'css/3party/highlight.css' %}" media="all"/>
11 11 <link rel="stylesheet" type="text/css" href="{% static 'css/3party/jquery-ui.min.css' %}" media="all"/>
12 12 <link rel="stylesheet" type="text/css" href="{% static theme_css %}" media="all"/>
13 13
14 14 {% if rss_url %}
15 15 <link rel="alternate" type="application/rss+xml" href="{{ rss_url }}" title="{% trans 'Feed' %}"/>
16 16 {% endif %}
17 17
18 18 <link rel="icon" type="image/png"
19 19 href="{% static 'favicon.png' %}">
20 20
21 21 <meta name="viewport" content="width=device-width, initial-scale=1"/>
22 22 <meta charset="utf-8"/>
23 23
24 24 {% block head %}{% endblock %}
25 25 </head>
26 26 <body data-image-viewer="{{ image_viewer }}">
27 27 <script src="{% static 'js/jquery-2.0.1.min.js' %}"></script>
28 <script src="{% static 'js/3party/jquery-ui.min.js' %}"></script>
29 <script src="{% static 'js/jquery.mousewheel.js' %}"></script>
30 <script src="{% url 'js_info_dict' %}"></script>
31 28
32 29 <div class="navigation_panel header">
33 30 <a class="link" href="{% url 'index' %}">{% trans "All threads" %}</a>
34 31 {% if tags_str %}
35 32 {% autoescape off %}
36 33 {{ tags_str }},
37 34 {% endautoescape %}
38 35 {% else %}
39 36 {% trans 'Add tags' %} β†’
40 37 {% endif %}
41 38 <a href="{% url 'tags' 'required'%}" title="{% trans 'Tag management' %}">{% trans "tags" %}</a>,
42 39 <a href="{% url 'search' %}" title="{% trans 'Search' %}">{% trans 'search' %}</a>,
43 40 <a href="{% url 'feed' %}" title="{% trans 'Feed' %}">{% trans 'feed' %}</a>,
44 41 <a href="{% url 'random' %}" title="{% trans 'Random images' %}">{% trans 'random' %}</a>{% if has_fav_threads %},
45 42
46 43 <a href="#" id="fav-panel-btn">{% trans 'favorites' %} <span id="new-fav-post-count"></span></a>
47 44 {% endif %}
48 45
49 46 {% if username %}
50 47 <a class="right-link link" href="{% url 'notifications' username %}" title="{% trans 'Notifications' %}">
51 48 {% trans 'Notifications' %}
52 49 {% ifnotequal new_notifications_count 0 %}
53 50 (<b>{{ new_notifications_count }}</b>)
54 51 {% endifnotequal %}
55 52 </a>
56 53 {% endif %}
57 54
58 55 <a class="right-link link" href="{% url 'settings' %}">{% trans 'Settings' %}</a>
59 56 </div>
60 57
61 58 <div id="fav-panel"><div class="post">{% trans "Loading..." %}</div></div>
62 59
63 60 {% block content %}{% endblock %}
64 61
62 <script src="{% static 'js/3party/jquery-ui.min.js' %}"></script>
63 <script src="{% static 'js/jquery.mousewheel.js' %}"></script>
65 64 <script src="{% static 'js/3party/highlight.min.js' %}"></script>
65
66 <script src="{% url 'js_info_dict' %}"></script>
67
66 68 <script src="{% static 'js/popup.js' %}"></script>
67 69 <script src="{% static 'js/image.js' %}"></script>
68 70 <script src="{% static 'js/refpopup.js' %}"></script>
69 71 <script src="{% static 'js/main.js' %}"></script>
70 72
71 73 <div class="navigation_panel footer">
72 74 {% block metapanel %}{% endblock %}
73 75 {% if rss_url %}
74 76 [<a href="{{ rss_url }}">RSS</a>]
75 77 {% endif %}
76 78 [<a href="{% url 'admin:index' %}">{% trans 'Admin' %}</a>]
77 79 [<a href="{% url 'index' %}?order=pub">{% trans 'New threads' %}</a>]
78 80 {% with ppd=posts_per_day|floatformat:2 %}
79 81 {% blocktrans %}Speed: {{ ppd }} posts per day{% endblocktrans %}
80 82 {% endwith %}
81 83 <a class="link" href="#top" id="up">{% trans 'Up' %}</a>
82 84 </div>
83 85
84 86 </body>
85 87 </html>
General Comments 0
You need to be logged in to leave comments. Login now