base.html 1.89 KB
Newer Older
stef's avatar
stef committed
1
{% load i18n %}{% load bt %}<?xml version="1.0" encoding="utf-8"?>
stef's avatar
stef committed
2
3
4
5
6
7
8
9
10
<!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">
stef's avatar
stef committed
11
12
    <link rel="alternate" type="application/atom+xml" title="Atom feed" href="/atom/">
    <link rel="alternate" type="application/rss+xml" title="RSS feed" href="/rss/">
stef's avatar
stef committed
13
14
15
16
17
18
19
20
21
22
    {% 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>
	{% if user.is_authenticated %}
23
24
     <div id="auth" class="menu">
		{{ user.username }}
stef's avatar
stef committed
25
26
      <a href="{%root_url%}/accounts/logout">{% trans "Logout" %}</a>
      <a href="{%root_url%}/admin/">{% trans "Admin" %}</a>
27
	  </div>
stef's avatar
stef committed
28
29
	{% endif %}
	<div id="menu" class="menu">
stef's avatar
stef committed
30
31
32
33
34
      <a href="{%root_url%}/">{% trans "Home" %}</a>
      <a href="{%root_url%}/list">{% trans "Infringements" %}</a>
      <a href="{%root_url%}/about">{% trans "What's Net Neutrality" %}</a>
      <a href="{%root_url%}/start">{% trans "Start Monitoring" %}</a>
      <a href="{%root_url%}/contact/">{% trans "Contact" %}</a>
stef's avatar
stef committed
35
36
37
38
39
40
	</div>

{% block content %}
{% endblock %}
{% block other_content %}
{% endblock %}
41
42
43
44
45
46
47
48
<hr style="clear: both" />
<div id='footer'>
{% if not user.is_authenticated %}
  <a href="{%root_url%}/accounts/login">{% trans "Login" %}</a>
{% endif %}
{% block footer %}
{% endblock %}
</div>
stef's avatar
stef committed
49
50
</body>
</html>