summaryrefslogtreecommitdiffstats
path: root/src/index.html
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-06-20 12:52:29 +0200
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:20:13 +0100
commit0a898f853727a8600ecc57617b006af0f9694502 (patch)
tree6c2448dc5ff9692583fb83d4609bdca50044cf42 /src/index.html
parentb1f53f7ee96455fcca4c6e5273c41dd5e498a735 (diff)
FUNCT Add support to load apps from AGL
Diffstat (limited to 'src/index.html')
-rw-r--r--src/index.html47
1 files changed, 11 insertions, 36 deletions
diff --git a/src/index.html b/src/index.html
index 971ba8d..f280ebe 100644
--- a/src/index.html
+++ b/src/index.html
@@ -6,43 +6,18 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body>
- <div class="parent">
- <div class="item">
- <img src="mockups/dashboard.svg" onload="SVGInject(this);">
- <div class="name">
- DASHBOARD
+ <div id="AppContainer" class="parent">
+ <script id="item-template" type="x-tmpl-mustache">
+ <div class="item">
+ <img class="icon" src="{{ icon }}" onload="SVGInject(this);">
+ <div class="name">
+ {{ name }}
+ </div>
</div>
- </div>
- <div class="item">
- <img src="mockups/hvac.svg" onload="SVGInject(this);">
- <div class="name">
- HVAC
- </div>
- </div>
- <div class="item">
- <img src="mockups/multimedia.svg" onload="SVGInject(this);">
- <div class="name">
- MULTIMEDIA
- </div>
- </div>
- <div class="item">
- <img src="mockups/phone.svg" onload="SVGInject(this);">
- <div class="name">
- PHONE
- </div>
- </div>
- <div class="item">
- <img src="mockups/radio.svg" onload="SVGInject(this);">
- <div class="name">
- RADIO
- </div>
- </div>
- <div class="item">
- <img src="mockups/settings.svg" onload="SVGInject(this);">
- <div class="name">
- SETTINGS
- </div>
- </div>
+ </script>
+ </div>
+ <div class="log" id="log">
+
</div>
</body>
</html> \ No newline at end of file