Sha256: 856c78d0d50ada75ad31873e03072e0ee615f1b7c14ced17a6f7c2239b276ab2

Contents?: true

Size: 1.26 KB

Versions: 5

Compression:

Stored size: 1.26 KB

Contents

h2 <i class="uk-icon-#{@menu_icons[@current_item]} uk-icon-medium "></i>&nbsp;&nbsp;Logs configured in Splash

div.uk-width-medium-1-1
  div.uk-panel.uk-panel-box
    span.uk-text-large.uk-text-bold List of logs monitored
    br
    table.uk-table.uk-table-hover.uk-table-striped
      thead
        tr
          th Log record label
          th Definition
          th Status
        tbody
          - @data.each do |log|
            tr
              td <b>Label</b> : #{log[:label]}
              td
                ul
                  li <b>File</b> : #{log[:log]}
                  li <b>Pattern</b> : #{log[:pattern]}
              td
                - if @result[log[:label]][:status] == :missing
                  div.uk-badge.uk-badge-warning missing
                - if @result[log[:label]][:status] == :clean
                  div.uk-badge.uk-badge-success success
                  ul
                    li <b>Lines count</b> : #{@result[log[:label]][:lines]}
                - if @result[log[:label]][:status] == :matched
                  div.uk-badge.uk-badge-danger matched
                  ul
                    li <b>Lines count</b> : #{@result[log[:label]][:lines]}
                    li <b class="uk-text-danger">Matchs count : #{@result[log[:label]][:count]} </b>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
prometheus-splash-0.8.1 lib/splash/webadmin/portal/views/logs.slim
prometheus-splash-0.8.0 lib/splash/webadmin/portal/views/logs.slim
prometheus-splash-0.7.0 lib/splash/webadmin/portal/views/logs.slim
prometheus-splash-0.6.1 lib/splash/webadmin/portal/views/logs.slim
prometheus-splash-0.6.0 lib/splash/webadmin/portal/views/logs.slim