Sha256: 1f97b5e87fc276fc33f3657ac8125969090e4fbcce119503247d402ea429699f

Contents?: true

Size: 1.71 KB

Versions: 5

Compression:

Stored size: 1.71 KB

Contents

%hr/
.section_label#log_label
  The Live Chook Log
      
  %button#view_log_btn{ type: 'button', onClick: 'view_log();', title: 'view the live Chook log' }
    View
  %button#hide_log_btn{ type: 'button', onClick: 'hide_log();', title: 'hide the live Chook log' }
    Hide
       Log Level:
  %select#log_level_select{ onchange: 'change_log_level();' }
    %option{ value: 'fatal', selected: Chook.logger.level == Logger::FATAL } fatal
    %option{ value: 'error', selected: Chook.logger.level == Logger::ERROR } error
    %option{ value: 'warn', selected: Chook.logger.level == Logger::WARN } warn
    %option{ value: 'info', selected: Chook.logger.level == Logger::INFO } info
    %option{ value: 'debug', selected: Chook.logger.level == Logger::DEBUG } debug

#logbox_div
  #logbox_btns
    %input#pause_log{ type: 'checkbox', checked: false, onclick: 'update_logbox();' }
      Pause
        
    %button#clear_log_btn{ type: 'button', onClick: 'clear_log();', title: 'clear the live Chook log' }
      Clear

  // Log Level: [popup list] (set)
  %textarea.monospaced#logbox{ readonly: true, rows: 20, cols: 150 }

%hr/
.section_label#handlers_label
  Current Webhook Handlers (#{@handlers_for_admin_page.size})
      

  %button#view_handlers_btn{ type: 'button', onClick: 'view_handlers();', title: 'view the handler list' }
    View
  %button#hide_handlers_btn{ type: 'button', onClick: 'hide_handlers();', title: 'hide the handler list' }
    Hide
      

  Handler Directory:
  %span.monospaced
    = Chook.config.handler_dir.to_s

#handlers_div
  %table#handlers_table
    %tr
      %th Event
      %th Handler Type
      %th File Name

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chook-1.1.5 lib/chook/server/views/bak.haml
chook-1.1.5b1 lib/chook/server/views/bak.haml
chook-1.1.2 lib/chook/server/views/bak.haml
chook-1.1.1 lib/chook/server/views/bak.haml
chook-1.1.0 lib/chook/server/views/bak.haml