Base documentation, séparation code DOM dans fichier distinct
This commit is contained in:
14
index.html
14
index.html
@ -1,11 +1,14 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Kaki Launcher</title>
|
||||
<title>Lanceur - Papaye</title>
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="kaki"></div>
|
||||
|
||||
<!-- Application root element -->
|
||||
<div id="papaye"></div>
|
||||
|
||||
<!-- Templates -->
|
||||
<script id="items-list-tpl" type="text/x-template">
|
||||
<ul class="apps-list">
|
||||
{{#each items}}
|
||||
@ -17,10 +20,13 @@
|
||||
</ul>
|
||||
</script>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script type="text/javascript" src="js/dom.js"></script>
|
||||
<script type="text/javascript" src="js/app.js"></script>
|
||||
|
||||
<!-- Application bootstrapping -->
|
||||
<script type="text/javascript">
|
||||
// Start the app
|
||||
Kaki.start('#kaki')
|
||||
Papaye.start('#papaye')
|
||||
.then(function() {
|
||||
console.info('Application started.');
|
||||
})
|
||||
|
Reference in New Issue
Block a user