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