-
Notifications
You must be signed in to change notification settings - Fork 11
/
fax.tmpl
89 lines (69 loc) · 4.31 KB
/
fax.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/static/css/flags.css">
<link rel="stylesheet" type="text/css" href="/static/css/pimail.css">
<style>
.hidden {
display: none;
}
</style>
<script type="text/javascript" src="/static/js/jquery-latest.js"></script>
</head>
<title>Fax your MEP</title>
</head>
<body>
<div id=global>
<h1>Write MEPs! Demand the enforcement of a true and unconditional Net neutrality!</h1>
<div id="sent-message" class="hidden">The Fax widget is currently disabled. We are working on improving the software and making it easier for you to personalize your message. You can call or send E-Mails and Tweets instead. </div>
<div id=mep_infos>
<section id=mep_name>To:<br>{{name}} <img src="/static/groups/group_icon_{{group_short}}.png" style="vertical-align:middle;"> </section>
<section id=mep_pic><img src="/static/images/{{id}}.jpg" style="height:120px;"></section>
<section id=mep_group>{{group}}</section>
<section id=mep_country><img src="/static/blank.gif" class="flag flag-{{country_short}}" alt="{{country}}"> {{country}}</section>
{% if facebook %}
<a href="{{facebook}}" target="_blank"><img src="/static/images/fb.jpg"></img></a>
{% endif %}
{% if twitter %}
<a href="https://twitter.com/{{twitter}}" target="_blank"><img src="/static/images/tw.png"></img></a>
{% endif %}
</div>
<div id=actionbox>
<form method="POST" id="faxform">
<input type="hidden" name="id" value="{{id}}" />
<textarea id="body" name="body" class=emailtext>
Dear MEP {{name}},
I'm asking you to save net neutrality, again.
In April 2014, the European Parliament voted in favour of clear and binding rules for net neutrality in the Telecom Single Market regulation. I call on you to defend this decision in the interest of the European citizens and not to let your position be watered down during the trialogue negotiations.
The driving force for diversity, innovation, and growth in the online economy is net neutrality. This founding principle of the internet is what guarantees European innovation and human rights online.
Today, internet users can access content from big companies and small blogs, news sites or government websites on an equal basis. But if clear rules enshrining net neutrality and outlawing network discrimination are not adopted, ISPs will be able to do what they have been lobbying for – they will be able to create fast lanes where few companies would get prioritised access to customers, leaving smaller websites, education, public services, and anyone else who can't pay, in the slow lane. As telecoms operators would be empowered to hand pick the winners and losers in the market, this would begin a new era of online discrimination and the establishment of an anti-competitive market in the EU. This would happen at the same time as US companies have just been given the certainty that they will be protected from such restrictions.
In 2014, the European Parliament stood with thousands of citizens who took action to fight for net neutrality. More than 40,000 faxes, thousands of emails, and hundreds of phone calls were sent to defend our fundamental rights online. I'm asking you to stand with me again.
Right now, it is up to you to ensure citizens' fundamental rights and the prosperity and competitiveness of the EU Single Market by taking a strong stance in favour of net neutrality.
Sincerely,
A concerned citizen
</textarea>
<!--<section><a class="button" id="sendfax" href="#">Fax Now!</a></section>-->
<section><a onclick="makeform()" class="button" id="sendfax" href="#">Fax Now!</a></section>
</form>
</div>
</div>
<script>
var txt_changed = false;
document.getElementById('body').onkeyup = function () {
txt_changed = true;
}
function makeform() {
if (txt_changed || confirm('Personalized messages are much more effective to convince politicans. \n\nPlease take the time to write a text :)\n\nSend it anyway?')) {
document.getElementById("faxform").submit();
}
}
$(function () {
$('#sendfax').on('click', function () {
jQuery.ajax('https://piwik.netzfreiheit.org/piwik.php?idsite=11&rec=1&url=https%3A%2F%2Fsavetheinternet.eu&idgoal=4&e_c=contact&e_n=fax&e_v=' + (txt_changed ? 1 : 0)
, {'async': 'true'});
});
});
</script>
</body>
</html>