lib/splash/webadmin/portal/init.rb in prometheus-splash-0.6.1 vs lib/splash/webadmin/portal/init.rb in prometheus-splash-0.7.0
- old
+ new
@@ -2,10 +2,10 @@
Dir[File.dirname(__FILE__) + '/helpers/*.rb'].each {|file| require file unless File.basename(file) == 'init.rb'}
Slim::Engine.set_options pretty: true
def get_menu(current)
- @menu = ['Logs','Processes','Commands','RestCLIENT','Proxy/Links','Documentation']
- @menu_icons = {'Logs' => "file-text",'Processes' => "cogs",'Commands' => 'play-circle-o','RestCLIENT' => "server",'Proxy/Links' => 'random','Documetation' => 'medkit'}
+ @menu = ['Logs','Processes','Commands','Sequences','RestCLIENT','Proxy/Links','Documentation']
+ @menu_icons = {'Logs' => "file-text",'Processes' => "cogs",'Commands' => 'play-circle-o','Sequences' => "cubes",'RestCLIENT' => "server",'Proxy/Links' => 'random','Documetation' => 'medkit'}
@current_item = nil
@current_item = @menu[current] unless current == -1
end