Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2091 from sgarrity/bug-988044-port-unsupported-sy…
…stems Port Unsupported Systems page to bedrock
- Loading branch information
Showing
5 changed files
with
129 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
bedrock/firefox/templates/firefox/unsupported-systems.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. -#} | ||
|
||
{% extends "/firefox/base-resp.html" %} | ||
|
||
{% block page_title %}{{ _('Unsupported Systems') }}{% endblock %} | ||
{% block page_desc %}{{ _('We’re sorry to report this, but your computer does not meet the minimum system requirements to run this version.') }}{% endblock %} | ||
|
||
{% block extrahead %} | ||
{{ css('firefox_unsupported_systems') }} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<div id="main-feature"> | ||
<h1>{{ _('Thanks for choosing Firefox!') }}</h1> | ||
<h2>{{_('We’re sorry to report this, but your computer does not meet the minimum system requirements to run this version.')}}</h2> | ||
</div> | ||
|
||
<div id="main-content" class="billboard"> | ||
|
||
<div class="help-feature"> | ||
<h3>Need <span>Help?</span></h3> | ||
<p>Our Support page has plenty of answers, including full instructions for downloading and installing Firefox and a live chat feature to guide you through any tricky spots.</p> | ||
<a class="blocklevel" href="https://support.mozilla.org/products/firefox">Visit Firefox Support</a> | ||
</div> | ||
|
||
<div class="systems-feature"> | ||
<h4>For more information on supported systems</h4> | ||
<a class="blocklevel" href="{{ url('firefox.sysreq') }}">View System Requirements</a> | ||
</div> | ||
|
||
</div> | ||
|
||
<div class="other-browsers container"> | ||
<p>To make your computer more secure, we recommend upgrading your operating system to a newer version as soon as possible (plus, you’ll be able to use Firefox!). But, if you can’t do so, here are some alternate browsers that should be compatible with your current system:</p> | ||
<ul> | ||
<li><a href="http://www.opera.com/">Opera</a> for Windows 95 and above and Mac OS 10.3 and above</li> | ||
<li><a href="http://www.icab.de/">iCab</a> for Mac OS 10.3 and above</li> | ||
</ul> | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
@import "../sandstone/lib.less"; | ||
|
||
#main-feature { | ||
h1 { | ||
.span-all; | ||
margin-bottom: 10px; | ||
} | ||
h2 { | ||
.span(10); | ||
font-size: 28px; | ||
} | ||
} | ||
|
||
#main-content { | ||
.help-feature { | ||
.span(8); | ||
} | ||
.systems-feature { | ||
.span(4); | ||
} | ||
.blocklevel { | ||
.trailing-arrow(); | ||
} | ||
} | ||
|
||
.other-browsers { | ||
margin-top: (@baseLine * 2); | ||
margin-bottom: (@baseLine * 2); | ||
p, | ||
ul { | ||
.span(8); | ||
} | ||
ul { | ||
margin-top: @baseLine; | ||
} | ||
} | ||
|
||
|
||
/* Tablet and Mobile */ | ||
@media only screen and (max-width: @breakDesktop) { | ||
|
||
#main-feature h1, | ||
#main-feature h2, | ||
#main-content .help-feature, | ||
#main-content .systems-feature, | ||
.other-browsers p, | ||
.other-browsers ul { | ||
.span-all; | ||
} | ||
|
||
#main-feature { | ||
h1 { | ||
margin-bottom: 10px; | ||
} | ||
h2 { | ||
font-size: 18px; | ||
} | ||
} | ||
|
||
#main-content { | ||
padding-top: @baseLine; | ||
.help-feature { | ||
margin-bottom: @baseLine; | ||
} | ||
} | ||
|
||
.other-browsers { | ||
ul { | ||
margin-top: @baseLine; | ||
} | ||
} | ||
|
||
} |