Commit 78f2a6ae authored by Okhin's avatar Okhin
Browse files

Fixing the static path

parent f909969d
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<h1>Page Not Found</h1> <h1>Page Not Found<//h1>
<p>What you were looking for is just not there. <p>What you were looking for is just not there.
{% endblock %} {% endblock %}
...@@ -4,22 +4,22 @@ ...@@ -4,22 +4,22 @@
{% block active_tab_contact %}id="current"{% endblock %} {% block active_tab_contact %}id="current"{% endblock %}
{% block content %} {% block content %}
<div id='global'> <div id='global'>
<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> <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>
<p>{% trans "This platform is a joint project by La Quadrature du Net, Bits of Freedom and individual contributors. It was launched on September 22nd, 2011." %}</p> <p>{% trans "This platform is a joint project by La Quadrature du Net, Bits of Freedom and individual contributors. It was launched on September 22nd, 2011." %}<//p>
<p>{% trans "Organisations will submit reports to national and EU regulatory authorities if appropriate." %}</p> <p>{% trans "Organisations will submit reports to national and EU regulatory authorities if appropriate." %}<//p>
<p>{% trans "For enquiries about the project, please contact:" %}</p> <p>{% trans "For enquiries about the project, please contact:" %}<//p>
<ul class="with-disc"> <ul class="with-disc">
<li>{% trans "France" %}: <a href="http://www.laquadrature.net/">La Quadrature du Net</a> &ndash; contact[a]laquadrature.net</li> <li>{% trans "France" %}: <a href="http:////www.laquadrature.net//">La Quadrature du Net<//a> &ndash; contact[a]laquadrature.net<//li>
<li>{% trans "Netherlands" %}: <a href="https://www.bof.nl/">Bits of Freedom</a> &ndash; info[a]bof.nl</li> <li>{% trans "Netherlands" %}: <a href="https:////www.bof.nl//">Bits of Freedom<//a> &ndash; info[a]bof.nl<//li>
</ul> <//ul>
<h3>{% trans "Initiators" %}</h3> <h3>{% trans "Initiators" %}<//h3>
<ul> <ul>
<li class="logo-org"><img alt="BoF logo" src="{%static_url%}/img/bof.png" /><a href="https://www.bof.nl">Bits of Freedom</a></li> <li class="logo-org"><img alt="BoF logo" src="//static////img//bof.png" //><a href="https:////www.bof.nl">Bits of Freedom<//a><//li>
<li class="logo-org"><img alt="LQDN logo" src="{%static_url%}/img/lqdn.png" /><a href="https://www.laquadrature.net/">La Quadrature du Net</a></li> <li class="logo-org"><img alt="LQDN logo" src="//static////img//lqdn.png" //><a href="https:////www.laquadrature.net//">La Quadrature du Net<//a><//li>
<li class="logo-org"><img alt="ORG logo" src="{%static_url%}/img/org.png" /><a href="https://www.openrightsgroup.org/">Open Rights Group</a></li> <li class="logo-org"><img alt="ORG logo" src="//static////img//org.png" //><a href="https:////www.openrightsgroup.org//">Open Rights Group<//a><//li>
<li class="logo-org"><img alt="NURPA logo" src="{%static_url%}/img/nurpa.png" width="80" style="text-align: center; background:#446688"/><br /><a href="http://nurpa.be"><small>Net Users' Rights Protection Association</small></a></li> <li class="logo-org"><img alt="NURPA logo" src="//static////img//nurpa.png" width="80" style="text-align: center; background:#446688"//><br //><a href="http:////nurpa.be"><small>Net Users' Rights Protection Association<//small><//a><//li>
<li class="logo-org"><img alt="XNet logo" src="{%static_url%}/img/xnet.png" /><a href="https://xnet-x.net/">X&nbsp;Net</a></li> <li class="logo-org"><img alt="XNet logo" src="//static////img//xnet.png" //><a href="https:////xnet-x.net//">X&nbsp;Net<//a><//li>
<li class="logo-org"><img alt="EDRI logo" src="{%static_url%}/img/edri.png" /><a href="https://edri.org/">X&nbsp;Net</a></li> <li class="logo-org"><img alt="EDRI logo" src="//static////img//edri.png" //><a href="https:////edri.org//">X&nbsp;Net<//a><//li>
</ul> <//ul>
</div> <//div>
{% endblock %} {% endblock %}
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
{% load bt %} {% load bt %}
{% load i18n %} {% load i18n %}
{% block styles %} {% block styles %}
<link rel="stylesheet" type="text/css" media="all" href="{% static_url %}/css/jquery.autocomplete.css" /> <link rel="stylesheet" type="text//css" media="all" href="//static////css//jquery.autocomplete.css" //>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script type="text/javascript" src="{%static_url%}/js/tinymce/tiny_mce.js"></script> <script type="text//javascript" src="//static////js//tinymce//tiny_mce.js"><//script>
<script type="text/javascript" src="{%static_url%}/js/editor.js"></script> <script type="text//javascript" src="//static////js//editor.js"><//script>
<script type="text/javascript" src="{%static_url%}/js/jquery.min.js"></script> <script type="text//javascript" src="//static////js//jquery.min.js"><//script>
<script type="text/javascript" src="{%static_url%}/js/jquery.autocomplete.js"></script> <script type="text//javascript" src="//static////js//jquery.autocomplete.js"><//script>
<script type="text/javascript" src="{%static_url%}/js/form.js"></script> <script type="text//javascript" src="//static////js//form.js"><//script>
<script type="text/javascript"> <script type="text//javascript">
$(document).ready(function(){ $(document).ready(function(){
init_form(); init_form();
{% if not form.is_bound %} {% if not form.is_bound %}
...@@ -23,24 +23,24 @@ $(document).ready(function(){ ...@@ -23,24 +23,24 @@ $(document).ready(function(){
} }
{% endif %} {% endif %}
}); });
</script> <//script>
{% endblock %} {% endblock %}
{%block content%} {%block content%}
<h2>{% trans "New Violation" %}</h2> <h2>{% trans "New Violation" %}<//h2>
<form id='addForm' name="addForm" enctype="multipart/form-data" action="{% url add_violation %}" method="post"> <form id='addForm' name="addForm" enctype="multipart//form-data" action="{% url add_violation %}" method="post">
{% for field in form %} {% for field in form %}
{% if field.label = 'Resource' %}<div id="show_optionals">{% trans "Provide optional details" %}</div><div id="optional">{%endif%} {% if field.label = 'Resource' %}<div id="show_optionals">{% trans "Provide optional details" %}<//div><div id="optional">{%endif%}
<div class="fieldWrapper"> <div class="fieldWrapper">
<p> <p>
{{ field.errors }} {{ field.errors }}
<div class="help_text">{{ field.help_text }}</div> <div class="help_text">{{ field.help_text }}<//div>
{{ field.label_tag }} {{ field }} {{ field.label_tag }} {{ field }}
</p> <//p>
</div> <//div>
{% endfor %} {% endfor %}
</div> <//div>
{% csrf_token %} {% csrf_token %}
<input id="save_button" type="submit" value="{% trans "save" %}" /> <input id="save_button" type="submit" value="{% trans "save" %}" //>
</form> <//form>
{%endblock%} {%endblock%}
{% load i18n %}{% load bt %}<?xml version="1.0" encoding="utf-8"?> {% load i18n %}{% 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"> <!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}}"> <html xmlns="http:////www.w3.org//1999//xhtml" lang="{{LANGUAGE_CODE}}" xml:lang="{{LANGUAGE_CODE}}">
<head> <head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> <meta http-equiv="content-type" content="application//xhtml+xml; charset=utf-8" //>
<meta http-equiv="content-language" content="en" /> <meta http-equiv="content-language" content="en" //>
<meta name="description" content="The Internet bugtracker" /> <meta name="description" content="The Internet bugtracker" //>
<meta name="keywords" content="internet network neutrality" /> <meta name="keywords" content="internet network neutrality" //>
<title>{% block title %}[!] Respect My Net {% endblock %}</title> <title>{% block title %}[!] Respect My Net {% endblock %}<//title>
<meta name="robots" content="archive,index,follow" /> <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//atom+xml" title="Atom feed" href="{% url 'atom_output' %}" //>
<link rel="alternate" type="application/rss+xml" title="RSS feed" href="{% url 'rss_output' %}" /> <link rel="alternate" type="application//rss+xml" title="RSS feed" href="{% url 'rss_output' %}" //>
<meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" /> <meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" //>
{% block rss %} {% block rss %}
{% endblock %} {% endblock %}
<link rel="stylesheet" type="text/css" media="all" href="{% static_url %}/css/style.css" /> <link rel="stylesheet" type="text//css" media="all" href="//static////css//style.css" //>
{% block styles %} {% block styles %}
{% endblock %} {% endblock %}
</head> <//head>
<body> <body>
<div id="wrapper"> <div id="wrapper">
<div id="header-container"> <div id="header-container">
<div id="header"> <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> <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> <div id="user"><p>
{% if user.is_authenticated %} {% if user.is_authenticated %}
{{ user.username }}, {{ user.username }},
<a href="{%root_url%}/accounts/logout">{% trans "Logout" %}</a> <a href="{%root_url%}//accounts//logout">{% trans "Logout" %}<//a>
<span>or</span> <span>or<//span>
<a href="{%root_url%}/admin/">{% trans "Admin" %}</a> <a href="{%root_url%}//admin//">{% trans "Admin" %}<//a>
{% block adminext %} {% block adminext %}
{% endblock %} {% endblock %}
{% else %} {% else %}
<a href="{%root_url%}/admin/" id="login">{% trans "Login" %}</a> <a href="{%root_url%}//admin//" id="login">{% trans "Login" %}<//a>
{% endif %} {% endif %}
</p></div> <//p><//div>
<ul id="nav"> <ul id="nav">
<li><a {% block active_tab_home %}{% endblock %} href="{% url 'homepage' %}">{% trans "Home" %}</a></li> <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_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_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_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_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> <li><a {% block active_tab_contact %}{% endblock %} href="{%root_url%}//contact">{% trans "Contact" %}<//a><//li>
</ul></div> <//ul><//div>
</div> <//div>
</div> <//div>
{% block content %} {% block content %}
{% endblock %} {% endblock %}
...@@ -54,8 +54,8 @@ ...@@ -54,8 +54,8 @@
<div id='footer'> <div id='footer'>
{% block footer %} {% block footer %}
{% endblock %} {% endblock %}
</div> <//div>
{% block scripts %} {% block scripts %}
{% endblock %} {% endblock %}
</body> <//body>
</html> <//html>
...@@ -3,5 +3,5 @@ A comment has been posted on {{ content_object }} by {{ comment.user }}. ...@@ -3,5 +3,5 @@ A comment has been posted on {{ content_object }} by {{ comment.user }}.
The comment reads as follows: The comment reads as follows:
{{ comment.comment }} {{ comment.comment }}
Approve: {%root_url%}/comments/approve/{{ comment.id }}/ Approve: {%root_url%}//comments//approve//{{ comment.id }}//
Delete: {%root_url%}/comments/delete/{{ comment.id }}/ Delete: {%root_url%}//comments//delete//{{ comment.id }}//
{% load bt %} {% load bt %}
{% load i18n %} {% load i18n %}
{%if obj.comment_set.all.0%} {%if obj.comment_set.all.0%}
<h3>{%trans "Description" %}</h3> <h3>{%trans "Description" %}<//h3>
<div class="description-node"> <div class="description-node">
<div class="description">{{obj.comment_set.all.0.comment|safe}}</div> <div class="description">{{obj.comment_set.all.0.comment|safe}}<//div>
<span class="submitter">Submitter: {%if obj.comment_set.all.0.submitter_name%}{{obj.comment_set.all.0.submitter_name}}{%else%}{{obj.comment_set.all.0.submitter_email}}{%endif%}</span> - <span class="comment_date">{{obj.comment_set.all.0.timestamp|date:"SHORT_DATE_FORMAT" }}</span> <span class="submitter">Submitter: {%if obj.comment_set.all.0.submitter_name%}{{obj.comment_set.all.0.submitter_name}}{%else%}{{obj.comment_set.all.0.submitter_email}}{%endif%}<//span> - <span class="comment_date">{{obj.comment_set.all.0.timestamp|date:"SHORT_DATE_FORMAT" }}<//span>
{%if obj.comment_set.all.0.attachment_set.all%} {%if obj.comment_set.all.0.attachment_set.all%}
<div class="attachs"> <div class="attachs">
{% trans "Attachments" %} {% trans "Attachments" %}
<ul> <ul>
{%for a in obj.comment_set.all.0.attachment_set.all%} {%for a in obj.comment_set.all.0.attachment_set.all%}
<li><a href="{{a.storage.url}}">{{a.storage.name}}</a></li> <li><a href="{{a.storage.url}}">{{a.storage.name}}<//a><//li>
{%endfor%} {%endfor%}
</ul> <//ul>
</div> <//div>
{%endif%} {%endif%}
</div> <//div>
{%endif%} {%endif%}
<ul> <ul>
{%if obj.media%}<li>{% trans "Media" %}: {{obj.media}}</li>{%endif%} {%if obj.media%}<li>{% trans "Media" %}: {{obj.media}}<//li>{%endif%}
{%if obj.resource_name%}<li>{% trans "Affected Resource/service" %}: {{obj.resource_name}}</li>{%endif%} {%if obj.resource_name%}<li>{% trans "Affected Resource//service" %}: {{obj.resource_name}}<//li>{%endif%}
{%if obj.type%}<li>{% trans "Type" %}: {{obj.type}}</li>{%endif%} {%if obj.type%}<li>{% trans "Type" %}: {{obj.type}}<//li>{%endif%}
{%if obj.temporary%}<li>{% trans "Temporary restriction" %}: {% trans "yes" %}</li>{%endif%} {%if obj.temporary%}<li>{% trans "Temporary restriction" %}: {% trans "yes" %}<//li>{%endif%}
{%if obj.loophole%}<li>{% trans "Loophole offering" %}: {% trans yes %}}</li>{%endif%} {%if obj.loophole%}<li>{% trans "Loophole offering" %}: {% trans yes %}}<//li>{%endif%}
{%if obj.contractual%}<li>{% trans "Contractual restriction" %}: {% trans "yes" %}</li>{%endif%} {%if obj.contractual%}<li>{% trans "Contractual restriction" %}: {% trans "yes" %}<//li>{%endif%}
</ul> <//ul>
{%if obj.contract_excerpt%}{% trans "Contract excerpt" %}: {{obj.contract_excerpt|safe}}{%endif%} {%if obj.contract_excerpt%}{% trans "Contract excerpt" %}: {{obj.contract_excerpt|safe}}{%endif%}
...@@ -3,28 +3,28 @@ ...@@ -3,28 +3,28 @@
{% load i18n %} {% load i18n %}
{% block active_tab_home %}id="current"{% endblock %} {% block active_tab_home %}id="current"{% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" type="text/css" media="all" href="{% static_url %}/css/jquery-ui.css" /> <link rel="stylesheet" type="text//css" media="all" href="//static////css//jquery-ui.css" //>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script type="text/javascript" src="{%static_url%}/js/tinymce/tinymce.min.js"></script> <script type="text//javascript" src="//static////js//tinymce//tinymce.min.js"><//script>
<script type="text/javascript" src="{%static_url%}/js/jquery.min.js"></script> <script type="text//javascript" src="//static////js//jquery.min.js"><//script>
<script type="text/javascript" src="{%static_url%}/js/jquery-ui.min.js"></script> <script type="text//javascript" src="//static////js//jquery-ui.min.js"><//script>
<script type="text/javascript" src="{%static_url%}/js/jquery.tablesorter.js"> </script> <script type="text//javascript" src="//static////js//jquery.tablesorter.js"> <//script>
<script type="text/javascript" src="{%static_url%}/js/form.js"></script> <script type="text//javascript" src="//static////js//form.js"><//script>
<script type="text/javascript"> <script type="text//javascript">
function focushandlers(ed) { function focushandlers(ed) {
var s = ed.settings; var s = ed.settings;
var realID = $('#'+ed.id+'_tbl'); var realID = $('#'+ed.id+'_tbl');
tinymce.dom.EventUtils.bind(ed.getWin(), 'focus', function(e) { tinymce.dom.EventUtils.bind(ed.getWin(), 'focus', function(e) {
if($(realID)) { if($(realID)) {
//console.log(realID); ////console.log(realID);
realID.parents('.fieldWrapper').find('.help_text').show(); realID.parents('.fieldWrapper').find('.help_text').show();
} }
}); });
tinymce.dom.EventUtils.bind(ed.getWin(), 'blur', function(e) { tinymce.dom.EventUtils.bind(ed.getWin(), 'blur', function(e) {
if($(realID)) { if($(realID)) {
//console.log(realID); ////console.log(realID);
realID.parents('.fieldWrapper').find('.help_text').hide(); realID.parents('.fieldWrapper').find('.help_text').hide();
} }
}); });
...@@ -53,7 +53,7 @@ $(document).ready(function(){ ...@@ -53,7 +53,7 @@ $(document).ready(function(){
{% endif %} {% endif %}
$('.confirm_form').submit(function() { $('.confirm_form').submit(function() {
var self=this; var self=this;
$.ajax({url: '/confirm/'+$(this).attr('id')+'/'+$(this).children('input:first').attr('value'), success: function(data) { $(self).html(data); }}); $.ajax({url: '//confirm//'+$(this).attr('id')+'//'+$(this).children('input:first').attr('value'), success: function(data) { $(self).html(data); }});
return false; return false;
}); });
tinyMCE.init({ tinyMCE.init({
...@@ -63,7 +63,7 @@ $(document).ready(function(){ ...@@ -63,7 +63,7 @@ $(document).ready(function(){
theme : "modern", theme : "modern",
theme_advanced_toolbar_align : "left", theme_advanced_toolbar_align : "left",
theme_advanced_toolbar_location : "top", theme_advanced_toolbar_location : "top",
//theme_advanced_buttons1 : "bold,italic,underline,bullist,numlist,outdent,indent,blockquote,undo,", ////theme_advanced_buttons1 : "bold,italic,underline,bullist,numlist,outdent,indent,blockquote,undo,",
theme_advanced_buttons1 : "", theme_advanced_buttons1 : "",
theme_advanced_buttons2 : "", theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "", theme_advanced_buttons3 : "",
...@@ -73,7 +73,7 @@ $(document).ready(function(){ ...@@ -73,7 +73,7 @@ $(document).ready(function(){
paste_remove_styles: true, paste_remove_styles: true,
init_instance_callback: focushandlers, init_instance_callback: focushandlers,
valid_elements : "@[id|title|dir<ltr?rtl|lang|xml::lang],a[rel|rev|" valid_elements : "@[id|title|dir<ltr?rtl|lang|xml::lang],a[rel|rev|"
+ "charset|hreflang|name|href|title],strong/b,em/i," + "charset|hreflang|name|href|title],strong//b,em//i,"
+ "strike,u,p,-ol,-ul,-li,br,-sub,-sup,-blockquote," + "strike,u,p,-ol,-ul,-li,br,-sub,-sup,-blockquote,"
+ ",-code,-pre,address,-h1,-h2,-h3,-h4,-h5," + ",-code,-pre,address,-h1,-h2,-h3,-h4,-h5,"
+ "-h6,hr[size|noshade],dd,dl,dt,cite,abbr,acronym," + "-h6,hr[size|noshade],dd,dl,dt,cite,abbr,acronym,"
...@@ -86,7 +86,7 @@ $(document).ready(function(){ ...@@ -86,7 +86,7 @@ $(document).ready(function(){
$(this).parent().parent().hide(); $(this).parent().parent().hide();
}); });
}); });
</script> <//script>
{% endblock %} {% endblock %}
{%block content%} {%block content%}
...@@ -94,87 +94,87 @@ $(document).ready(function(){ ...@@ -94,87 +94,87 @@ $(document).ready(function(){
{% if messages %} {% if messages %}
<ul class="messages"> <ul class="messages">
{% for message in messages %} {% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message|safe }}</li> <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message|safe }}<//li>
{% endfor %} {% endfor %}
</ul> <//ul>
{% endif %} {% endif %}
<div id='addForm' class='index'> <div id='addForm' class='index'>
<h2>{% trans "Add New Case" %}</h2> <h2>{% trans "Add New Case" %}<//h2>
<p>{% trans "Please report cases of operators restricting or throttling access to content, services or applications. For a more precise description of what to report, check our <a href='/about/#guidelines'>guidelines</a>." %} <p>{% trans "Please report cases of operators restricting or throttling access to content, services or applications. For a more precise description of what to report, check our <a href='//about//#guidelines'>guidelines<//a>." %}
<form name="addForm" enctype="multipart/form-data" action="{% root_url %}/add/" method="post"> <form name="addForm" enctype="multipart//form-data" action="{% root_url %}//add//" method="post">
{% for field in form %} {% for field in form %}
{% if field.html_name = 'comment' %}<div class="hidden errorlist">{% trans "There are already some reports for this Operator/Contract, please check if yours is already among them:" %}<ul id="similar_cases"></ul></div>{%endif%} {% if field.html_name = 'comment' %}<div class="hidden errorlist">{% trans "There are already some reports for this Operator//Contract, please check if yours is already among them:" %}<ul id="similar_cases"><//ul><//div>{%endif%}
{% if field.html_name = 'resource' %}<div id="show_optionals">{% trans "Provide optional details" %}</div><div id="optional">{%endif%} {% if field.html_name = 'resource' %}<div id="show_optionals">{% trans "Provide optional details" %}<//div><div id="optional">{%endif%}
<div class="fieldWrapper"> <div class="fieldWrapper">
{% if field.help_text %}<span class="help_text">{{ field.help_text }}</span>{% endif %} {% if field.help_text %}<span class="help_text">{{ field.help_text }}<//span>{% endif %}
<span class="innerfield"> <span class="innerfield">
{{ field.errors }} {{ field.errors }}
{{ field.label_tag }} {{ field }} {{ field.label_tag }} {{ field }}
</span> <//span>
</div> <//div>
{% endfor %} {% endfor %}
</div> <//div>
{% csrf_token %} {% csrf_token %}
<input id="save_button" type="submit" value="{% trans "save" %}" /> <input id="save_button" type="submit" value="{% trans "save" %}" //>
</form> <//form>
</div> <//div>
<div id='content'> <div id='content'>
<h2>{% trans "On the Internet, <strong>you</strong> decide what you do, right? <i>Not anymore!</i>" %}</h2> <h2>{% trans "On the Internet, <strong>you<//strong> decide what you do, right? <i>Not anymore!<//i>" %}<//h2>
<p>{% trans "Large telecommunication providers want to control what you do online. They want to block and throttle some of your communications, and charge you to use certain online services, content and applications." %}</p> <p>{% trans "Large telecommunication providers want to control what you do online. They want to block and throttle some of your communications, and charge you to use certain online services, content and applications." %}<//p>
<p>{% trans "Now is the time to fight back!" %}</p> <p>{% trans "Now is the time to fight back!" %}<//p>
<p>{% trans "Help us chart all the ways that internet providers are violating our online freedom. Tell us about how your landline or mobile operator Internet provider restricts your connection. You can do so in less than two minutes!" %} <p>{% trans "Help us chart all the ways that internet providers are violating our online freedom. Tell us about how your landline or mobile operator Internet provider restricts your connection. You can do so in less than two minutes!" %}
<p>{% trans "We will report these violations to the European Commission and national authorities and demand action to address them." %}</p> <p>{% trans "We will report these violations to the European Commission and national authorities and demand action to address them." %}<//p>
<p>{% trans "Don't hesitate to give us feedback on this application by reporting any idea or issue with RespectMyNet.eu here : <a href='https://nnmon.quadpad.lqdn.fr/feedback'>Feedback pad page</a>" %}</p> <p>{% trans "Don't hesitate to give us feedback on this application by reporting any idea or issue with RespectMyNet.eu here : <a href='https:////nnmon.quadpad.lqdn.fr//feedback'>Feedback pad page<//a>" %}<//p>
<h2 id="stats-title">{% trans "Statistics" %}</h2> <h2 id="stats-title">{% trans "Statistics" %}<//h2>
<div id="stats_graph" ></div> <div id="stats_graph" ><//div>
<ul id="stats"> <ul id="stats">
{% for t, n in stats %} {% for t, n in stats %}
<li class="stat"><dl><dt class="inline">{{t}}</dt><dd class="inline"><strong>{{n}}</strong></dd></dl></li> <li class="stat"><dl><dt class="inline">{{t}}<//dt><dd class="inline"><strong>{{n}}<//strong><//dd><//dl><//li>
{% endfor %} {% endfor %}
</ul> <//ul>
<h2 id="featured-title">{% trans "Featured Cases" %}</h2> <h2 id="featured-title">{% trans "Featured Cases" %}<//h2>
<table id="featured_cases"> <table id="featured_cases">
<thead> <thead>
<tr> <tr>
<th style="width: 70%;">{% trans "Infringing offering" %}</th> <th style="width: 70%;">{% trans "Infringing offering" %}<//th>
<th>{% trans "Confirmed" %}</th> <th>{% trans "Confirmed" %}<//th>
<th></th> <th><//th>
</tr> <//tr>
</thead> <//thead>
<tbody> <tbody>
{% for violation in violations %} {% for violation in violations %}
<tr> <tr>
<td><a href="{{ violation.get_absolute_url }}">{{ violation.operator }} ({{ violation.country|country }}) {{ violation.contract }}</a> <td><a href="{{ violation.get_absolute_url }}">{{ violation.operator }} ({{ violation.country|country }}) {{ violation.contract }}<//a>
<div class="info-validate"> <div class="info-validate">
<form method="get" id="{{ violation.pk }}" class="confirm_form" > <form method="get" id="{{ violation.pk }}" class="confirm_form" >
<label>{% trans "In order to <strong>confirm</strong> this report, please enter your email address" %}</label> <label>{% trans "In order to <strong>confirm<//strong> this report, please enter your email address" %}<//label>
<br/><input type="text" name="email" /> <br//><input type="text" name="email" //>
<input type="submit" value="{% trans "OK" %}" /> <input type="submit" value="{% trans "OK" %}" //>
<input type="button" value="{% trans "Cancel" %}" class="cancel-button" /> <input type="button" value="{% trans "Cancel" %}" class="cancel-button" //>
<input type="hidden" value="{{ violation.pk }}" /> <input type="hidden" value="{{ violation.pk }}" //>
</form> <//form>
</div> <//div>
</td> <//td>
<td class='align-right'>{{ violation.confirmations }}</td> <td class='align-right'>{{ violation.confirmations }}<//td>
<td class='align-right'><input type="button" class="confirm button" value="{% trans "Me too!" %}" /> <td class='align-right'><input type="button" class="confirm button" value="{% trans "Me too!" %}" //>
</td> <//td>
</tr> <//tr>
<tr> <tr>
<td colspan="3"> <td colspan="3">
<div id="description" class='round-box'> <div id="description" class='round-box'>
<strong>{% trans "Affected Resource" %}:</strong> {{violation.resource_name}} <strong>{% trans "Affected Resource" %}:<//strong> {{violation.resource_name}}
{%for c in violation.comment_set.all%} {%for c in violation.comment_set.all%}
<div class="description">{{c.comment|safe}}</div> <div class="description">{{c.comment|safe}}<//div>
<span class="submitter">{%if c.submitter_name%}{{c.submitter_name}}{%else%}{{c.submitter_email}}{%endif%}</span> - <span class="comment_date">{{c.timestamp|date:"SHORT_DATE_FORMAT" }}</span> <span class="submitter">{%if c.submitter_name%}{{c.submitter_name}}{%else%}{{c.submitter_email}}{%endif%}<//span> - <span class="comment_date">{{c.timestamp|date:"SHORT_DATE_FORMAT" }}<//span>
</div> <//div>
{%endfor%} {%endfor%}
</div> <//div>
</td> <//td>
</tr> <//tr>
{% endfor %} {% endfor %}
</tbody> <//tbody>
</table> <//table>
</div> <//div>
</div> <//div>
{%endblock%} {%endblock%}
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
{% load i18n %} {% load i18n %}
{% block active_tab_cases %}id="current"{% endblock %} {% block active_tab_cases %}id="current"{% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ MEDIA_URL }}/css/map.css" type="text/css" /> <link rel="stylesheet" href="{{ MEDIA_URL }}//css//map.css" type="text//css" //>
{% endblock %} {% endblock %}
{% block head %} {% block head %}
...@@ -12,29 +12,29 @@ ...@@ -12,29 +12,29 @@
{% block scripts %} {% block scripts %}
<script type="text/javascript" src="{{ MEDIA_URL }}/js/jquery.min.js"></script> <script type="text//javascript" src="{{ MEDIA_URL }}//js//jquery.min.js"><//script>
<script type="text/javascript" src="{{ MEDIA_URL }}/js/jquery.tablesorter.js"></script>