Sha256: 0956f8e004190e8b397eeacd827d3541b166fcd36222d08760b524f7a7d761b4
Contents?: true
Size: 1.87 KB
Versions: 3
Compression:
Stored size: 1.87 KB
Contents
.section_label#handlers_label %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 Current Webhook Handlers (#{@handlers_for_admin_page.size}) #handlers_div Handler Directory: %span.monospaced= Chook.config.handler_dir.to_s %button#reload_all_handlers_btn{ type: 'button', onClick: 'reload_handlers();', title: 'reload all handlers' } Reload %span#reloaded_notification %table#handlers_table %tr#handlers_table_header_row %th.handlers_table_cell Event %th.handlers_table_cell{ width: '10%' } Handler Type %th.handlers_table_cell File Name %th.handlers_table_cell Actions - @handlers_for_admin_page.each do |hndlr_info| %tr %td.handlers_table_cell= hndlr_info[:event] %td.handlers_table_cell= hndlr_info[:type].to_s %td.handlers_table_cell= hndlr_info[:file].basename.to_s %td.handlers_table_cell %button.edit_handler_btn{ type: 'button', onClick: "edit_handler('#{hndlr_info[:file].basename}', '#{hndlr_info[:type]}');", title: 'View this handler' } View #handler_viewer_div %input#currently_viewing_handler_file{ name: 'currently_viewing_handler_file', type: :hidden } %input#currently_editing_handler_type{ name: 'currently_editing_handler_type', type: :hidden } #currently_viewing_handler_label %button#hide_handler_viewer_btn{ type: 'button', onClick: 'hide_handler_viewer();', title: 'hide the handler editor' } Hide Viewing handler: %span.monospaced#currently_viewing_filename -nothing- %textarea.monospaced#handler_viewer{ rows: 35 , readonly: true }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chook-1.1.2 | lib/chook/server/views/handlers.haml |
chook-1.1.1 | lib/chook/server/views/handlers.haml |
chook-1.1.0 | lib/chook/server/views/handlers.haml |