diff --git a/app/controllers/my_profile/themes_controller.rb b/app/controllers/my_profile/themes_controller.rb new file mode 100644 index 0000000..52ee04e --- /dev/null +++ b/app/controllers/my_profile/themes_controller.rb @@ -0,0 +1,3 @@ +class ThemesController < ApplicationController + no_design_blocks +end diff --git a/app/helpers/themes_helper.rb b/app/helpers/themes_helper.rb new file mode 100644 index 0000000..f2b46ce --- /dev/null +++ b/app/helpers/themes_helper.rb @@ -0,0 +1,2 @@ +module ThemesHelper +end diff --git a/app/views/profile_editor/index.rhtml b/app/views/profile_editor/index.rhtml index 85487d6..6882efa 100644 --- a/app/views/profile_editor/index.rhtml +++ b/app/views/profile_editor/index.rhtml @@ -15,6 +15,8 @@ <%= file_manager_button(_('Pending tasks'), 'icons-app/todo.png', :controller => 'tasks', :action => 'index') %> <%= file_manager_button(_('Edit sideboxes'), 'icons-app/design-editor.png', :controller => 'profile_design', :action => 'index') %> + + <%= file_manager_button(_('Edit Appearance'), 'icons-app/design-editor.png', :controller => 'themes', :action => 'index') %> <%= file_manager_button(_('Edit Header and Footer'), 'icons-app/header-and-footer.png', :controller => 'profile_editor', :action => 'header_footer') %> diff --git a/app/views/shared/codepress.rhtml b/app/views/shared/codepress.rhtml new file mode 100644 index 0000000..91dad21 --- /dev/null +++ b/app/views/shared/codepress.rhtml @@ -0,0 +1 @@ +<%= javascript_include_tag 'codepress/codepress.js' %> diff --git a/app/views/themes/edit.rhtml b/app/views/themes/edit.rhtml new file mode 100644 index 0000000..bd3c8e6 --- /dev/null +++ b/app/views/themes/edit.rhtml @@ -0,0 +1,63 @@ +
+ +