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