Sha256: 6628298902fb814d527ffd752156f535d1af8fc64ec269f1be4f6949174cfe47

Contents?: true

Size: 575 Bytes

Versions: 20

Compression:

Stored size: 575 Bytes

Contents

    
require 'omf-web/tab/abstract_service'

require 'omf-web/session_store'
require 'omf-web/widget/log/log_widget'


module OMF::Web::Tab::Log
  class LogService < OMF::Web::Tab::AbstractService

    def initialize(tab_id, opts = {})
      @tab_id = tab_id
      @opts = opts
      @widget = OMF::Web::Widget::Log::LogWidget.new(opts)
    end
    
    def show(req, opts)
      opts[:card_title] ||= 'Log'
      OMF::Web::Theme.require 'widget_page'
      [OMF::Web::Theme::WidgetPage.new(@widget, opts).to_html, 'text/html']
    end
  end # LogService   
 
end # module
  

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
omf_web-1.2.9 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-1.2.8 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-1.2.7 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-1.2.6 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-1.2.5 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-1.2.4 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-1.2.3 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-1.2.2 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-1.2.1 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-1.2.0 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-1.0.0 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-0.9.9 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-0.9.8 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-0.9.7 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-0.9.6 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-0.9.5 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-0.9.4 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-0.9.3 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-0.9.1 lib/omf-web/UNUSED/tab/log/log_service.rb
omf_web-0.9 lib/omf-web/UNUSED/tab/log/log_service.rb