Commit 182030ed authored by stef's avatar stef
Browse files

[enh] dec delta to w3m conformity

parent 2106c722
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
<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="/atom/"> <link rel="alternate" type="application/atom+xml" title="Atom feed" href="/atom/" />
<link rel="alternate" type="application/rss+xml" title="RSS feed" href="/rss/"> <link rel="alternate" type="application/rss+xml" title="RSS feed" href="/rss/" />
<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="{% media_url %}/css/style.css" /> <link rel="stylesheet" type="text/css" media="all" href="{% media_url %}/css/style.css" />
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
{% load bt %} {% load bt %}
{% load i18n %} {% load i18n %}
{% block styles %} {% block styles %}
<style> <style type="text/css" media="all">
.map { margin: 0 0 1em 0; float: right; } .map { margin: 0 0 1em 0; float: right; }
.map-eu { border: thin solid black; display: block; } .map-eu { border: thin solid black; display: block; }
#europe-map {margin-left: 1.5em;} #europe-map {margin-left: 1.5em;}
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
$('#sortedlist').tableFilter(); $('#sortedlist').tableFilter();
$('.confirm_form').submit(function() { $('.confirm_form').submit(function() {
var self=this; var self=this;
var email=$(this).children('input:first').attr('value'); var email=$(this).find('input:first').attr('value');
if( email.length>0) { if( email.length>0) {
$.ajax({url: '/confirm/'+$(this).attr('id')+'/'+email, success: function(data) { $(self).html(data); }}); $.ajax({url: '/confirm/'+$(this).attr('id').slice(1)+'/'+email, success: function(data) { $(self).html(data); }});
} else { } else {
$(this).find('[type=text]').focus(); $(this).find('[type=text]').focus();
} }
...@@ -61,17 +61,7 @@ ...@@ -61,17 +61,7 @@
{% endif %} {% endif %}
{% if countries %} {% if countries %}
<div id="map"> <div id="map">
<svg id="europe-map" class="map map-eu" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:space="preserve" height="260" width="340" version="1.0" viewBox="1754 161 9938 7945"> <svg id="europe-map" class="map map-eu" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" height="260" width="340" version="1.0" viewBox="1754 161 9938 7945">
<metadata>
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title>Countries of Europe</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<rect id="ocean" height="7935" width="12386" y="162.75" x="-340.66"/> <rect id="ocean" height="7935" width="12386" y="162.75" x="-340.66"/>
<g id="outlines" stroke-linejoin="round" stroke-linecap="round"> <g id="outlines" stroke-linejoin="round" stroke-linecap="round">
<rect id="rect3096" height="8316.9" width="11049" stroke="#fff" y="-64.132" x="1334" stroke-width="16.018"/> <rect id="rect3096" height="8316.9" width="11049" stroke="#fff" y="-64.132" x="1334" stroke-width="16.018"/>
...@@ -269,15 +259,18 @@ ...@@ -269,15 +259,18 @@
<td>{{ violation.confirmations }}</td> <td>{{ violation.confirmations }}</td>
<td> <td>
<div class="confirm"><a class="button">{% trans "confirm" %}</a> <div class="confirm"><a class="button">{% trans "confirm" %}</a>
<div class="info-validate float-confirm"> <div class="info-validate float-confirm">
<form method="get" id="{{ violation.pk }}" class="confirm_form" > <form method="get" id="i{{ violation.pk }}" class="confirm_form" >
<label>{% trans "In order to <strong>validate your confirmation</strong> of this case, please enter your email address" %}</label> <div>
<input type="text" name="email" /> <label>{% trans "In order to <strong>validate your confirmation</strong> of this case, please enter your email address" %}</label>
<input type="hidden" value="{{ violation.pk }}" /> <input type="text" name="email" />
<input type="submit" value="{% trans "OK" %}" /> <input type="hidden" value="{{ violation.pk }}" />
</form> <input type="submit" value="{% trans "OK" %}" />
<input class="cancel-button" type="button" value="{% trans "Close" %}" /> </div>
</div> </form>
<input class="cancel-button" type="button" value="{% trans "Close" %}" />
</div>
</div>
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment