##// END OF EJS Templates
Add ambiplayer
Add ambiplayer

File last commit:

r2148:06e50007 ambiplayer
r2148:06e50007 ambiplayer
Show More
base.html
99 lines | 4.4 KiB | text/html | HtmlLexer
{% load staticfiles %}
{% load i18n %}
{% load l10n %}
{% load static from staticfiles %}
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}" media="all"/>
<link rel="stylesheet" type="text/css" href="{% static 'css/3party/highlight.css' %}" media="all"/>
<link rel="stylesheet" type="text/css" href="{% static 'css/3party/jquery-ui.min.css' %}" media="all"/>
<link rel="stylesheet" type="text/css" href="{% static 'css/3party/jquery.contextMenu.min.css' %}" media="all"/>
<link rel="stylesheet" type="text/css" href="{% static 'css/3party/ambiplayer.css' %}" media="all"/>
<link rel="stylesheet" type="text/css" href="{% static theme_css %}" media="all"/>
{% if rss_url %}
<link rel="alternate" type="application/rss+xml" href="{{ rss_url }}" title="{% trans 'Feed' %}"/>
{% endif %}
<link rel="icon" type="image/png"
href="{% static 'favicon.png' %}">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta charset="utf-8"/>
{% block head %}{% endblock %}
</head>
<body data-image-viewer="{{ image_viewer }}"
data-pow-difficulty="{{ pow_difficulty }}"
data-update-script="{% static 'js/updates.js' %}">
<script src="{% static 'js/jquery-2.2.0.min.js' %}"></script>
<header class="navigation_panel">
<a class="link" href="{% url 'landing' %}">{{ site_name }}</a>
<a href="{% url 'index' %}" title="{% trans "All threads" %}">~~~</a>,
{% if tags_str %}
<form action="{% url 'index' %}" method="post" class="post-button-form">{% csrf_token %}
{% if only_favorites %}
<button name="method" value="toggle_fav" class="fav"></button>,
{% else %}
<button name="method" value="toggle_fav" class="not_fav"></button>,
{% endif %}
</form>
{{ tags_str|safe }},
{% endif %}
<a href="{% url 'tags' %}" title="{% trans 'Tag management' %}">{% trans "tags" %}</a>,
<a href="{% url 'search' %}" title="{% trans 'Search' %}">{% trans 'search' %}</a>,
<a href="{% url 'feed' %}" title="{% trans 'Feed' %}">{% trans 'feed' %}</a>,
<a href="{% url 'random' %}" title="{% trans 'Random images' %}">{% trans 'images' %}</a>{% if has_fav_threads %},
<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>
{% endif %}
{% if usernames %}
<a class="right-link link" href="{% url 'notifications' %}" title="{% trans 'Notifications' %}">
{% trans 'Notifications' %}
{% ifnotequal new_notifications_count 0 %}
(<b>{{ new_notifications_count }}</b>)
{% endifnotequal %}
</a>
{% endif %}
<a class="right-link link" href="{% url 'settings' %}">{% trans 'Settings' %}</a>
</header>
<div id="fav-panel"><div class="post">{% trans "Loading..." %}</div></div>
<script src="{% static 'js/3party/jquery-ui.min.js' %}"></script>
<script src="{% static 'js/3party/jquery.contextMenu.min.js' %}"></script>
{% block content %}{% endblock %}
<script src="{% static 'js/jquery.mousewheel.js' %}"></script>
<script src="{% static 'js/3party/highlight.min.js' %}"></script>
<script src="{% static 'js/3party/ambiplayer.js' %}"></script>
<script src="{% url 'js_info_dict' %}"></script>
<script src="{% static 'js/popup.js' %}"></script>
<script src="{% static 'js/image.js' %}"></script>
<script src="{% static 'js/refpopup.js' %}"></script>
<script src="{% static 'js/main.js' %}"></script>
<footer class="navigation_panel">
<b><a href="{% url "authors" %}">{{ site_name }}</a> {{ version }}</b>
{% block metapanel %}{% endblock %}
{% if rss_url %}
[<a href="{{ rss_url }}">RSS</a>]
{% endif %}
[<a href="{% url 'admin:index' %}">{% trans 'Admin' %}</a>]
[<a href="{% url 'index' %}?order=pub">{% trans 'New threads' %}</a>]
{% with ppd=posts_per_day|floatformat:2 %}
{% blocktrans %}Speed: {{ ppd }} posts per day{% endblocktrans %}
{% endwith %}
<a class="link" href="#top" id="up">{% trans 'Up' %}</a>
</footer>
</body>
</html>