Commit 5f8a5955 authored by Sindre Sorhus's avatar Sindre Sorhus

Merge pull request #505 from petermichaux/gh-pages

Fix missing footer in Maria app and move Maria app to stable
parents f7c4b625 242297ef
......@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Maria • TodoMVC</title>
<link href="../../../../assets/base.css" rel="stylesheet">
<link href="../../../assets/base.css" rel="stylesheet">
<link href="css/app.css" rel="stylesheet">
</head>
......@@ -12,7 +12,7 @@
<script src="../lib/maria/maria.js"></script>
<script src="../lib/aristocrat/aristocrat.js"></script>
<script src="../../../../assets/director.min.js"></script>
<script src="../../../assets/director.min.js"></script>
<script src="js/namespace.js"></script>
<script src="js/util.js"></script>
......@@ -26,5 +26,11 @@
<script src="js/controllers/TodoController.js"></script>
<script src="js/bootstrap.js"></script>
<footer id="info">
<p>Double-click to edit a todo</p>
<p>Created by <a href="http://github.com/petermichaux">Peter Michaux</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer>
</body>
</html>
......@@ -30,5 +30,5 @@ maria.on(window, 'load', function() {
router.init();
var view = new checkit.TodosAppView(model);
document.body.appendChild(view.build());
document.body.insertBefore(view.build(), document.body.firstChild);
});
......@@ -34,9 +34,4 @@ checkit.TodosAppTemplate =
'</ul>' +
'<button id="clear-completed"></button>' +
'</footer>' +
'</section>' +
'<footer id="info">' +
'<p>Double-click to edit a todo</p>' +
'<p>Inspired by the official <a href="https://github.com/maccman/spine.todos">Spine.Todos</a></p>' +
'<p>Created by <a href="http://github.com/petermichaux">Peter Michaux</a></p>' +
'</footer>';
'</section>';
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment