formations/javascript/base/exercices/vanilla-todos/index.html

45 lines
1.2 KiB
HTML
Raw Normal View History

2015-04-01 11:17:02 +02:00
<html>
<head>
<meta charset="utf8">
2015-04-01 11:17:02 +02:00
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<h1><img class="logo" src="../../img/vanilla.png" /> Vanilla Todos</h1>
2015-04-01 11:17:02 +02:00
<div id="vanilla-todos">
<table>
<thead>
<tr>
<th colspan="2">
<input class="search-todos" type="text" placeholder="Filtrer les tâches..." />
2015-04-01 11:17:02 +02:00
</th>
</tr>
<tr>
<th>Mes tâches</th>
2015-04-01 11:17:02 +02:00
<th>Actions</th>
</tr>
</thead>
<tbody class="todos-list">
<tr>
<td colspan="2" class="no-todo">Pas de tâches pour le moment !</td>
2015-04-01 11:17:02 +02:00
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2">
<input class="new-todo" type="text" placeholder="Créer une nouvelle tâche..."/>
2015-04-01 11:17:02 +02:00
</td>
</tr>
</tfoot>
</table>
</div>
</div>
<script src="vanilla-todos.js"></script>
<script>
(function() {
VanillaTodos.mount('#vanilla-todos');
}());
</script>
</body>
</html>