Class: Cabalist::Frontend
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Cabalist::Frontend
- Defined in:
- lib/cabalist/frontend.rb
Overview
Provides a web frontend to models where Cabalist functionality has been enabled.
Constant Summary collapse
- PER_PAGE =
Specifies how many records of a given class should be visible on a web GUI page.
25
- CHART_OPTIONS =
Specifies basic options for the frontend charts to use
{ :background => '00000000', :colors => %w(6EB41E 608733 43750A 9AD952 ABD976) + %w(188D4B 286A45 085C2C 4AC680 6BC693) + %w(AFC220 879136 707E0A D0E054 D4E07A), :format => 'image_tag', :legend_position => 'bottom', :size => '400x300' }