Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
38
gaia/distros/b2gdroid/apps/ftu/index.html
Executable file
38
gaia/distros/b2gdroid/apps/ftu/index.html
Executable file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<meta name="theme-color" content="#eeeeee">
|
||||
<link rel="stylesheet" href="style/app.css">
|
||||
|
||||
<title>Welcome to Firefox OS developer preview</title>
|
||||
|
||||
<!-- Localization -->
|
||||
<meta name="defaultLanguage" content="en-US">
|
||||
<meta name="availableLanguages" content="en-US">
|
||||
<link rel="localization" href="locales/ftu-droid.{locale}.properties">
|
||||
|
||||
<script src="/shared/js/l10n.js"></script>
|
||||
<script defer src="js/app.js"></script>
|
||||
|
||||
<!-- Components -->
|
||||
<script defer src="/shared/js/component_utils.js"></script>
|
||||
<script defer src="/shared/elements/gaia_buttons/script.js"></script>
|
||||
</head>
|
||||
<body class="theme-settings">
|
||||
<section>
|
||||
<h1 data-l10n-id="welcome"></h1>
|
||||
<p data-l10n-id="welcomeBody1"></p>
|
||||
<p data-l10n-id="welcomeBody2"></p>
|
||||
<p data-l10n-id="welcomeBody3">
|
||||
<a class="external-link" href="https://www.mozilla.org/contribute"></a>
|
||||
<a class="external-link" href="https://github.com/mozilla-b2g/gaia"></a>
|
||||
</p>
|
||||
|
||||
<gaia-buttons class="nav">
|
||||
<button id="nav-done" class="recommend icon icon-next" data-l10n-id="done"></button>
|
||||
</gaia-buttons>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
19
gaia/distros/b2gdroid/apps/ftu/js/app.js
Executable file
19
gaia/distros/b2gdroid/apps/ftu/js/app.js
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
'use strict';
|
||||
|
||||
(function() {
|
||||
|
||||
var done = document.getElementById('nav-done');
|
||||
done.addEventListener('click', e => {
|
||||
e.preventDefault();
|
||||
window.close();
|
||||
});
|
||||
|
||||
var links = document.querySelectorAll('.external-link');
|
||||
Array.slice(links).forEach(link => {
|
||||
link.addEventListener('click', e => {
|
||||
e.preventDefault();
|
||||
window.open(e.target.href, '', 'dialog');
|
||||
});
|
||||
});
|
||||
|
||||
}());
|
||||
6
gaia/distros/b2gdroid/apps/ftu/locales/ftu-droid.en-US.properties
Executable file
6
gaia/distros/b2gdroid/apps/ftu/locales/ftu-droid.en-US.properties
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
welcome=Welcome
|
||||
welcomeBody1=Welcome to the Firefox OS developer preview, an experimental Android app from Mozilla that lets you experience Firefox OS.
|
||||
welcomeBody2=We would love for you to get involved in shaping the future of the Web.
|
||||
# LOCALIZATION NOTE: Keep the order of these links the same as in en-US so the hrefs do not get mixed up.
|
||||
welcomeBody3=To find out how, visit: <a>https://www.mozilla.org/contribute</a> or just grab the source code: <a>https://github.com/mozilla-b2g/gaia</a>
|
||||
done=Done
|
||||
31
gaia/distros/b2gdroid/apps/ftu/manifest.webapp
Executable file
31
gaia/distros/b2gdroid/apps/ftu/manifest.webapp
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"name": "FTU",
|
||||
"description": "First Time Experience",
|
||||
"type": "certified",
|
||||
"launch_path": "/index.html",
|
||||
"role": "system",
|
||||
|
||||
"developer": {
|
||||
"name": "The Gaia Team",
|
||||
"url": "https://github.com/mozilla-b2g/gaia"
|
||||
},
|
||||
|
||||
"locales": {
|
||||
"en-US": {
|
||||
"name": "FTU",
|
||||
"description": "First Time Experience"
|
||||
}
|
||||
},
|
||||
|
||||
"default_locale": "en-US",
|
||||
|
||||
"permissions": {
|
||||
"themeable":{},
|
||||
"settings":{ "access": "readwrite" },
|
||||
"systemXHR": {},
|
||||
"moz-extremely-unstable-and-will-change-webcomponents":{}
|
||||
},
|
||||
|
||||
"orientation": "default"
|
||||
|
||||
}
|
||||
29
gaia/distros/b2gdroid/apps/ftu/style/app.css
Executable file
29
gaia/distros/b2gdroid/apps/ftu/style/app.css
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
* {
|
||||
-moz-user-select: none;
|
||||
}
|
||||
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
font-size: 10px;
|
||||
font-weight: 400;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #f4f4f4 url(images/background.png) no-repeat 0 calc(100% - 7rem) / 100% auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.35rem;
|
||||
margin: 0 1.5rem 1.5rem;
|
||||
}
|
||||
BIN
gaia/distros/b2gdroid/apps/ftu/style/images/background.png
Executable file
BIN
gaia/distros/b2gdroid/apps/ftu/style/images/background.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 651 KiB |
Loading…
Reference in a new issue