Commit 9b2e9ad3 authored by Richard Pospesel's avatar Richard Pospesel
Browse files

Bug 40886: Amend about:tor on Nightly and Alpha to encourage testing

parent 68494e8d
......@@ -36,9 +36,9 @@
<img class="torcontent-logo" src="resource://torbutton-assets/torbrowser_mobile_logo.png"/>
<div id="torstatus" class="top">
<div class="hideIfTorOff hideIfHasBeenUpdated torstatus-container">
<div class="heading1">&aboutTor.ready.label;</div>
<div class="heading1">&aboutTor.alpha.ready.label;</div>
<br/>
<div class="heading2">&aboutTor.ready2.label;</div>
<div class="heading2">&aboutTor.alpha.ready2.label;</div>
</div>
<div class="showIfHasBeenUpdated torstatus-container">
<div class="heading1">&aboutTBUpdate.updated;</div>
......@@ -65,6 +65,17 @@
</form>
</div>
<div id="bannerRoot">
<img id="bannerImg" src="resource://torbutton-assets/banner-warning.svg" />
<div id="bannerTextCol">
<!--<div id="bannerHeader"></div>
<br />-->
<div id="bannerDescription">&aboutTor.alpha.bannerDescription;</div>
<br />
<a id="bannerLink" target="_blank" href="https://forum.torproject.net/">&aboutTor.alpha.bannerLink;</a>
</div>
</div>
<div id="bottom">
<p id="donate" class="moreInfoLink">&aboutTor.donationBanner.freeToUse;
<a href="https://donate.torproject.org/" target="_blank">&aboutTor.donationBanner.buttonA; &#187;</a>
......
......@@ -29,3 +29,8 @@
<!ENTITY aboutTor.newsletter.link_text "Sign up for Tor News.">
<!ENTITY aboutTor.donationBanner.freeToUse "Tor is free to use because of donations from people like you.">
<!ENTITY aboutTor.donationBanner.buttonA "Donate Now">
<!ENTITY aboutTor.alpha.ready.label "Test. Thoroughly.">
<!ENTITY aboutTor.alpha.ready2.label "You’re ready to test the world’s most private browsing experience.">
<!ENTITY aboutTor.alpha.bannerDescription "Tor Browser Alpha is an unstable version of Tor Browser you can use to preview new features, test their performance and provide feedback before release.">
<!ENTITY aboutTor.alpha.bannerLink "Report a bug on the Tor Forum">
\ No newline at end of file
......@@ -210,6 +210,43 @@ body:not([showmanual]) .showForManual {
background-color: rgba(12, 12, 13, 0.1); /* same as Firefox's about:home */
}
#bannerRoot {
width: 690px;
padding: 20px 25px 25px;
background: rgba(0, 0, 0, 0.3);
border-radius: 6px;
margin: 35px auto 0px;
display: flex;
flex-direction: row;
align-items: flex-start;
position: static;
}
#bannerTextCol {
padding: 8px 0px 0px 15px;
font-size: 15px;
line-height: normal;
color: #FFFFFF;
width: 633px;
}
#bannerHeader {
font-weight: bold;
}
#bannerImg {
width: 32px;
position: static;
}
a#bannerLink {
text-decoration: underline;
}
a#bannerLink:hover {
text-decoration: none;
}
/* #search-text is the search input field */
#search-text {
flex: 1;
......
<svg fill="none" height="32" viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" fill="#ffa436" r="16"/><g fill="#0c0c0d"><path d="m14.2303 23.393c-3.5375-.6033-6.2303-3.6837-6.2303-7.393 0-4.1421 3.3579-7.5 7.5-7.5s7.5 3.3579 7.5 7.5c0 .669-.0876 1.3176-.252 1.9349l-.9277-1.6176c.0052-.1051.0078-.2109.0078-.3173 0-3.4949-2.8332-6.32812-6.3281-6.32812s-6.32812 2.83322-6.32812 6.32812c0 2.9851 2.06682 5.4874 4.84752 6.154-.06.4351.0216.8644.2109 1.239z"/><path d="m14.4228 21.1394c-2.3828-.4969-4.1728-2.6091-4.1728-5.1394 0-2.8995 2.3505-5.25 5.25-5.25 2.4843 0 4.5655 1.7255 5.1107 4.0434-.4001-.2309-.8624-.3255-1.3135-.2839-.5952-1.5151-2.0709-2.5876-3.7972-2.5876-2.2523 0-4.0781 1.8258-4.0781 4.0781 0 2.0987 1.5854 3.8272 3.6239 4.0531z"/><path d="m18.2788 14.8674c-.4469-1.0954-1.5227-1.8674-2.7788-1.8674-1.6569 0-3 1.3431-3 3s1.3431 3 3 3c.051 0 .1016-.0013.1519-.0038l.8361-1.4578c-.2849.1833-.624.2897-.988.2897-1.0096 0-1.8281-.8185-1.8281-1.8281s.8185-1.8281 1.8281-1.8281 1.8281.8185 1.8281 1.8281c0 .0256-.0005.051-.0015.0764l.2758-.4809c.1764-.3074.4099-.5501.6764-.7281z"/><path d="m14.2303 23.393c-3.5375-.6033-6.2303-3.6837-6.2303-7.393 0-4.1421 3.3579-7.5 7.5-7.5v10.7611l-1.2083 2.1067c-.3916.6811-.3653 1.4237-.0614 2.0252z"/><path d="m23.8456 21.8662-3.311-5.7729c-.454-.791-1.615-.791-2.069 0l-3.311 5.7729c-.446.775.126 1.7341 1.034 1.7341h6.623c.907 0 1.479-.9591 1.034-1.7341zm-3.721-1.892c0 .1658-.0658.3248-.183.442s-.2762.183-.442.183c-.1657 0-.3247-.0658-.4419-.183s-.1831-.2762-.1831-.442v-1.747c0-.1657.0659-.3247.1831-.4419s.2762-.1831.4419-.1831c.1658 0 .3248.0659.442.1831s.183.2762.183.4419zm-.625 2.626c-.1657 0-.3247-.0658-.4419-.183s-.1831-.2762-.1831-.442c0-.1657.0659-.3247.1831-.4419s.2762-.1831.4419-.1831c.1658 0 .3248.0659.442.1831s.183.2762.183.4419c0 .1658-.0658.3248-.183.442s-.2762.183-.442.183z"/></g></svg>
\ No newline at end of file
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