This commit is contained in:
Caleb James DeLisle
2017-07-22 16:43:53 +02:00
parent ffb5e555a0
commit 8404017af1
19 changed files with 268 additions and 146 deletions

View File

@@ -174,9 +174,14 @@ $(function () {
}
require([
'less!/customize/src/less/cryptpad.less',
'less!/customize/src/less2/main.less',
'css!/bower_components/bootstrap/dist/css/bootstrap.min.css',
], function () {
if (pathname === '/') {
// TODO(cjd): This is a hack because the template system doesn't make it easy.
$body.append($main);
return;
}
$body.append($topbar).append($main).append($footer);
if (/^\/user\//.test(pathname)) {