Tabulous.setup do |config| config.tabs do # this comment should be preserved and not otherwise affect anything [ # this comment should be preserved and not otherwise affect anything #----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------# # TAB NAME | DISPLAY TEXT | PATH | VISIBLE? | ENABLED? # #----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------# [ :home_tab , 'Explanation' , '/' , true , true ], # this comment should be preserved and not otherwise affect anything [ :galaxies_tab , 'Galaxies' , '/galaxies/elliptical_galaxies' , true , true ], [ :elliptical_galaxies_subtab , 'Elliptical Galaxies' , '/galaxies/elliptical_galaxies' , true , true ], [ :spiral_galaxies_subtab , 'Spiral Galaxies' , '/galaxies/spiral_galaxies' , true , true ], [ :lenticular_galaxies_subtab , 'Lenticular Galaxies' , '/galaxies/lenticular_galaxies' , true , true ], [ :planets_tab , 'Planets' , '/exoplanets' , true , true ], # this comment should be preserved and not otherwise affect anything [ :exoplanets_subtab , 'Exoplanets' , '/exoplanets' , true , true ], [ :rogue_planets_subtab , 'Rogue Planets' , '/rogue_planets' , true , true ], [ :stars_tab , 'Stars' , '/stars' , true , true ], [ :hidden_tab , 'Hidden' , '/hidden/always_visible' , lambda { request.path =~ /(hidden|galaxies)/ } , true ], [ :always_visible_subtab , 'Always Visible' , '/hidden/always_visible' , true , true ], [ :always_hidden_subtab , 'Always Hidden' , '/hidden/always_hidden' , false , true ], [ :disabled_tab , 'Disabled' , '/disabled/always_enabled' , true , lambda { request.path =~ /(disabled|stars)/ } ], [ :always_enabled_subtab , 'Always Enabled' , '/disabled/always_enabled' , true , true ], [ :always_disabled_subtab , 'Always Disabled' , '/disabled/always_disabled' , true , false ], # this comment should be preserved and not otherwise affect anything #----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------# # TAB NAME | DISPLAY TEXT | PATH | VISIBLE? | ENABLED? # #----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------# ] # this comment should be preserved and not otherwise affect anything end # this comment should be preserved and not otherwise affect anything config.actions do # this comment should be preserved and not otherwise affect anything [ # this comment should be preserved and not otherwise affect anything #-----------------------------------------------------------------------------------------# # CONTROLLER | ACTION | TAB # #-----------------------------------------------------------------------------------------# [ :home , :all_actions , :home_tab ], # this comment should be preserved and not otherwise affect anything [ :elliptical_galaxies , :all_actions , :elliptical_galaxies_subtab ], [ :spiral_galaxies , :all_actions , :spiral_galaxies_subtab ], [ :lenticular_galaxies , :all_actions , :lenticular_galaxies_subtab ], [ :exoplanets , :all_actions , :exoplanets_subtab ], [ :rogue_planets , :all_actions , :rogue_planets_subtab ], # this comment should be preserved and not otherwise affect anything [ :stars , :all_actions , :stars_tab ], [ :misc , :always_visible , :always_visible_subtab ], [ :misc , :always_hidden , :always_hidden_subtab ], [ :misc , :always_enabled , :always_enabled_subtab ], [ :misc , :always_disabled , :always_disabled_subtab ], #-----------------------------------------------------------------------------------------# # CONTROLLER | ACTION | TAB # #-----------------------------------------------------------------------------------------# ] # this comment should be preserved and not otherwise affect anything end # this comment should be preserved and not otherwise affect anything config.css.scaffolding = true config.css.background_color = '#cec' config.css.text_color = '#464' config.css.active_tab_color = '#fff' config.css.hover_tab_color = '#dfd' config.css.inactive_tab_color = '#aca' config.css.inactive_text_color = '#8a8' end