Browse files

Add a "template" app that other apps can be copy-pasted from, and can…

… let folks do quick one-off debugging by editing it.
  • Loading branch information...
1 parent e876dee commit b4d7e9a918ccff46c887bcfd71d850df0f893ee7 @cgjones cgjones committed Jun 6, 2012
Showing with 91 additions and 0 deletions.
  1. BIN apps/template/Blank.png
  2. +22 −0 apps/template/index.html
  3. +62 −0 apps/template/manifest.webapp
  4. +7 −0 webapps.js
View
BIN apps/template/Blank.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
22 apps/template/index.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html manifest="manifest.appcache">
+
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="pragma" content="no-cache">
+ <title>Template</title>
+
+ <style>
+ </style>
+
+ <script>
+ </script>
+ </head>
+
+ <body>
+
+ <p>Implement me</p>
+
+ </body>
+
+</html>
View
62 apps/template/manifest.webapp
@@ -0,0 +1,62 @@
+{
+ "name": "Template",
+ "description": "Web app template",
+ "launch_path": "/",
+ "developer": {
+ "name": "The Gaia Team",
+ "url": "https://github.com/mozilla-b2g/gaia"
+ },
+ "permissions": [
+
+ ],
+ "locales": {
+ "ar": {
+ "name": "Template",
+ "description": "Web app template"
+ },
+ "de": {
+ "name": "Template",
+ "description": "Web app template"
+ },
+ "el": {
+ "name": "Template",
+ "description": "Web app template"
+ },
+ "en-US": {
+ "name": "Template",
+ "description": "Web app template"
+ },
+ "es": {
+ "name": "Template",
+ "description": "Web app template"
+ },
+ "fr": {
+ "name": "Template",
+ "description": "Web app template"
+ },
+ "it": {
+ "name": "Template",
+ "description": "Web app template"
+ },
+ "pt-BR": {
+ "name": "Template",
+ "description": "Web app template"
+ },
+ "ru": {
+ "name": "Template",
+ "description": "Web app template"
+ },
+ "tr": {
+ "name": "Template",
+ "description": "Web app template"
+ },
+ "zh-TW": {
+ "name": "Template",
+ "description": "Web app template"
+ }
+ },
+ "default_locale": "en-US",
+ "icons": {
+ "128": "/style/icons/Blank.png"
+ }
+}
View
7 webapps.js
@@ -163,6 +163,13 @@ var apps = {
"installTime": 132333986000,
"manifestURL": "http://tasks.localhost.org:8080/manifest.webapp"
},
+ "template": {
+ "origin": rootPath.replace('%%%', 'template'),
+ "installOrigin": "http://template.localhost.org:8080",
+ "receipt": null,
+ "installTime": 132333986000,
+ "manifestURL": "http://template.localhost.org:8080/manifest.webapp"
+ },
"test-agent": {
"origin": rootPath.replace('%%%', 'test-agent'),
"installOrigin": "http://test-agent.localhost.org:8080",

0 comments on commit b4d7e9a

Please sign in to comment.