diff --git a/app.js b/app.js index b9759de5bc..96b367830c 100644 --- a/app.js +++ b/app.js @@ -4,7 +4,8 @@ var modules = { posts: require('./src/posts.js'), templates: require('./src/templates.js'), webserver: require('./src/webserver.js'), - websockets: require('./src/websockets.js') + websockets: require('./src/websockets.js'), + fs: require('fs') } DEVELOPMENT = true; @@ -13,9 +14,6 @@ var modules = { global.configuration = {}; global.modules = modules; -// change this to = null when auth module is complete -// global.uid = 1; - process.on('uncaughtException', function(err) { // handle the error safely @@ -28,7 +26,6 @@ process.on('uncaughtException', function(err) { config['ROOT_DIRECTORY'] = __dirname; modules.templates.init(); - // modules.webserver.init(); modules.websockets.init(); diff --git a/public/css/style.less b/public/css/style.less index 06d0cda1e8..19fc47425e 100644 --- a/public/css/style.less +++ b/public/css/style.less @@ -168,4 +168,11 @@ footer.footer { .inline-block; .pointer; } +} + +.none { + display: none !important; +} +.block { + display: block !important; } \ No newline at end of file diff --git a/public/templates/login.tpl b/public/templates/login.tpl index d2f06bef2b..304b8bd180 100644 --- a/public/templates/login.tpl +++ b/public/templates/login.tpl @@ -1,6 +1,6 @@