Sha256: 8849ec476b3820fc83f29f15bdd29d79bf80b6313ec5494a0f7391ba3c4ad160

Contents?: true

Size: 1.88 KB

Versions: 1

Compression:

Stored size: 1.88 KB

Contents

!!! 5
%html{lang: 'en'}
  !=haml :head
  %body
    %nav.navbar.navbar-default.navbar-static-top{role: 'navigation'}
      .container-fluid
        .navbar-header
          %button.navbar-toggle.collapsed{type: 'button',
                                          'data-toggle': 'collapse',
                                          'data-target': '#ox-nav',
                                          'aria-expanded': 'false'}
            %span.sr-only Toggle Navigation
            %span.icon-bar
            %span.icon-bar
            %span.icon-bar
          %a.navbar-brand{href: url_for('/')}
            %img{src: url_for('/images/oxidizing_40px.png')} Oxidized

        .collapse.navbar-collapse#ox-nav
          %ul.nav.navbar-nav
            %li{class: request.path_info == '/nodes/stats' ? 'active' : ''}
              %a.navbar-link{href: url_for('/nodes/stats')} Stats

            %li{class: request.path_info == '/migration' ? 'active' : ''}
              %a.navbar-link{href: url_for('/migration')} Migration

          %form.navbar-form.navbar-right{role: 'search',
                                         action: '/nodes/conf_search',
                                         method: 'post'}
            .form-group#to_search_in_config{name: 'to_search_in_config'}
              %input.form-control.input-sm{type: 'text',
                                           name: 'search_in_conf_textbox',
                                           placeholder: 'Search in Configs'}
              %button.btn.btn-primary.btn-sm{type: 'submit'}
                %span.glyphicon.glyphicon-search

    .container-fluid
      =yield
    %script{src: url_for('/scripts/bootstrap.min.js')}
    %script{src: url_for('/scripts/jquery.dataTables.min.js')}
    %script{src: url_for('/scripts/dataTables.bootstrap.js')}
    %script{src: url_for('/scripts/dataTables.colVis.js')}
    %script{src: url_for('/scripts/oxidized.js')}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oxidized-web-0.6.0 lib/oxidized/web/views/layout.haml