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