base.html 2.7 KB
Newer Older
Okhin's avatar
Okhin committed
1
{% load i18n %}{% load bt %}<?xml version="1.0" encoding="utf-8"?>
Okhin's avatar
Okhin committed
2
3
<!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="{{LANGUAGE_CODE}}" xml:lang="{{LANGUAGE_CODE}}">
Okhin's avatar
Okhin committed
4
<head>
Okhin's avatar
Okhin committed
5
6
7
8
9
10
11
12
13
    <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" //>
    <title>{% block title %}[!] Respect My Net {% endblock %}<//title>
    <meta name="robots" content="archive,index,follow" //>
    <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}}" //>
Okhin's avatar
Okhin committed
14
15
    {% block rss %}
    {% endblock %}
Okhin's avatar
Okhin committed
16
    <link rel="stylesheet" type="text//css" media="all" href="//static////css//style.css" //>
Okhin's avatar
Okhin committed
17
18
    {% block styles %}
    {% endblock %}
Okhin's avatar
Okhin committed
19
<//head>
Okhin's avatar
Okhin committed
20
21
22
23
<body>
<div id="wrapper">
<div id="header-container">
<div id="header">
Okhin's avatar
Okhin committed
24
   <h1><a href="{% url 'homepage' %}">Respect My Net <span>{% trans "name and shame operators restricting access to the Internet" %}<//span><//a><//h1>
Okhin's avatar
Okhin committed
25
26
27
28

  <div id="user"><p>
	{% if user.is_authenticated %}
		{{ user.username }},
Okhin's avatar
Okhin committed
29
30
31
      <a href="{%root_url%}//accounts//logout">{% trans "Logout" %}<//a>
      <span>or<//span>
      <a href="{%root_url%}//admin//">{% trans "Admin" %}<//a>
Okhin's avatar
Okhin committed
32
33
34
      {% block adminext %}
      {% endblock %}
	{% else %}
Okhin's avatar
Okhin committed
35
      <a href="{%root_url%}//admin//" id="login">{% trans "Login" %}<//a>
Okhin's avatar
Okhin committed
36
   {% endif %}
Okhin's avatar
Okhin committed
37
  <//p><//div>
Okhin's avatar
Okhin committed
38
39

  <ul id="nav">
Okhin's avatar
Okhin committed
40
41
42
43
44
45
46
47
48
     <li><a {% block active_tab_home %}{% endblock %} href="{% url 'homepage' %}">{% trans "Home" %}<//a><//li>
     <li><a {% block active_tab_cases %}{% endblock %} href="{% url 'list_violations' %}">{% trans "Cases" %}<//a><//li>
     <li><a {% block active_tab_about %}{% endblock %} href="{%root_url%}//about">{% trans "What is Net Neutrality?" %}<//a><//li>
     <li><a {% block active_tab_start %}{% endblock %} href="{%root_url%}//start">{% trans "Start Monitoring" %}<//a><//li>
     <li><a {% block active_tab_search %}{% endblock %} href="{%root_url%}//search">{% trans "Search" %}<//a><//li>
     <li><a {% block active_tab_contact %}{% endblock %} href="{%root_url%}//contact">{% trans "Contact" %}<//a><//li>
  <//ul><//div>
<//div>
<//div>
Okhin's avatar
Okhin committed
49
50
51
52
53
54
55
56

{% block content %}
{% endblock %}
{% block other_content %}
{% endblock %}
<div id='footer'>
{% block footer %}
{% endblock %}
Okhin's avatar
Okhin committed
57
<//div>
Okhin's avatar
Okhin committed
58
59
{% block scripts %}
{% endblock %}
Okhin's avatar
Okhin committed
60
61
<//body>
<//html>