diff --git a/app/controllers/configuration_controller.rb b/app/controllers/configuration_controller.rb index 0f5e77d504b5..ef682a56d37b 100644 --- a/app/controllers/configuration_controller.rb +++ b/app/controllers/configuration_controller.rb @@ -142,19 +142,6 @@ def nav_style_changed end end - # AJAX driven routine for background color selection - def bg_color_changed - # ui1 bgcolor changed - @edit = session[:edit] - @edit[:new][:display][:bg_color] = params[:bg_color] # Capture the new setting - session[:changed] = (@edit[:new] != @edit[:current]) - @changed = session[:changed] - render :update do |page| - page << javascript_prologue - page.replace 'tab_div', :partial => "ui_1" - end - end - def update if params["save"] get_form_vars if @tabform != "ui_3" diff --git a/app/helpers/ui_constants.rb b/app/helpers/ui_constants.rb index e96590eaee2b..f78eca631cc0 100644 --- a/app/helpers/ui_constants.rb +++ b/app/helpers/ui_constants.rb @@ -22,16 +22,6 @@ module UiConstants "Vmware RSS Feeds" => "http://vmware.simplefeed.net/rss?f=995b0290-01dc-11dc-3032-0019bbc54f6f" } - # Screen background color choices - BG_COLORS = [ - "#c00", # First entry is the default - "#ff8a00", - "#ffe400", - "#6b9130", - "#0c7ad7", - "#000" - ] - # Navigation Styles NAV_STYLES = [ "vertical", # First entry is the default @@ -180,7 +170,6 @@ module UiConstants :reporttheme => "MIQ", :quad_truncate => "m", :theme => "red", # Luminescent Blue - :bg_color => BG_COLORS.first, # Background color :taskbartext => true, # Show button text on taskbar :vmcompare => "Compressed", # Start VM compare and drift in compressed mode :hostcompare => "Compressed", # Start Host compare in compressed mode