Everything is in the template. re #73

This commit is contained in:
Sébastien Lucas 2013-06-16 22:14:21 +02:00
parent 10ed3f7944
commit 7640ae31f7
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,5 @@
<div class="container">
{{#def.header}} {{#def.header}}
{{#def.main}} {{#def.main}}
{{#def.footer}} {{#def.footer}}
</div>

View file

@ -40,7 +40,7 @@ function updatePage (data) {
currentData = data; currentData = data;
var result = templatePage (data); var result = templatePage (data);
document.title = data.title; document.title = data.title;
$(".container").html (result); $("body").html (result);
if ($.cookie('toolbar') == 1) $("#tool").show (); if ($.cookie('toolbar') == 1) $("#tool").show ();