base.html
43 lines
| 1.3 KiB
| text/html
|
HtmlLexer
/ templates / base.html
|
r31 | {% load staticfiles %} | |
|
r33 | {% load i18n %} | |
|
r31 | ||
|
r9 | <!DOCTYPE html> | |
<html> | |||
<head> | |||
|
r31 | <link rel="stylesheet" type="text/css" | |
|
r65 | href="{{ STATIC_URL }}css/jquery.fancybox.css" media="all"/> | |
|
r63 | <link rel="stylesheet" type="text/css" | |
|
r65 | href="{{ STATIC_URL }}css/{{ theme }}/base_page.css" media="all"/> | |
|
r36 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> | |
|
r9 | {% block head %}{% endblock %} | |
</head> | |||
|
r54 | <body> | |
<script src="{{ STATIC_URL }}js/jquery-2.0.1.min.js"></script> | |||
|
r63 | <script src="{{ STATIC_URL }}js/jquery.fancybox.pack.js"></script> | |
|
r54 | <script src="{{ STATIC_URL }}js/main.js"></script> | |
|
r9 | <div id="admin_panel"> | |
{% if request.session.admin == True %} | |||
Admin panel TODO: Need to implement <BR /> | |||
{% endif %} | |||
</div> | |||
|
r44 | <div class="navigation_panel"> | |
|
r33 | <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 %} | |||
|
r57 | <a class="tag" href="{% url 'tags' %}">[...]</a> | |
|
r35 | <a class="link" href="{% url 'settings' %}">{% trans 'Settings' %}</a> | |
|
r33 | </div> | |
|
r9 | {% block content %}{% endblock %} | |
|
r44 | <div class="navigation_panel"> | |
{% block metapanel %}{% endblock %} | |||
<a class="link" href="#top">{% trans 'Up' %}</a> | |||
</div> | |||
|
r9 | </body> | |
</html> |