forked from mozilla-b2g/gaia
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 mozilla-b2g#28040 from evelynhung/issue-1123565
Bug 1123565 - Initial work of dashboard app. r=rexboy
- Loading branch information
Showing
11 changed files
with
88 additions
and
0 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
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,13 @@ | ||
'use strict'; | ||
|
||
/* global require, exports */ | ||
var utils = require('utils'); | ||
|
||
|
||
exports.execute = function(options) { | ||
utils.copyToStage(options); | ||
// copy tv shared files | ||
var helperPath = utils.joinPath('..', '..', 'tv_apps', 'tv_build', | ||
'tv_shared_helper.js'); | ||
require(helperPath).TVSharedHelper.execute(options); | ||
}; |
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,25 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1"> | ||
<meta charset="utf-8"> | ||
<title>Dashboard</title> | ||
|
||
<link rel="stylesheet" type="text/css" href="style/dashboard.css"> | ||
|
||
<!-- Shared L10n libraries --> | ||
<script src="shared/js/l10n.js"></script> | ||
<script src="shared/js/l10n_date.js"></script> | ||
|
||
<!-- L10n properties --> | ||
<meta name="defaultLanguage" content="en-US"> | ||
<meta name="availableLanguages" content="en-US"> | ||
<link rel="localization" href="locales/dashboard.{locale}.properties"/> | ||
<link rel="localization" href="shared/locales/date/date.{locale}.properties"/> | ||
|
||
</head> | ||
|
||
<body> | ||
</body> | ||
|
||
</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,10 @@ | ||
{ | ||
"settings": { | ||
"src": [ | ||
"tv_apps/dashboard/js/**/*.js" | ||
], | ||
"options": { | ||
"destination": "docs/dashboard" | ||
} | ||
} | ||
} |
Empty file.
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,23 @@ | ||
{ | ||
"name": "Dashboard", | ||
"description": "Smart Screen Dashboard ", | ||
"launch_path": "/index.html", | ||
"type": "certified", | ||
"role": "deck", | ||
"developer": { | ||
"name": "The Gaia Team", | ||
"url": "https://github.com/mozilla-b2g/gaia" | ||
}, | ||
"locales": { | ||
"en-US": { | ||
"name": "Dashboard", | ||
"description": "Smart Screen Dashboard" | ||
} | ||
}, | ||
"default_locale": "en-US", | ||
"icons": { | ||
"336": "/style/icons/dashboard_336.png", | ||
"672": "/style/icons/dashboard_672.png" | ||
}, | ||
"orientation": "landscape" | ||
} |
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,15 @@ | ||
html { | ||
font-size: 10px; | ||
/* We have Fira Sans as default font in real device. But it isn't default in | ||
* * browser. That's the main reason this line is here.*/ | ||
font-family: "Fira Sans"; | ||
} | ||
|
||
html, body { | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
margin: 0; | ||
padding: 0; | ||
background-image: url(dummy/dashboard_background.jpg); | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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