Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tails
tails
Commits
818ce9e4
Commit
818ce9e4
authored
Sep 12, 2020
by
sajolida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add back BitTorrent as alternative download
parent
782536c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
7 deletions
+22
-7
wiki/src/install/inc/js/download.js
wiki/src/install/inc/js/download.js
+7
-0
wiki/src/install/inc/steps/download.inline.html
wiki/src/install/inc/steps/download.inline.html
+12
-1
wiki/src/install/inc/stylesheets/download.css
wiki/src/install/inc/stylesheets/download.css
+3
-6
No files found.
wiki/src/install/inc/js/download.js
View file @
818ce9e4
...
...
@@ -123,6 +123,7 @@ document.addEventListener("DOMContentLoaded", function() {
}
function
showAnotherMirror
()
{
hide
(
document
.
getElementById
(
"
bittorrent
"
));
show
(
document
.
getElementById
(
"
try-another-mirror
"
));
}
...
...
@@ -193,6 +194,12 @@ document.addEventListener("DOMContentLoaded", function() {
}
}
// Display BitTorrent verification tip when BitTorrent download is clicked
document
.
getElementById
(
"
bittorrent-download
"
).
onclick
=
function
(
e
)
{
hide
(
document
.
getElementById
(
"
javascript-verification-tip
"
));
show
(
document
.
getElementById
(
"
bittorrent-verification-tip
"
));
}
// Reset verification when downloading again after failure
document
.
getElementById
(
"
download-img-again
"
).
onclick
=
function
(
e
)
{
downloadAgain
(
e
,
this
);
}
document
.
getElementById
(
"
download-iso-again
"
).
onclick
=
function
(
e
)
{
downloadAgain
(
e
,
this
);
}
...
...
wiki/src/install/inc/steps/download.inline.html
View file @
818ce9e4
...
...
@@ -26,6 +26,13 @@ were solved, and known issues that have already been identified.</p>
<a
href=
"[[!inline pages="
inc
/
stable_amd64_iso_url
"
raw=
"yes"
sort=
"age"
]]"
id=
"download-iso"
class=
"use-mirror-pool-on-retry button inline-block indent"
>
Download Tails [[!inline pages="inc/stable_amd64_version" raw="yes" sort="age"]] ISO image (
<span
class=
"remove-extra-space"
>
[[!inline pages="inc/stable_amd64_iso_size" raw="yes" sort="age"]]
</span>
)
</a>
</div>
<div
id=
"download-minor"
>
<p
id=
"bittorrent"
class=
"indent inline-block"
>
or download using
<span
id=
"bittorrent-download"
>
<a
href=
"[[!inline pages="
inc
/
stable_amd64_img_torrent_url
"
raw=
"yes"
sort=
"age"
]]"
class=
"usb upgrade download-only-img"
>
BitTorrent
</a>
<a
href=
"[[!inline pages="
inc
/
stable_amd64_iso_torrent_url
"
raw=
"yes"
sort=
"age"
]]"
class=
"dvd vm download-only-iso"
>
BitTorrent
</a>
</span>
</p>
<p
id=
"try-another-mirror"
class=
"indent"
>
If the download fails, try to
<a
href=
"[[!inline pages="
inc
/
stable_amd64_img_url
"
raw=
"yes"
sort=
"age"
]]"
class=
"usb upgrade download-only-img"
>
download from another mirror.
</a>
<a
href=
"[[!inline pages="
inc
/
stable_amd64_iso_url
"
raw=
"yes"
sort=
"age"
]]"
class=
"dvd vm download-only-iso"
>
download from another mirror.
</a>
...
...
@@ -35,7 +42,7 @@ were solved, and known issues that have already been identified.</p>
<div
id=
"step-verify"
>
<h3><span
class=
"step-number"
><span
class=
"usb upgrade"
>
1.
</span>
2
</span>
Verify your download using your browser
</h3>
<div
class=
"caution indent"
>
<div
id=
"javascript-verification-tip"
class=
"caution indent"
>
<p><b>
For your security,
<br/>
always verify your download!
</b></p>
<p
class=
"floating-toggleable-link why-verify-link"
>
[[!toggle id="why-verify-supported" text="Why?"]]
</p>
<div
id=
"why-verify-supported"
class=
"floating-toggleable"
>
...
...
@@ -54,6 +61,10 @@ were solved, and known issues that have already been identified.</p>
"""]]
</div>
</div>
<div
id=
"bittorrent-verification-tip"
class=
"indent block"
>
<p>
Your BitTorrent client will automatically verify your download when it completes.
</p>
<p>
The verification below is optional for a BitTorrent download.
</p>
</div>
<div
id=
"verification"
class=
"indent block"
>
<div
class=
"no-js"
>
<p>
You seem to have JavaScript disabled. To use the
...
...
wiki/src/install/inc/stylesheets/download.css
View file @
818ce9e4
...
...
@@ -123,15 +123,12 @@ span.step-number {
right
:
1em
;
}
.what-is-bittorrent-link
{
position
:
absolute
;
top
:
2.4em
;
right
:
1em
;
#bittorrent-verification-tip
{
display
:
none
;
}
html
[
dir
=
"rtl"
]
.what-is-bittorrent-link
{
left
:
1em
;
}
#download-minor
{
margin-top
:
0
.5em
;
margin-top
:
1
.5em
;
}
#try-another-mirror
{
...
...
Write
Preview
Markdown
is supported
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