From 97bc187735a785b8b04a73f29e1d66566e58c53c Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 15 Nov 2013 15:22:42 -0500 Subject: [PATCH] Use stacked nav on left to navigate site settings categories --- .../templates/site_settings.js.handlebars | 23 +++++++--- .../site_settings/setting_bool.js.handlebars | 4 +- .../site_settings/setting_enum.js.handlebars | 6 +-- .../setting_string.js.handlebars | 8 ++-- .../site_settings_category.js.handlebars | 3 ++ .../stylesheets/common/admin/admin_base.scss | 43 +++++++++++++------ 6 files changed, 57 insertions(+), 30 deletions(-) diff --git a/app/assets/javascripts/admin/templates/site_settings.js.handlebars b/app/assets/javascripts/admin/templates/site_settings.js.handlebars index 4b959af389f..f977f126a6d 100644 --- a/app/assets/javascripts/admin/templates/site_settings.js.handlebars +++ b/app/assets/javascripts/admin/templates/site_settings.js.handlebars @@ -10,12 +10,21 @@ - +
+ +
-
+
+ {{ outlet }} +
-{{ outlet }} +
diff --git a/app/assets/javascripts/admin/templates/site_settings/setting_bool.js.handlebars b/app/assets/javascripts/admin/templates/site_settings/setting_bool.js.handlebars index 53282604f1d..277c45685d9 100644 --- a/app/assets/javascripts/admin/templates/site_settings/setting_bool.js.handlebars +++ b/app/assets/javascripts/admin/templates/site_settings/setting_bool.js.handlebars @@ -1,7 +1,7 @@ -
+

{{unbound setting}}

-
+