2015-08-20 18:41:51 +02:00
|
|
|
<html>
|
|
|
|
<head>
|
2015-08-21 14:47:06 +02:00
|
|
|
<title>Lanceur - Papaye</title>
|
2015-08-20 18:41:51 +02:00
|
|
|
<link rel="stylesheet" href="css/style.css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2015-08-21 14:47:06 +02:00
|
|
|
<!-- Application root element -->
|
|
|
|
<div id="papaye"></div>
|
|
|
|
|
|
|
|
<!-- Templates -->
|
2015-08-20 18:41:51 +02:00
|
|
|
<script id="items-list-tpl" type="text/x-template">
|
|
|
|
<ul class="apps-list">
|
|
|
|
{{#each items}}
|
|
|
|
<li data-exec="{{exec}}" class="app-item">
|
|
|
|
<img class="app-icon" src="{{icon}}" />
|
|
|
|
<span class="app-label">{{label}}</span>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</script>
|
|
|
|
|
2015-08-21 14:47:06 +02:00
|
|
|
<!-- Scripts -->
|
|
|
|
<script type="text/javascript" src="js/dom.js"></script>
|
2015-08-20 18:41:51 +02:00
|
|
|
<script type="text/javascript" src="js/app.js"></script>
|
2015-08-21 14:47:06 +02:00
|
|
|
|
|
|
|
<!-- Application bootstrapping -->
|
2015-08-20 18:41:51 +02:00
|
|
|
<script type="text/javascript">
|
2015-08-21 14:47:06 +02:00
|
|
|
Papaye.start('#papaye')
|
2015-08-20 18:41:51 +02:00
|
|
|
.then(function() {
|
|
|
|
console.info('Application started.');
|
|
|
|
})
|
|
|
|
.catch(function(err) {
|
|
|
|
console.error(err.stack ? err.stack : err);
|
|
|
|
})
|
|
|
|
;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|