Sha256: ebff5803df52daaff014ae508a6276931f42c684c597f963e945909eeec3487f

Contents?: true

Size: 664 Bytes

Versions: 10

Compression:

Stored size: 664 Bytes

Contents

Dir[File.dirname(__FILE__) + '/controllers/*.rb'].each {|file| require file  unless File.basename(file) == 'init.rb'}
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','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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
prometheus-splash-0.9.1 lib/splash/webadmin/portal/init.rb
prometheus-splash-0.9.0 lib/splash/webadmin/portal/init.rb
prometheus-splash-0.8.6 lib/splash/webadmin/portal/init.rb
prometheus-splash-0.8.5 lib/splash/webadmin/portal/init.rb
prometheus-splash-0.8.4 lib/splash/webadmin/portal/init.rb
prometheus-splash-0.8.3 lib/splash/webadmin/portal/init.rb
prometheus-splash-0.8.2 lib/splash/webadmin/portal/init.rb
prometheus-splash-0.8.1 lib/splash/webadmin/portal/init.rb
prometheus-splash-0.8.0 lib/splash/webadmin/portal/init.rb
prometheus-splash-0.7.0 lib/splash/webadmin/portal/init.rb