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 @@
- The following themes are currently installed in this NodeBB instance. -
-- NodeBB Themes are powered by Bootswatch, a repository containing themes built - with Bootstrap as a base theme. -
-+ The following themes are currently installed in this NodeBB instance. +
+- This will remove any custom theme applied to your NodeBB, and restore the base theme. -
++ NodeBB Themes are powered by Bootswatch, a repository containing themes built + with Bootstrap as a base theme. +
++ This will remove any custom theme applied to your NodeBB, and restore the base theme. +
++ You may also opt to enter your own CSS declarations here, which will be applied after all other styles. +
+ + + + + +