Commit c0de249e authored by sajolida's avatar sajolida
Browse files

Remove the VeraCrypt survey

parent ae4d6655
/* Survey */
#survey {
display: none;
max-width: 45em;
padding: 0.5em 2em 0.5em 9em;
background: #b49cd3 url('lib/survey.png') no-repeat top 50% left 2em !important;
border: none !important;
box-shadow: 1px 1px 5px #ccc;
border-radius: 0.5em;
box-sizing: border-box;
color: black !important;
overflow: hidden;
}
#take-survey {
position: relative;
width: 100%;
height: 1.5em;
}
#take-survey span {
width: 10em;
position: absolute;
right: 1.2em;
top: -1.5em;
text-align: center;
background: #56347c;
border: none !important;
box-shadow: 1px 1px 5px #444;
border-radius: 0.5em;
box-sizing: border-box;
color: white;
font-weight: bold;
padding: 0.2em;
}
......@@ -2,8 +2,6 @@
<!-- Changing this title breaks the test suite. See #12134#note-7. -->
[[!meta robots="noindex"]]
[[!meta stylesheet="home" rel="stylesheet" title=""]]
[[!meta script="survey"]]
<div id="tor_check">
<a href="https://check.torproject.org/">
......@@ -14,17 +12,4 @@ translation of the label below is long and gets split into two lines. -->
</a>
</div>
<a id="survey" href="https://survey.tails.boum.org/index.php/339872?lang=en">
<h2>Survey on <strong>file storage encryption</strong></h2>
<p><b>Contribute to Tails by answering these few questions.</b> (2&ndash;6 minutes)<br/>
To improve Tails we need to learn how people use it but, unlike others,
we don't track you against your will. Your answers are anonymous and
only our team can access the data.</p>
<div id="take-survey"><span>Take the survey!</span></div>
</a>
[[!inline pages="news" raw="yes" sort="age"]]
document.addEventListener('DOMContentLoaded', function() {
var n = 20; // Probability of displaying the survey button is 1/n
function displaySurvey() {
if(Math.floor(n * Math.random()) == 0) {
document.getElementById("survey").style.display = "block";
}
}
displaySurvey();
});
Markdown is supported
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