summaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/apps.json158
-rw-r--r--src/templates/apps.template.html17
2 files changed, 175 insertions, 0 deletions
diff --git a/src/templates/apps.json b/src/templates/apps.json
new file mode 100644
index 0000000..b96bead
--- /dev/null
+++ b/src/templates/apps.json
@@ -0,0 +1,158 @@
+[
+ {
+ "description": "Aquarium demo using WebGL",
+ "name": "WebGL Aquarium",
+ "shortname": "",
+ "id": "webapps-aquarium@0.0",
+ "version": "0.0.10",
+ "author": "Google Inc.",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/webapps-aquarium/0.0/icon_128.png",
+ "http-port": 31038
+ },
+ {
+ "description": "HTML5 Homescreen demo",
+ "name": "Homescreen",
+ "shortname": "",
+ "id": "webapps-html5-homescreen@1.0",
+ "version": "1.0.0",
+ "author": "Igalia, S.L.",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/webapps-html5-homescreen/1.0/icon.svg",
+ "http-port": 31022
+ },
+ {
+ "description": "Falling blocks demo",
+ "name": "Falling blocks",
+ "shortname": "",
+ "id": "webapps-falling-blocks@1.0",
+ "version": "1.0.0",
+ "author": "Igalia, S.L.",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/webapps-falling-blocks/1.0/icon.png",
+ "http-port": 31040
+ },
+ {
+ "description": "HTML5 MIXER demo",
+ "name": "MIXER",
+ "shortname": "",
+ "id": "webapps-mixer@0.0",
+ "version": "0.0.0",
+ "author": "Igalia, S.L.",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/webapps-mixer/0.0/icon.svg",
+ "http-port": 31034
+ },
+ {
+ "description": "Jamendo",
+ "name": "Jamendo",
+ "shortname": "",
+ "id": "webapps-jamendo@1.0",
+ "version": "1.0.0",
+ "author": "",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/webapps-jamendo/1.0/icon.svg",
+ "http-port": 31041
+ },
+ {
+ "description": "Launcher application for AGL based on html5 technologies",
+ "name": "HTML5 Launcher",
+ "shortname": "",
+ "id": "webapps-html5-launcher@1.0",
+ "version": "1.0",
+ "author": "Igalia, S.L.",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/webapps-html5-launcher/1.0/icon.svg",
+ "http-port": 31033
+ },
+ {
+ "description": "AGL Task Manager",
+ "name": "taskmanager",
+ "shortname": "",
+ "id": "taskmanager@0.1",
+ "version": "0.1",
+ "author": "Wool, Vitaly <vitaly.wool@konsulko.com>",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/taskmanager/0.1/icon.png",
+ "http-port": 31037
+ },
+ {
+ "description": "AGL widget service for Chromium browser",
+ "name": "browser",
+ "shortname": "",
+ "id": "browser@-7dabb46-dirty",
+ "version": "-7dabb46-dirty",
+ "author": "Jose Dapena Paz <jose.dapena@lge.com>",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/browser/-7dabb46-dirty/icon.png",
+ "http-port": 31029
+ },
+ {
+ "description": "Blob demo using WebGL",
+ "name": "WebGL Blob",
+ "shortname": "",
+ "id": "webapps-blob@0.0",
+ "version": "0.0.10",
+ "author": "Google Inc.",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/webapps-blob/0.0/icon_128.png",
+ "http-port": 31039
+ },
+ {
+ "description": "HTML5 HVAC demo",
+ "name": "HVAC",
+ "shortname": "",
+ "id": "webapps-hvac@0.0",
+ "version": "0.0.0",
+ "author": "Igalia, S.L.",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/webapps-hvac/0.0/icon.svg",
+ "http-port": 31030
+ },
+ {
+ "description": "YouTube",
+ "name": "YouTube",
+ "shortname": "",
+ "id": "webapps-youtube@1.0",
+ "version": "1.0.0",
+ "author": "LGE-SVL",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/webapps-youtube/1.0/icon.png",
+ "http-port": 31042
+ },
+ {
+ "description": "HTML5 SETTINGS demo",
+ "name": "SETTINGS",
+ "shortname": "",
+ "id": "webapps-settings@0.0",
+ "version": "0.0.0",
+ "author": "Igalia, S.L.",
+ "author-email": "",
+ "width": "",
+ "height": "",
+ "icon": "/var/local/lib/afm/applications/webapps-settings/0.0/icon.svg",
+ "http-port": 31035
+ }
+] \ No newline at end of file
diff --git a/src/templates/apps.template.html b/src/templates/apps.template.html
new file mode 100644
index 0000000..3b0f74e
--- /dev/null
+++ b/src/templates/apps.template.html
@@ -0,0 +1,17 @@
+<div class="grid">
+ {{ #apps }}
+ <div class="item my-3">
+ <button type="button" class="btn btn-outline-primary" onclick="app.launch('{{id}}')">
+ <h1 class="icon text-center">
+ {{ #icon }}
+ <i class="{{ . }}"></i>
+ {{ /icon }}
+ {{ #letter }}
+ {{ . }}
+ {{ /letter }}
+ </h1>
+ {{ name }}
+ </button>
+ </div>
+ {{ /apps }}
+</div> \ No newline at end of file