Sha256: 53a568f80efb6687815626fe2b7d3bae148f2df9b153a8b168ccd8a123e2064e

Contents?: true

Size: 1.49 KB

Versions: 6

Compression:

Stored size: 1.49 KB

Contents

doctype html
html
  head
    title= Sidekiq::NAME
    meta name="viewport" content="width=device-width,initial-scale=1.0"
    link href='#{{root_path}}stylesheets/bootstrap.css' media='screen' rel='stylesheet' type='text/css'
    link href='#{{root_path}}stylesheets/application.css' media='screen' rel='stylesheet' type='text/css'
    script type="text/javascript" src="#{{root_path}}javascripts/application.js"

  - if params[:poll]
    javascript:
      setInterval("window.location.reload(true)", 2000);

  body.admin
    .navbar.navbar-fixed-top
      ==slim :_nav
    .navbar.navbar-fixed-bottom.navbar-inverse
      .navbar-inner
        .container
          ul.nav
            li
              p.navbar-text style="color:white;" Sidekiq v#{Sidekiq::VERSION}
            li
              p.navbar-text Redis: #{location}
            li
              p.navbar-text Time: #{Time.now.utc.strftime('%H:%M:%S UTC')}

    #page
      .container
        .row
          .span2.summary_bar
            h4
              span.title Status
              == slim :_status
            == slim :_summary
            - unless current_path.include?("dashboard")
              .row
                .span2
                  - if params[:poll]
                    a#live-poll.btn.btn-block.btn-primary.active href='#{{root_path}}#{{current_path}}' Stop Polling
                  - else
                    a#live-poll.btn.btn-block.btn-primary href='#{{root_path}}#{{current_path}}?poll=true' Live Poll

          .span10
            == yield

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sidekiq-2.6.5 web/views/layout.slim
sidekiq-2.6.4 web/views/layout.slim
sidekiq-2.6.3 web/views/layout.slim
sidekiq-2.6.2 web/views/layout.slim
sidekiq-2.6.1 web/views/layout.slim
sidekiq-2.6.0 web/views/layout.slim