- @no_container = true
- page_title "Logs"

%div{ class: container_class }
  %ul.nav-links.log-tabs.nav.nav-tabs
    - @loggers.each do |klass|
      %li{ class: active_when(klass == @loggers.first) }>
        = link_to klass.file_name, "##{klass.file_name_noext}", data: { toggle: 'tab' }
  .row-content-block
    To prevent performance issues admin logs output the last 2000 lines
  .tab-content
    - @loggers.each do |klass|
      .tab-pane{ class: active_when(klass == @loggers.first), id: klass.file_name_noext }
        .file-holder#README
          .js-file-title.file-title
            %i.fa.fa-file
            = klass.file_name
            .float-right
              = link_to '#', class: 'log-bottom' do
                %i.fa.fa-arrow-down
                Scroll down
          .file-content.logs
            %ol
              - klass.read_latest.each do |line|
                %li
                  %p= line

- @no_container = true
- page_title "Logs"

%div{ class: container_class }
  %ul.nav-links.log-tabs.nav.nav-tabs
    - @loggers.each do |klass|
      %li.nav-item
        = link_to klass.file_name, "##{klass.file_name_noext}", data: { toggle: 'tab' }, class: "#{active_when(klass == @loggers.first)} nav-link"
  .row-content-block
    To prevent performance issues admin logs output the last 2000 lines
  .tab-content
    - @loggers.each do |klass|
      .tab-pane{ class: active_when(klass == @loggers.first), id: klass.file_name_noext }
        .file-holder#README
          .js-file-title.file-title
            %i.fa.fa-file
            = klass.file_name
            .float-right
              = link_to '#', class: 'log-bottom' do
                %i.fa.fa-arrow-down
                Scroll down
          .file-content.logs
            %ol
              - klass.read_latest.each do |line|
                %li
                  %p= line

Fix active states on monitoring logs tabs
Fix active states on monitoring logs tabs
