diff --git a/public/less/admin/admin.less b/public/less/admin/admin.less index 71aa01f4c5..2a44e86ad9 100644 --- a/public/less/admin/admin.less +++ b/public/less/admin/admin.less @@ -26,6 +26,11 @@ background: #fff; font-size: 14px; + h1 { + font-size: 35px; + margin-bottom: 50px; + } + label { font-weight: 700; } diff --git a/public/src/admin/settings.js b/public/src/admin/settings.js index 07fe9311ad..03c07ac019 100644 --- a/public/src/admin/settings.js +++ b/public/src/admin/settings.js @@ -9,6 +9,11 @@ define('admin/settings', ['uploader', 'sounds'], function(uploader, sounds) { }; Settings.populateTOC = function() { + var title = ajaxify.currentPage + .replace('admin/settings/', '') + .replace(/\w\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();}); + + $('#settings-title').text(title + ' Settings'); $('.settings-header').each(function() { var header = $(this).text(), anchor = header.toLowerCase().replace(/ /g, '-').trim(); diff --git a/src/views/admin/settings/general.tpl b/src/views/admin/settings/general.tpl index 8f2327c0e4..e1f1f80306 100644 --- a/src/views/admin/settings/general.tpl +++ b/src/views/admin/settings/general.tpl @@ -1,17 +1,5 @@ - -
-
- Contents -
-
- -
-
-
Site Settings diff --git a/src/views/admin/settings/header.tpl b/src/views/admin/settings/header.tpl index 1a60075f9e..115c222965 100644 --- a/src/views/admin/settings/header.tpl +++ b/src/views/admin/settings/header.tpl @@ -1 +1,13 @@ -
\ No newline at end of file +
+

General Settings

+ +
+
+ Contents +
+
+ +
+
\ No newline at end of file