Show More
@@ -1,93 +1,93 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 | data-pow-difficulty="{{ pow_difficulty }}" |
|
28 | 28 | data-update-script="{% static 'js/updates.js' %}"> |
|
29 | 29 | <script src="{% static 'js/jquery-2.2.0.min.js' %}"></script> |
|
30 | 30 | |
|
31 | 31 | <header class="navigation_panel"> |
|
32 | 32 | <a class="link" href="{% url 'landing' %}">{{ site_name }}</a> |
|
33 | <a href="{% url 'index' %}">~~~</a>, | |
|
33 | <a href="{% url 'index' %}" title="{% trans "All threads" %}">~~~</a>, | |
|
34 | 34 | {% if tags_str %} |
|
35 | 35 | <form action="{% url 'index' %}" method="post" class="post-button-form">{% csrf_token %} |
|
36 | 36 | {% if only_favorites %} |
|
37 | 37 | <button name="method" value="toggle_fav" class="fav">β </button>, |
|
38 | 38 | {% else %} |
|
39 | 39 | <button name="method" value="toggle_fav" class="not_fav">β </button>, |
|
40 | 40 | {% endif %} |
|
41 | 41 | </form> |
|
42 | 42 | {{ tags_str|safe }}, |
|
43 | 43 | {% endif %} |
|
44 | 44 | <a href="{% url 'tags' 'required'%}" title="{% trans 'Tag management' %}">{% trans "tags" %}</a>, |
|
45 | 45 | <a href="{% url 'search' %}" title="{% trans 'Search' %}">{% trans 'search' %}</a>, |
|
46 | 46 | <a href="{% url 'feed' %}" title="{% trans 'Feed' %}">{% trans 'feed' %}</a>, |
|
47 | 47 | <a href="{% url 'random' %}" title="{% trans 'Random images' %}">{% trans 'images' %}</a>{% if has_fav_threads %}, |
|
48 | 48 | |
|
49 | 49 | <a href="{% url 'feed' %}?favorites" id="fav-panel-btn">{% trans 'favorites' %} <span id="new-fav-post-count" {% if not new_post_count %}style="display: none" {% endif %}>{{ new_post_count }}</span></a> |
|
50 | 50 | {% endif %} |
|
51 | 51 | |
|
52 | 52 | {% if usernames %} |
|
53 | 53 | <a class="right-link link" href="{% url 'notifications' %}" title="{% trans 'Notifications' %}"> |
|
54 | 54 | {% trans 'Notifications' %} |
|
55 | 55 | {% ifnotequal new_notifications_count 0 %} |
|
56 | 56 | (<b>{{ new_notifications_count }}</b>) |
|
57 | 57 | {% endifnotequal %} |
|
58 | 58 | </a> |
|
59 | 59 | {% endif %} |
|
60 | 60 | |
|
61 | 61 | <a class="right-link link" href="{% url 'settings' %}">{% trans 'Settings' %}</a> |
|
62 | 62 | </header> |
|
63 | 63 | |
|
64 | 64 | <div id="fav-panel"><div class="post">{% trans "Loading..." %}</div></div> |
|
65 | 65 | |
|
66 | 66 | {% block content %}{% endblock %} |
|
67 | 67 | |
|
68 | 68 | <script src="{% static 'js/3party/jquery-ui.min.js' %}"></script> |
|
69 | 69 | <script src="{% static 'js/jquery.mousewheel.js' %}"></script> |
|
70 | 70 | <script src="{% static 'js/3party/highlight.min.js' %}"></script> |
|
71 | 71 | |
|
72 | 72 | <script src="{% url 'js_info_dict' %}"></script> |
|
73 | 73 | |
|
74 | 74 | <script src="{% static 'js/popup.js' %}"></script> |
|
75 | 75 | <script src="{% static 'js/image.js' %}"></script> |
|
76 | 76 | <script src="{% static 'js/refpopup.js' %}"></script> |
|
77 | 77 | <script src="{% static 'js/main.js' %}"></script> |
|
78 | 78 | |
|
79 | 79 | <footer class="navigation_panel"> |
|
80 | 80 | {% block metapanel %}{% endblock %} |
|
81 | 81 | {% if rss_url %} |
|
82 | 82 | [<a href="{{ rss_url }}">RSS</a>] |
|
83 | 83 | {% endif %} |
|
84 | 84 | [<a href="{% url 'admin:index' %}">{% trans 'Admin' %}</a>] |
|
85 | 85 | [<a href="{% url 'index' %}?order=pub">{% trans 'New threads' %}</a>] |
|
86 | 86 | {% with ppd=posts_per_day|floatformat:2 %} |
|
87 | 87 | {% blocktrans %}Speed: {{ ppd }} posts per day{% endblocktrans %} |
|
88 | 88 | {% endwith %} |
|
89 | 89 | <a class="link" href="#top" id="up">{% trans 'Up' %}</a> |
|
90 | 90 | </footer> |
|
91 | 91 | |
|
92 | 92 | </body> |
|
93 | 93 | </html> |
General Comments 0
You need to be logged in to leave comments.
Login now