Sha256: 058610a6e779a51e6286ae4c6e7797e4c50355f624e9d844a812f2b50fdd11a1

Contents?: true

Size: 838 Bytes

Versions: 106

Compression:

Stored size: 838 Bytes

Contents

class Marty::Reporting < Netzke::Base
  def configure(c)
    super
    c.items = [
               :report_select,
               :report_form,
              ]
  end

  client_class do |c|
    c.header   = false
    c.layout   = :border
    c.defaults = {body_style: 'padding:0px'}

    c.select_report = l(<<-JS)
    function() {
       // this.netzkeGetComponent('report_form').netzkeLoad({});
       // FIXME: NetzkeReload() doesn't work when performed on
       // ReportForm. So, reload all of Reporting.
       this.netzkeReload();
    }
    JS
  end

  component :report_form do |c|
    c.klass  = Marty::ReportForm
    c.flex   = 1
    c.region = :center
  end

  component :report_select do |c|
    c.klass  = Marty::ReportSelect
    c.split  = true
    c.region = :west
    c.width  = 325
  end
end

Reporting = Marty::Reporting

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
marty-2.4.7 app/components/marty/reporting.rb
marty-2.4.6 app/components/marty/reporting.rb
marty-2.4.5 app/components/marty/reporting.rb
marty-2.4.4 app/components/marty/reporting.rb
marty-2.4.3 app/components/marty/reporting.rb
marty-2.4.2 app/components/marty/reporting.rb
marty-2.4.1 app/components/marty/reporting.rb
marty-2.4.0 app/components/marty/reporting.rb
marty-2.3.15 app/components/marty/reporting.rb
marty-2.3.14 app/components/marty/reporting.rb
marty-2.3.13 app/components/marty/reporting.rb
marty-2.3.12 app/components/marty/reporting.rb
marty-2.3.11 app/components/marty/reporting.rb
marty-2.3.10 app/components/marty/reporting.rb
marty-2.3.9 app/components/marty/reporting.rb
marty-2.3.8 app/components/marty/reporting.rb
marty-2.3.7 app/components/marty/reporting.rb
marty-2.3.5 app/components/marty/reporting.rb
marty-2.3.4 app/components/marty/reporting.rb
marty-2.1.5 app/components/marty/reporting.rb