Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 686489 new download fennec apk download page
- Loading branch information
Showing
17 changed files
with
265 additions
and
27 deletions.
There are no files selected for viewing
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,59 @@ | ||
{% extends "firefox/base-resp.html" %} | ||
|
||
{% block extra_meta %}<meta name="robots" content="noindex">{% endblock %} | ||
|
||
{% block page_title %}{{ _('Download Firefox for Android') }}{% endblock %} | ||
{% block body_id %}firefox-all{% endblock %} | ||
|
||
{% block page_desc %} | ||
{{ _('Firefox is made in large part by volunteers around the world. That’s why we offer it in 80 languages (and why there’s heart and soul in every piece of code).') }} | ||
{% endblock %} | ||
|
||
{% block page_image %} | ||
{{ static('img/firefox/all/page-image.png') }} | ||
{% endblock %} | ||
|
||
{% block body_class -%} | ||
sky | ||
{% endblock %} | ||
|
||
{% block page_css %} | ||
{% stylesheet 'firefox_android_all' %} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<header id="main-feature"> | ||
<h1>{{ self.page_title() }}</h1> | ||
<h2>{{ self.page_desc() }}</h2> | ||
</header> | ||
|
||
<main id="main-content" role="main"> | ||
<div class="build-table-container"> | ||
<table class="table"> | ||
<caption> | ||
<h3>{{ _('APK Versions') }}</h3> | ||
</caption> | ||
<thead> | ||
<tr> | ||
<th scope="col">{{ _('Version') }}</th> | ||
<th scope="col">{{ _('Download') }}</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>{{ _('android-api-9') }}</td> | ||
<td class="download"><a href="https://ftp.mozilla.org/pub/mozilla.org/mobile/releases/latest/android-api-9/">{{ _('Download') }}</a></td> | ||
</tr> | ||
<tr> | ||
<td>{{ _('android-api-11') }}</td> | ||
<td class="download"><a href="https://ftp.mozilla.org/pub/mozilla.org/mobile/releases/latest/android-api-11/">{{ _('Download') }}</a></td> | ||
</tr> | ||
<tr> | ||
<td>{{ _('android-x86') }}</td> | ||
<td class="download"><a href="https://ftp.mozilla.org/pub/mozilla.org/mobile/releases/latest/android-x86/">{{ _('Download') }}</a></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</main> | ||
{% 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
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
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,100 @@ | ||
@import '../../sandstone/lib.less'; | ||
|
||
#main-feature { | ||
.span-all(); | ||
h1 { | ||
margin-bottom: @baseLine; | ||
} | ||
h2 { | ||
.font-size(24px); | ||
letter-spacing: -0.25px; | ||
line-height: 1.4; | ||
} | ||
} | ||
|
||
#main-content { | ||
.build-table-container { | ||
.span-all(); | ||
} | ||
table { | ||
width: 100%; | ||
thead { | ||
th { | ||
white-space: nowrap; | ||
&:not([colspan]) { | ||
width: 15%; | ||
} | ||
} | ||
th, td { | ||
padding: 10px 0; | ||
} | ||
} | ||
tbody { | ||
th, td { | ||
padding: 10px 0; | ||
} | ||
} | ||
.download { | ||
padding: 10px 0; | ||
a { | ||
display: block; | ||
padding: 5px 5px 5px 35px; | ||
background: transparent url(/media/img/firefox/android/android-download.png) left center no-repeat; | ||
background: url(/media/img/firefox/android/android-download.svg), linear-gradient(transparent, transparent); | ||
background-repeat: no-repeat; | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
||
/* Tablet Layout: 760px */ | ||
@media only screen and (min-width: @breakTablet) and (max-width: @breakDesktop) { | ||
|
||
#main-feature { | ||
h1 { | ||
.font-size(48px); | ||
} | ||
} | ||
} | ||
|
||
/* Wide mobile layout: 480px; */ | ||
@media only screen and (min-width: @breakMobileLandscape) and (max-width: @breakTablet) { | ||
#main-content table tbody { | ||
th { | ||
width: 50%; | ||
} | ||
td { | ||
border-top: none; | ||
} | ||
} | ||
} | ||
|
||
/* Mobile layout: 320px */ | ||
@media only screen and (max-width: @breakTablet) { | ||
|
||
#main-feature { | ||
h1 { | ||
.font-size(36px); | ||
} | ||
h2 { | ||
.font-size(18px); | ||
letter-spacing: normal; | ||
} | ||
} | ||
|
||
#main-content { | ||
table { | ||
thead { | ||
display: none; | ||
} | ||
td { | ||
border-top: none; | ||
} | ||
tr { | ||
overflow: hidden; | ||
border-top: 1px solid rgba(0, 0, 0, 0.2); | ||
} | ||
} | ||
} | ||
} |
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.