From 1952149b4c4056d6ce02c7fbbe5c69d5a5aed241 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 26 Sep 2014 19:43:12 -0400 Subject: [PATCH] settings pages done! --- src/views/admin/header.tpl | 1 - src/views/admin/languages.tpl | 2 +- src/views/admin/settings/advanced.tpl | 57 +++--- src/views/admin/settings/email.tpl | 31 ++- src/views/admin/settings/general.tpl | 105 +++++----- src/views/admin/settings/pagination.tpl | 27 +-- src/views/admin/settings/post.tpl | 135 ++++++++----- src/views/admin/settings/reputation.tpl | 68 ++++--- src/views/admin/settings/sockets.tpl | 39 ++-- src/views/admin/settings/tags.tpl | 15 +- src/views/admin/settings/user.tpl | 245 +++++++++++++---------- src/views/admin/settings/web-crawler.tpl | 41 ++-- 12 files changed, 437 insertions(+), 329 deletions(-) diff --git a/src/views/admin/header.tpl b/src/views/admin/header.tpl index 637de52f45..e57c70af21 100644 --- a/src/views/admin/header.tpl +++ b/src/views/admin/header.tpl @@ -100,7 +100,6 @@
  • Dashboard
  • Languages
  • -
  • Settings
  • Sounds
  • diff --git a/src/views/admin/languages.tpl b/src/views/admin/languages.tpl index 4a5d5fe6a1..21b689420d 100644 --- a/src/views/admin/languages.tpl +++ b/src/views/admin/languages.tpl @@ -1,7 +1,7 @@
    -
    Languages
    +
    Language Settings

    The default language determines the language settings for all users who diff --git a/src/views/admin/settings/advanced.tpl b/src/views/admin/settings/advanced.tpl index c62429a07d..26ee0700d4 100644 --- a/src/views/admin/settings/advanced.tpl +++ b/src/views/admin/settings/advanced.tpl @@ -1,30 +1,37 @@ -

    -
    -
    - -
    -

    - When the forum is in maintenance mode, all requests will be redirected to a static holding page. - Administrators are exempt from this redirection, and are able to access the site normally. -

    -
    -
    -
    -
    -
    - -
    -
    -
    - -
    +
    +
    Maintenance Mode
    +
    + +
    + +

    - Leave blank for default + When the forum is in maintenance mode, all requests will be redirected to a static holding page. + Administrators are exempt from this redirection, and are able to access the site normally.

    -
    - + +
    +
    + +
    +
    Domain Settings
    +
    +
    +
    + +
    +
    +
    + +
    +

    + Leave blank for default +

    +
    +
    +
    \ No newline at end of file diff --git a/src/views/admin/settings/email.tpl b/src/views/admin/settings/email.tpl index 31116d2246..904f4176c9 100644 --- a/src/views/admin/settings/email.tpl +++ b/src/views/admin/settings/email.tpl @@ -1,6 +1,7 @@ -
    -
    -
    +
    +
    Email Settings
    +
    +

    Please ensure that you have installed a third-party emailer (e.g. PostageApp, Mailgun, Mandrill, SendGrid, etc), otherwise emails will not be sent by NodeBB

    @@ -15,15 +16,23 @@

    The test email will be sent to the currently logged in user's email address.

    -
    +
    +
    +
    -
    -
    - -
    +
    + +
    +
    Email Subscriptions
    +
    +
    +
    + +
    +
    - +
    \ No newline at end of file diff --git a/src/views/admin/settings/general.tpl b/src/views/admin/settings/general.tpl index f79bf49416..573cef89b9 100644 --- a/src/views/admin/settings/general.tpl +++ b/src/views/admin/settings/general.tpl @@ -1,51 +1,60 @@ -
    -
    - - - -
    - -
    - - - -

    - If no browser title is specified, the site title will be used -

    - - -
    - - -
    - - -
    -

    - -
    -
    -

    - -
    -
    - -
    -
    - -
    -
    - -
    -
    +
    +
    Site Settings
    +
    +
    + + + +
    + +
    + + + +

    + If no browser title is specified, the site title will be used +

    + + +
    + + +
    + + +
    +

    + +
    +
    +

    +
    +
    +
    + +
    +
    General Settings
    +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    \ No newline at end of file diff --git a/src/views/admin/settings/pagination.tpl b/src/views/admin/settings/pagination.tpl index 11597cf110..de9c9bd801 100644 --- a/src/views/admin/settings/pagination.tpl +++ b/src/views/admin/settings/pagination.tpl @@ -1,16 +1,19 @@ -
    -
    -
    - -
    +
    +
    Pagination Settings
    +
    + +
    + +
    - Topics per Page

    - Posts per Page

    -
    - Initial Number of Topics to Load (Unread, Recent, Popular etc.)

    + Topics per Page

    + Posts per Page

    +
    + Initial Number of Topics to Load (Unread, Recent, Popular etc.)
    +
    - +
    \ No newline at end of file diff --git a/src/views/admin/settings/post.tpl b/src/views/admin/settings/post.tpl index f4b9f57df5..f8fc856865 100644 --- a/src/views/admin/settings/post.tpl +++ b/src/views/admin/settings/post.tpl @@ -1,61 +1,86 @@ -
    -
    -
    - - -
    +
    +
    Post Settings
    +
    + +
    + + +
    - Seconds between Posts

    - Seconds before new user can post

    - Minimum Title Length

    - Maximum Title Length

    - Minimum Post Length

    -
    - -
    - Chat Message Inbox Size

    -
    - -
    - Maximum File Size

    + Seconds between Posts

    + Seconds before new user can post

    + Minimum Title Length

    + Maximum Title Length

    + Minimum Post Length

    +
    + +
    + +
    +
    + +
    +
    Chat Settings
    +
    +
    + Chat Message Inbox Size
    +
    +
    +
    -
    - -
    - Topic Thumb Size

    +
    +
    Upload Settings
    +
    +
    +
    + +
    + Maximum File Size

    + +
    + +
    + Topic Thumb Size
    +
    +
    +
    -

    Composer Settings

    -

    - The following settings govern the functionality and/or appearance of the post composer shown - to users when they create new topics, or reply to existing topics. -

    -
    - -
    -
    - -
    -
    - - -
    +
    +
    Composer Settings
    +
    +
    +

    + The following settings govern the functionality and/or appearance of the post composer shown + to users when they create new topics, or reply to existing topics. +

    +
    + +
    +
    + +
    +
    + + +
    +
    - +
    \ No newline at end of file diff --git a/src/views/admin/settings/reputation.tpl b/src/views/admin/settings/reputation.tpl index 834a39e14e..704a93fef1 100644 --- a/src/views/admin/settings/reputation.tpl +++ b/src/views/admin/settings/reputation.tpl @@ -1,34 +1,48 @@ -
    -
    -
    - -
    -
    - -
    +
    +
    Reputation Settings
    +
    + +
    + +
    +
    + +
    +
    +
    -
    -

    Privilege Thresholds

    -

    Use privilege thresholds to manage how much reputation a user must gain to receive moderator access.


    - Manage Thread

    - Manage Content

    -
    - -
    + +
    +
    Privilege Thresholds
    +
    +
    +

    + Use privilege thresholds to manage how much reputation a user must gain to receive moderator access. +

    + Manage Thread

    + Manage Content

    +
    + +
    +
    +
    -
    -

    Activity Thresholds

    - Minimum reputation to downvote posts

    - Minimum reputation to flag posts

    +
    +
    Activity Thresholds
    +
    +
    + Minimum reputation to downvote posts

    + Minimum reputation to flag posts

    +
    - +
    \ No newline at end of file diff --git a/src/views/admin/settings/sockets.tpl b/src/views/admin/settings/sockets.tpl index 7e1157fc33..c02b78ba25 100644 --- a/src/views/admin/settings/sockets.tpl +++ b/src/views/admin/settings/sockets.tpl @@ -1,21 +1,24 @@ -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -

    - Leave blank if unsure. -

    -
    +
    +
    Web Socket Settings
    +
    + +
    + +
    +
    +
    + +
    +
    +
    + +
    +

    + Leave blank if unsure. +

    +
    +
    - +
    \ No newline at end of file diff --git a/src/views/admin/settings/tags.tpl b/src/views/admin/settings/tags.tpl index 6dfe98024c..05e794677b 100644 --- a/src/views/admin/settings/tags.tpl +++ b/src/views/admin/settings/tags.tpl @@ -1,9 +1,12 @@ -
    -
    - Tags per Topic

    - Minimum Tag Length

    - Maximum Tag Length

    +
    +
    Tag Settings
    +
    + + Tags per Topic

    + Minimum Tag Length

    + Maximum Tag Length

    +
    - +
    \ No newline at end of file diff --git a/src/views/admin/settings/user.tpl b/src/views/admin/settings/user.tpl index f945cce7d8..9d99b64300 100644 --- a/src/views/admin/settings/user.tpl +++ b/src/views/admin/settings/user.tpl @@ -1,117 +1,146 @@ -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -

    Avatars

    -
    - -
    +
    +
    User Settings
    +
    + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    + +
    +
    + +
    +
    Avatars
    +
    +
    +
    + +
    + +
    + + +
    -
    - - -
    +
    + +
    + +
    -
    - -
    - -
    +
    + + +
    -
    - - -
    +
    + + +
    +
    +
    +
    +
    +
    Account Protection
    +
    +
    +
    + + +

    + If login attempts to a user's account exceeds this threshold, that account will be locked for a pre-configured amount of time +

    +
    +
    + + +
    +
    + + +
    +
    +
    +
    -

    Account Protection

    -
    - - -

    - If login attempts to a user's account exceeds this threshold, that account will be locked for a pre-configured amount of time -

    -
    -
    - - -
    -
    - - -
    +
    +
    User Bans
    +
    +
    +
    + + +
    +
    +
    + +
    + + +
    +
    +
    -

    Other

    -
    - - -
    -
    -
    - -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    +
    +
    User Registration
    +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    - +
    \ No newline at end of file diff --git a/src/views/admin/settings/web-crawler.tpl b/src/views/admin/settings/web-crawler.tpl index 1913e6bf16..20d66fb2e5 100644 --- a/src/views/admin/settings/web-crawler.tpl +++ b/src/views/admin/settings/web-crawler.tpl @@ -1,23 +1,30 @@ -
    -
    - Custom Robots.txt Leave blank for default
    - +
    +
    Crawlability Settings
    +
    + + Custom Robots.txt Leave blank for default
    + +
    +
    -
    - Feeds -
    - -
    +
    +
    Sitemap & Feed Settings
    +
    +
    +
    + +
    -
    - -
    +
    + +
    +
    - +
    \ No newline at end of file