Everything is in the template. re #73
This commit is contained in:
parent
10ed3f7944
commit
7640ae31f7
|
@ -1,3 +1,5 @@
|
||||||
|
<div class="container">
|
||||||
{{#def.header}}
|
{{#def.header}}
|
||||||
{{#def.main}}
|
{{#def.main}}
|
||||||
{{#def.footer}}
|
{{#def.footer}}
|
||||||
|
</div>
|
2
util.js
2
util.js
|
@ -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 ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue