Node.js based forum software built for the modern web
installer ux fixes
psychobunnyddd5c494618c
diff --git a/install/web.js b/install/web.jsindex 9739701de4..f406d3ba35 100644--- a/install/web.js+++ b/install/web.js@@ -63,17 +63,11 @@ function welcome(req, res) {});});- fs.readFile(path.join(__dirname, '../config.json'), function(err, file) {- if (file) {- res.locals.success = true;- }-- res.render('install/index', {- databases: databases,- error: res.locals.error ? true : false,- success: res.locals.success ? true : false,- values: req.body- });+ res.render('install/index', {+ databases: databases,+ error: res.locals.error ? true : false,+ success: res.locals.success ? true : false,+ values: req.body});}@@ -102,7 +96,7 @@ function install(req, res) {}function launch(req, res) {-+ res.json({});}function compileLess(callback) {diff --git a/public/src/installer/install.js b/public/src/installer/install.jsindex 4fc8677266..26c757ea1f 100644--- a/public/src/installer/install.js+++ b/public/src/installer/install.js@@ -112,5 +112,9 @@ $('document').ready(function() {function launchForum() {$('#launch .fa-spin').removeClass('hide');++ $.post('/launch', function() {+ console.log('launched');+ });}});\ No newline at end of filediff --git a/src/views/install/index.tpl b/src/views/install/index.tplindex 98781e3821..6935a9f3d9 100644--- a/src/views/install/index.tpl+++ b/src/views/install/index.tpl@@ -103,7 +103,7 @@<option value="mongo">MongoDB</option></select></div>- <!-- IF error --><div class="col-sm-5 help-text">There was an error connecting to your database. Please try again.</div><!-- ENDIF error -->+ <div class="col-sm-5 help-text" data-help="Leave the fields blank to use the default settings."><!-- IF error -->There was an error connecting to your database. Please try again.<!-- ENDIF error --></div></div><div id="database-config"></div>