diff --git a/public/src/forum/admin/themes.js b/public/src/forum/admin/themes.js index a3685e127e..636edd2680 100644 --- a/public/src/forum/admin/themes.js +++ b/public/src/forum/admin/themes.js @@ -1,4 +1,4 @@ -define(function() { +define(['forum/admin/settings'], function(Settings) { var Themes = {}; Themes.init = function() { @@ -96,6 +96,8 @@ define(function() { instListEl.innerHTML = ''; instListEl.appendChild(themeFrag); }); + + Settings.prepare(); } Themes.render = function(bootswatch) { diff --git a/public/templates/admin/themes.tpl b/public/templates/admin/themes.tpl index 07b90b4bef..6fdf593aad 100644 --- a/public/templates/admin/themes.tpl +++ b/public/templates/admin/themes.tpl @@ -1,27 +1,56 @@

Themes


-

Custom Themes

-

- The following themes are currently installed in this NodeBB instance. -

- +
+ -

Bootswatch Themes

-

- NodeBB Themes are powered by Bootswatch, a repository containing themes built - with Bootstrap as a base theme. -

- +
+
+

Installed Themes

+

+ The following themes are currently installed in this NodeBB instance. +

+
    +
  • Checking for installed themes...
  • +
-

Revert to Default

-

- This will remove any custom theme applied to your NodeBB, and restore the base theme. -

+

Bootswatch Themes

+

+ NodeBB Themes are powered by Bootswatch, a repository containing themes built + with Bootstrap as a base theme. +

+
    +
  • Loading Themes
  • +
+ +

Revert to Default

+

+ This will remove any custom theme applied to your NodeBB, and restore the base theme. +

+
+
+

Custom CSS

+

+ You may also opt to enter your own CSS declarations here, which will be applied after all other styles. +

+ + +
+
+ +
+
+ + +
+
+