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:12:47 +0100
commitd67df14a8c587891bcd1f627ed8ff789bfd1b3cd (patch)
tree6c2448dc5ff9692583fb83d4609bdca50044cf42 /src/index.html
parentbebfaf835b960481ad5ec6621b1e67e522537ba3 (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