base.html 5.22 KB
Newer Older
Okhin's avatar
Okhin committed
1
2
{% load i18n %}
{% load bt %}
3
{% load bootstrap3 %}
Okhin's avatar
Okhin committed
4
<html>
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
	<head>
		<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
		<meta http-equiv="content-language" content="en" />
		<meta name="description" content="The Internet bugtracker" />
		<meta name="keywords" content="internet network neutrality" />
		<meta name="robots" content="archive,index,follow" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<title>{% block title %}[!] Respect My Net {% endblock %}</title>
		<link rel="alternate" type="application/atom+xml" title="Atom feed" href="{% url 'atom_output' %}" />
		<link rel="alternate" type="application/rss+xml" title="RSS feed" href="{% url 'rss_output' %}" />
		<meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" />
		{% bootstrap_css %}
		{% bootstrap_javascript %}
		{% bootstrap_messages %}
		{% block rss %}
		{% endblock %}
		<link rel="stylesheet" type="text/css" media="all" href="/static/css/style.css" />
		{% block styles %}
		{% endblock %}
	</head>
	<body>
Okhin's avatar
Okhin committed
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
		<div id="header">
			<h1><a href="{% url 'homepage' %}">Respect My Net <span>{% trans "name and shame operators restricting access to the Internet" %}</span></a></h1>
			<div id="user">
				<p>
				{% if user.is_authenticated %}
				{{ user.username }},
				<a href="{%root_url%}/accounts/logout">{% trans "Logout" %}</a>
				<span>or</span>
				<a href="{%root_url%}/admin/">{% trans "Admin" %}</a>
				{% block adminext %}
				{% endblock %}
				{% else %}
				<a href="{%root_url%}/admin/" id="login">{% trans "Login" %}</a>
				{% endif %}
				</p>
			</div>
		</div>
Okhin's avatar
Okhin committed
43

Okhin's avatar
Okhin committed
44
45
46
47
48
49
50
51
52
		<nav class="navbar navbar-default">
			<div class="container-fluid">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-nav" aria-expanded="false">
						<span class="sr-only">{% trans "Toggle navgation" %}</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
53
					<a class="navbar-brand" href="/">Respect my net</a>
Okhin's avatar
Okhin committed
54
				</div>
Okhin's avatar
Okhin committed
55

Okhin's avatar
Okhin committed
56
57
58
59
60
61
				<div class="collapse navbar-collapse" id="main-nav">
					<ul class="nav navbar-nav">
						<li role="presentation" {% block active_tab_cases %}{% endblock %}><a href="{% url 'list_violations' %}">{% trans "Cases" %}</a></li>
						<li role="presentation" {% block active_tab_about %}{% endblock %}><a href="{%root_url%}/about">{% trans "What is Net Neutrality?" %}</a></li>
						<li role="presentation" {% block active_tab_start %}{% endblock %}><a href="{%root_url%}/start">{% trans "Start Monitoring" %}</a></li>
					</ul>
62
63
64
65
66
67
68
69
					<form action="/search/" method="get" class="navbar-form navbar-right">
						<div class="form-group">
							<input type="text" class="form-control" placeholder="Quick Search...">
						</div>
						{% buttons %}
							<button type="submit" class="btn btn-default">Search</button>
						{% endbuttons %}
					</form>
70
71
				</nav>
			</div>
Okhin's avatar
Okhin committed
72
		</div>
Okhin's avatar
Okhin committed
73

Okhin's avatar
Okhin committed
74
		<div id="wrapper">
75
			<div class="container-fluid">
76
77
78
79
80
81
82
83
84
85
86
87
				<div class="row">
					<div class="col-xs-12 col-md-8 col-md-offset-2">
						{% block content %}
						{% endblock %}
					</div>
				</div>
				<div class="row">
					<div class="col-xs-12 col-md-8 col-md-offset-2">
						{% block other_content %}
						{% endblock %}
					</div>
				</div>
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
			</div>
			<div id="push"></div>
		</div>
		<div id='footer'>
			{% block footer %}
			<p>{% trans "RespectMyNet.eu is an online platform enabling citizens to become the watchmen of the Internet by reporting Net Neutrality violations. Everyone is invited to report undue blocking or throttling of their Internet access, and help  name and shame operators' harmful practices." %}</p>
			<ul>
				<li class="logo-org"><a href="https://www.bof.nl"><img alt="BoF logo" src="/static/img/bof.png" /></a></li>
				<li class="logo-org"><a href="https://www.laquadrature.net/"><img alt="LQDN logo" src="/static/img/lqdn.png" /></a></li>
				<li class="logo-org dark"><a href="https://www.openrightsgroup.org/"><img alt="ORG logo" src="/static/img/org.png" /></a></li>
				<li class="logo-org dark"><br /><a href="http://nurpa.be"><img alt="NURPA logo" src="/static/img/nurpa.png"/></a></li>
				<li class="logo-org"><a href="https://xnet-x.net/"><img alt="XNet logo" src="/static/img/xnet.png" /></a></li>
				<li class="logo-org"><a href="https://edri.org/"><img alt="EDRI logo" src="/static/img/edri.png" /></a></li>
			</ul>
			{% endblock %}
		</div>
		<script type="text/javascript" src="/static/js/tinymce/tinyMCE/tinymce.min.js"></script>
		<script type="text/javascript" src="/static/js/jquery.min.js"></script>
		<script type="text/javascript" src="/static/js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="/static/js/jquery.tablesorter.js"> </script>
		<script type="text/javascript" src="/static/js/jquery.tablesorter.js"></script>
		<script type="text/javascript" src="/static/js/picnet.table.filter.min.js"></script>
		<script type="text/javascript" src='/static/js/d3.min.js'></script>
		<script type="text/javascript" src='/static/js/topojson.min.js'></script>
		<script type="text/javascript" src='/static/js/datamaps.js'></script>
		<script type="text/javascript" src="/static/js/nnmon.js"></script>
		{% block scripts %}
		{% endblock %}
	</body>
Okhin's avatar
Okhin committed
117
</html>