diff --git a/public/css/admin.less b/public/css/admin.less index a46acef14c..946a2233af 100644 --- a/public/css/admin.less +++ b/public/css/admin.less @@ -73,4 +73,8 @@ background-color: rgba(128, 128, 128, 0.2); } } +} + +.motd textarea { + width: 100%; } \ No newline at end of file diff --git a/public/css/style.less b/public/css/style.less index 83f1461dea..ed91e3ba98 100644 --- a/public/css/style.less +++ b/public/css/style.less @@ -546,6 +546,26 @@ footer.footer { &.active { .inline-block; } + + i { + -webkit-transition: color 100ms linear; + -moz-transition: color 100ms linear; + -ms-transition: color 100ms linear; + -o-transition: color 100ms linear; + transition: color 100ms linear; + + &.icon-twitter-sign:hover { + color: #4099FF; + } + + &.icon-facebook-sign:hover { + color: #3b5999; + } + + &.icon-google-plus-sign:hover { + color: #d34836; + } + } } } diff --git a/public/templates/admin/footer.tpl b/public/templates/admin/footer.tpl index 30c93dfa27..30f1451590 100644 --- a/public/templates/admin/footer.tpl +++ b/public/templates/admin/footer.tpl @@ -26,46 +26,23 @@ for(x=0;x Themes
  • Settings
  • Redis
  • +
  • MOTD
  • Twitter
  • diff --git a/public/templates/admin/motd.tpl b/public/templates/admin/motd.tpl new file mode 100644 index 0000000000..cae432a050 --- /dev/null +++ b/public/templates/admin/motd.tpl @@ -0,0 +1,19 @@ + +

    MOTD

    + +
    +

    + The Message of the Day (MOTD) is typically a message shown to users when they first log into a forum or chat room. + In NodeBB, the MOTD is present at the top of the forum homepage, and can be customized much like a header. +

    +

    + You can enter either full HTML or Markdown text. +

    + +
    + + + + \ No newline at end of file diff --git a/public/templates/admin/settings.tpl b/public/templates/admin/settings.tpl index e128f80de1..c2ecb195eb 100644 --- a/public/templates/admin/settings.tpl +++ b/public/templates/admin/settings.tpl @@ -15,10 +15,31 @@

    Email Settings

    - Email Address

    +
    +

    + Email Address
    + The following email address refers to the email that the recipient will see in the "From" and "Reply To" fields. +

    + +
    +
    +

    + SMTP Server Host
    + (Default: 127.0.0.1) +

    + +
    +
    +

    + SMTP Server Port +

    + +
    + - - \ No newline at end of file + \ No newline at end of file diff --git a/public/templates/config.json b/public/templates/config.json index 551606ba59..d562f3172e 100644 --- a/public/templates/config.json +++ b/public/templates/config.json @@ -10,6 +10,7 @@ "admin/twitter[^]*": "admin/twitter", "admin/facebook[^]*": "admin/facebook", "admin/gplus[^]*": "admin/gplus", + "admin/motd/?$": "admin/motd", "install/?$": "install/mail", "install/mail/?": "install/mail", "install/social/?": "install/social", diff --git a/src/routes/admin.js b/src/routes/admin.js index 14a73e36ef..f2c40226ce 100644 --- a/src/routes/admin.js +++ b/src/routes/admin.js @@ -15,7 +15,7 @@ var user = require('./../user.js'), Admin.create_routes = function(app) { (function() { - var routes = ['categories', 'users', 'topics', 'settings', 'themes', 'twitter', 'facebook', 'gplus', 'redis']; + var routes = ['categories', 'users', 'topics', 'settings', 'themes', 'twitter', 'facebook', 'gplus', 'redis', 'motd']; for (var i=0, ii=routes.length; i