base.html 1.42 KB
Newer Older
stef's avatar
stef committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% load bt %}<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="hu" xml:lang="hu">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="content-language" content="en" />
    <meta name="description" content="The Internet bugtracker" />
    <meta name="keywords" content="internet network neutrality" />
    <title>{% block title %}[!] NNMon {% endblock %}</title>
    <meta name="robots" content="noarchive,noindex,nofollow">
    {% block rss %}
    {% endblock %}
    {% block scripts %}
    {% endblock %}
    <link rel="stylesheet" type="text/css" media="all" href="{% media_url %}/css/style.css" />
    {% block styles %}
    {% endblock %}
</head>
<body>
	<div id="auth" class="menu">
	{% if user.is_authenticated %}
		<a href="{%root_url%}/accounts/settings">{{ user.username }}</a>
		<a href="{%root_url%}/accounts/logout">Logout</a>
24
		<a href="{%root_url%}/admin/">Admin</a>
stef's avatar
stef committed
25
26
27
28
29
30
31
	{% else %}
		<a href="{%root_url%}/accounts/login">Login</a>
		<a href="{%root_url%}/accounts/register">Register</a>
	{% endif %}
	</div>

	<div id="menu" class="menu">
32
33
		<a href="{%root_url%}/add/">Report restriction</a>
		<a href="{%root_url%}/">List reports</a>
stef's avatar
stef committed
34
35
36
37
38
39
40
41
42
	</div>

{% block content %}
{% endblock %}
{% block other_content %}
{% endblock %}
  </div>
</body>
</html>