##// END OF EJS Templates
Improved page showing threads for certain tag. Also some fixes of dependency...
Improved page showing threads for certain tag. Also some fixes of dependency list. This fixed #1

File last commit:

r65:805a710c default
r74:4a75764d default
Show More
base.html
43 lines | 1.3 KiB | text/html | HtmlLexer
{% load staticfiles %}
{% load i18n %}
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css"
href="{{ STATIC_URL }}css/jquery.fancybox.css" media="all"/>
<link rel="stylesheet" type="text/css"
href="{{ STATIC_URL }}css/{{ theme }}/base_page.css" media="all"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
{% block head %}{% endblock %}
</head>
<body>
<script src="{{ STATIC_URL }}js/jquery-2.0.1.min.js"></script>
<script src="{{ STATIC_URL }}js/jquery.fancybox.pack.js"></script>
<script src="{{ STATIC_URL }}js/main.js"></script>
<div id="admin_panel">
{% if request.session.admin == True %}
Admin panel TODO: Need to implement <BR />
{% endif %}
</div>
<div class="navigation_panel">
<a class="link" href="{% url 'index' %}">{% trans "All threads" %}</a>
{% for tag in tags %}
<a class="tag" href=" {% url 'tag' tag_name=tag.name %}">
{{ tag.name }}</a>({{ tag.get_post_count }})
{% endfor %}
<a class="tag" href="{% url 'tags' %}">[...]</a>
<a class="link" href="{% url 'settings' %}">{% trans 'Settings' %}</a>
</div>
{% block content %}{% endblock %}
<div class="navigation_panel">
{% block metapanel %}{% endblock %}
<a class="link" href="#top">{% trans 'Up' %}</a>
</div>
</body>
</html>