diff --git a/lib/controllers.js b/lib/controllers.js index 3b121bd..379ec06 100644 --- a/lib/controllers.js +++ b/lib/controllers.js @@ -6,7 +6,9 @@ const accountHelpers = require.main.require('./src/controllers/accounts/helpers' const helpers = require.main.require('./src/controllers/helpers'); Controllers.renderAdminPage = (req, res) => { - res.render('admin/plugins/harmony', {}); + res.render('admin/plugins/harmony', { + title: '[[themes/harmony:theme-name]]', + }); }; Controllers.renderThemeSettings = async (req, res, next) => { diff --git a/library.js b/library.js index 13d3e96..87e7a2e 100644 --- a/library.js +++ b/library.js @@ -55,7 +55,7 @@ library.addAdminNavigation = async function (header) { header.plugins.push({ route: '/plugins/harmony', icon: 'fa-paint-brush', - name: 'Harmony Theme', + name: '[[themes/harmony:theme-name]]', }); return header; }; diff --git a/templates/admin/plugins/harmony.tpl b/templates/admin/plugins/harmony.tpl index 8fb640d..8f67b72 100644 --- a/templates/admin/plugins/harmony.tpl +++ b/templates/admin/plugins/harmony.tpl @@ -1,45 +1,48 @@ -
-
Settings
-
-
-
- - -
-
- - -
-
- - -
-
- -
- [[themes/harmony:settings.stickyToolbar]] -

- [[themes/harmony:settings.stickyToolbar.help]] -

+
+ + +
+
+ +
+ +
-
-
- -
- [[themes/harmony:settings.autohideBottombar]] -

- [[themes/harmony:settings.autohideBottombar.help]] -

+
+ +
-
-
- -
- [[themes/harmony:settings.chatModals]] +
+ +
-
- +
+ +
+ [[themes/harmony:settings.stickyToolbar]] +

+ [[themes/harmony:settings.stickyToolbar.help]] +

+
+
+
+ +
+ [[themes/harmony:settings.autohideBottombar]] +

+ [[themes/harmony:settings.autohideBottombar.help]] +

+
+
+
+ +
+ [[themes/harmony:settings.chatModals]] +
+
+ +
+ +
- -