Sha256: f7877f540041d0275f44e5b19aba21f0572ecd3b2bb246fec04ad95060ce001d

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 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"
    script type="text/javascript" src="#{{root_path}}javascripts/locales/jquery.timeago.#{locale}.js"

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

  body.admin
    .navbar.navbar-fixed-top
      ==slim :_nav

    #page
      .container
        .row
          .span12.summary_bar
            .row
              h4.span10
                span.title = t('Status')
                == slim :_status
              - unless current_path == ''
                .span2.pull-right.actions
                  - if params[:poll]
                    a#live-poll.btn.btn-block.btn-primary.active href='#{{root_path}}#{{current_path}}' = t('StopPolling')
                  - else
                    a#live-poll.btn.btn-block.btn-primary href='#{{root_path}}#{{current_path}}?poll=true' = t('LivePoll')
            == slim :_summary

          .span12
            == yield

  .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 #{t('Time')}: #{Time.now.utc.strftime('%H:%M:%S UTC')}
          - if namespace
            li
              p.navbar-text #{t('Namespace')}: #{namespace}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-2.13.1 web/views/layout.slim