aboutsummaryrefslogtreecommitdiffstats
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 09:42:15 +0100
commita6843b766f9c90b4b88dea5d1df406fdce6457a7 (patch)
tree6c2448dc5ff9692583fb83d4609bdca50044cf42 /src/index.html
parentb7f3c03bc385c5c9f8f8c7ea28884dd0365b69d4 (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