diff --git a/public/src/installer/install.js b/public/src/installer/install.js new file mode 100644 index 0000000000..48464808ff --- /dev/null +++ b/public/src/installer/install.js @@ -0,0 +1,14 @@ +"use strict"; + +$('document').ready(function() { + setupInputs(); + + + + function setupInputs() { + $('.form-control').on('focus', function() { + $('.input-row.active').removeClass('active'); + $(this).parents('.input-row').addClass('active'); + }); + } +}); \ No newline at end of file diff --git a/src/views/install/index.tpl b/src/views/install/index.tpl index c422c302f5..b5d932efa2 100644 --- a/src/views/install/index.tpl +++ b/src/views/install/index.tpl @@ -21,6 +21,23 @@ .btn, .form-control, .navbar { border-radius: 0; } .container { font-size: 18px; } body, small, p, div { font-family: "Roboto", sans-serif; } + .input-row { + margin-bottom: 20px; + } + .input-row.active .input-field { + border-right: 5px solid #BF3E11; + padding-right: 20px; + } + .input-row.active .help-text { + display: block; + } + + .help-text { + line-height: 20px; + color: #888; + font-size: 85%; + display: none; + } @@ -52,15 +69,30 @@

Welcome to the NodeBB Installer!
You are just a few steps away from launching your own NodeBB forum


-

- Administrator -

-

- - -

+
+
+
+ + +
+
+ Here is some sample help text. Username should be between 6 and 12 characters long. +
+
+
+
+ + +
+
+ Here is some sample help text. Username should be between 6 and 12 characters long. +
+
+
+ + \ No newline at end of file