base.html
32 lines
| 876 B
| 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
|
r36 | href="{{ STATIC_URL }}css/{{ theme }}/base_page.css" media="all"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> | |||
Ilyas
|
r9 | {% block head %}{% endblock %} | |
</head> | |||
<body> | |||
<div id="admin_panel"> | |||
{% if request.session.admin == True %} | |||
Admin panel TODO: Need to implement <BR /> | |||
{% endif %} | |||
</div> | |||
neko259
|
r33 | <div id="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 %} | |||
neko259
|
r35 | <a class="link" href="{% url 'settings' %}">{% trans 'Settings' %}</a> | |
neko259
|
r33 | </div> | |
Ilyas
|
r9 | {% block content %}{% endblock %} | |
</body> | |||
</html> |