Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
c0de249e
Commit
c0de249e
authored
Dec 01, 2017
by
sajolida
Browse files
Remove the VeraCrypt survey
parent
ae4d6655
Changes
4
Hide whitespace changes
Inline
Side-by-side
wiki/src/home.css
deleted
100644 → 0
View file @
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
;
}
wiki/src/home.html
View file @
c0de249e
...
...
@@ -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
–
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"]]
wiki/src/home/survey.js
deleted
100644 → 0
View file @
ae4d6655
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
();
});
wiki/src/lib/survey.png
deleted
100644 → 0
View file @
ae4d6655
1013 Bytes
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment