<commit_before>- if big_iframe
  = yield
- elsif inner_layout_present?
  - rsop = controller.controller_name == 'miq_policy' && controller.action_name == 'rsop'
  - resolve = controller.controller_name == 'miq_ae_tools' && controller.action_name == 'resolve'
  - planning = controller.controller_name == 'miq_capacity' && controller.action_name == 'planning'
  - simulate =  rsop || resolve || planning
  - session[:sidebar] ||= {}
  - sidewidth = simulate ? 5 : session[:sidebar][params[:controller]] ||= 2
  - maindiv = 12 - sidewidth
  - sidebar = sidewidth == 0 ? 'hidden-md hidden-lg col-md-0' : "col-md-#{sidewidth} col-md-pull-#{maindiv}"
  .container-fluid.resizable-sidebar{:style => "overflow: hidden; height: 100%; background: #fff;"}
    .row#center_div{:style => "height: 100%"}
      #right_div.resizable{:style => "height: 100%", :class => "col-md-#{maindiv} col-md-push-#{sidewidth}"}
        .row.toolbar-pf#toolbar
          .toolbar-pf-actions{:style => "padding-bottom: 10px"}
            = render :partial => "layouts/x_taskbar"
          / .row.toolbar-pf-results
        .row
          .col-md-7#explorer
            %h1#explorer_title
              = @right_cell_text
          .col-md-5
            %br
            = yield :search
        .row{:style => "overflow: auto;height: calc(100% - 135px);"}
          .col-md-12
            = yield
        .row.toolbar-pf#paging_div
          .col-md-12
            .toolbar-pf-actions
              - if saved_report_paging?
                = render(:partial => 'layouts/saved_report_paging_bar', :locals => {:pages => @sb[:pages]})
              - else
                = render(:partial => '/layouts/x_pagingcontrols')

        - unless simulate
          .resizer.hidden-xs
            .resizer-box
              .btn-group
                .btn.btn-default.resize-left
                  %span.fa.fa-angle-left
                .btn.btn-default.resize-right{:class => sidewidth == 5 ? 'btn-disabled' : ''}
                  %span.fa.fa-angle-right

      #left_div.resizable.sidebar-pf.sidebar-pf-left.scrollable{:style => "height: 100%", :class => sidebar}
        #default_left_cell
          - if @accords && @trees
            = render :partial => "layouts/listnav"
          = yield :left
        #custom_left_cell
- else
  -#.container-fluid.resizable-sidebar{:style => "overflow: hidden; height: 100%; background: #fff;"}ű
  .container-fluid{:style => "overflow: hidden; height: 100%; background: #fff;"}
    .row.scrollable-sm#center_div{:style => "height: 100%"}
      - if layout_uses_listnav?
        -# Helper variables for the sidebar
          - session[:sidebar] ||= {}
          - sidewidth = session[:sidebar][params[:controller]] ||= 2
          - maindiv = 12 - sidewidth
          - sidebar = sidewidth == 0 ? 'hidden-md hidden-lg col-md-0' : "col-md-#{sidewidth} col-md-pull-#{maindiv}"
        -# .max-height.resizable{:class => "col-md-#{maindiv} col-md-push-#{sidewidth}"}
        .col-md-10.col-md-push-2.max-height
          - if taskbar_in_header?
            .row.toolbar-pf#toolbar
              .toolbar-pf-actions{:style => "padding-bottom: 10px"}
                = render :partial => "layouts/taskbar"
          / .row.toolbar-pf-results
          .row
            .col-md-7
              = render :partial => "layouts/breadcrumbs"
              - if layout_uses_tabs?
                = render :partial => 'layouts/tabs'
            .col-md-5
              %br
              = render :partial => 'layouts/searchbar'
          .row{:style => "overflow: auto;height: calc(100% - 150px);"}
            .col-md-12
              = yield
          -# Resizing buttons for the resizable sidebar
            .resizer.hidden-xs
              .resizer-box
                .btn-group
                  .btn.btn-default.resize-left
                    %span.fa.fa-angle-left
                  .btn.btn-default.resize-right{:class => sidewidth == 5 ? 'btn-disabled' : ''}
                    %span.fa.fa-angle-right
        -#.sidebar-pf.sidebar-pf-left.scrollable-lg.resizable{:class => sidebar}
        .col-md-2.col-md-pull-10.sidebar-pf.sidebar-pf-left.scrollable
          = render :partial => "layouts/listnav"

      - elsif  @layout == "dashboard" && (controller.action_name == "show" || controller.action_name == "change_tab")
        .row.toolbar-pf#toolbar
          .col-md-12
            .toolbar-pf-actions{:style => "padding-bottom: 10px"}
              - if @widgets_menu
                = render :partial => "dashboard/dropdownbar"
        .col-md-12{:style => "overflow: auto;height: calc(100% - 40px);"}
          .cpage-header.page-header-bleed-right
            %br
            = render :partial => '/layouts/tabs'
          = yield
      - else
        .col-md-12.max-height
          - if taskbar_in_header?
            .row
              .col-md-12
                = render :partial => "layouts/taskbar"
          .row
            .col-md-12
              = render :partial => "layouts/breadcrumbs"
              - if layout_uses_tabs?
                = render :partial => 'layouts/tabs'
          .row{:style => "overflow: auto;height: calc(100% - 90px);"}
            .col-md-12
              = yield
<commit_msg>Patternfly toolbars: add toolbar markup to Configure-->Tasks.<commit_after>- if big_iframe
  = yield
- elsif inner_layout_present?
  - rsop = controller.controller_name == 'miq_policy' && controller.action_name == 'rsop'
  - resolve = controller.controller_name == 'miq_ae_tools' && controller.action_name == 'resolve'
  - planning = controller.controller_name == 'miq_capacity' && controller.action_name == 'planning'
  - simulate =  rsop || resolve || planning
  - session[:sidebar] ||= {}
  - sidewidth = simulate ? 5 : session[:sidebar][params[:controller]] ||= 2
  - maindiv = 12 - sidewidth
  - sidebar = sidewidth == 0 ? 'hidden-md hidden-lg col-md-0' : "col-md-#{sidewidth} col-md-pull-#{maindiv}"
  .container-fluid.resizable-sidebar{:style => "overflow: hidden; height: 100%; background: #fff;"}
    .row#center_div{:style => "height: 100%"}
      #right_div.resizable{:style => "height: 100%", :class => "col-md-#{maindiv} col-md-push-#{sidewidth}"}
        .row.toolbar-pf#toolbar
          .toolbar-pf-actions{:style => "padding-bottom: 10px"}
            = render :partial => "layouts/x_taskbar"
          / .row.toolbar-pf-results
        .row
          .col-md-7#explorer
            %h1#explorer_title
              = @right_cell_text
          .col-md-5
            %br
            = yield :search
        .row{:style => "overflow: auto;height: calc(100% - 135px);"}
          .col-md-12
            = yield
        .row.toolbar-pf#paging_div
          .col-md-12
            .toolbar-pf-actions
              - if saved_report_paging?
                = render(:partial => 'layouts/saved_report_paging_bar', :locals => {:pages => @sb[:pages]})
              - else
                = render(:partial => '/layouts/x_pagingcontrols')

        - unless simulate
          .resizer.hidden-xs
            .resizer-box
              .btn-group
                .btn.btn-default.resize-left
                  %span.fa.fa-angle-left
                .btn.btn-default.resize-right{:class => sidewidth == 5 ? 'btn-disabled' : ''}
                  %span.fa.fa-angle-right

      #left_div.resizable.sidebar-pf.sidebar-pf-left.scrollable{:style => "height: 100%", :class => sidebar}
        #default_left_cell
          - if @accords && @trees
            = render :partial => "layouts/listnav"
          = yield :left
        #custom_left_cell
- else
  -#.container-fluid.resizable-sidebar{:style => "overflow: hidden; height: 100%; background: #fff;"}ű
  .container-fluid{:style => "overflow: hidden; height: 100%; background: #fff;"}
    .row.scrollable-sm#center_div{:style => "height: 100%"}
      - if layout_uses_listnav?
        -# Helper variables for the sidebar
          - session[:sidebar] ||= {}
          - sidewidth = session[:sidebar][params[:controller]] ||= 2
          - maindiv = 12 - sidewidth
          - sidebar = sidewidth == 0 ? 'hidden-md hidden-lg col-md-0' : "col-md-#{sidewidth} col-md-pull-#{maindiv}"
        -# .max-height.resizable{:class => "col-md-#{maindiv} col-md-push-#{sidewidth}"}
        .col-md-10.col-md-push-2.max-height
          - if taskbar_in_header?
            .row.toolbar-pf#toolbar
              .toolbar-pf-actions{:style => "padding-bottom: 10px"}
                = render :partial => "layouts/taskbar"
          / .row.toolbar-pf-results
          .row
            .col-md-7
              = render :partial => "layouts/breadcrumbs"
              - if layout_uses_tabs?
                = render :partial => 'layouts/tabs'
            .col-md-5
              %br
              = render :partial => 'layouts/searchbar'
          .row{:style => "overflow: auto;height: calc(100% - 150px);"}
            .col-md-12
              = yield
          -# Resizing buttons for the resizable sidebar
            .resizer.hidden-xs
              .resizer-box
                .btn-group
                  .btn.btn-default.resize-left
                    %span.fa.fa-angle-left
                  .btn.btn-default.resize-right{:class => sidewidth == 5 ? 'btn-disabled' : ''}
                    %span.fa.fa-angle-right
        -#.sidebar-pf.sidebar-pf-left.scrollable-lg.resizable{:class => sidebar}
        .col-md-2.col-md-pull-10.sidebar-pf.sidebar-pf-left.scrollable
          = render :partial => "layouts/listnav"

      - elsif  @layout == "dashboard" && (controller.action_name == "show" || controller.action_name == "change_tab")
        .row.toolbar-pf#toolbar
          .col-md-12
            .toolbar-pf-actions{:style => "padding-bottom: 10px"}
              - if @widgets_menu
                = render :partial => "dashboard/dropdownbar"
        .col-md-12{:style => "overflow: auto;height: calc(100% - 40px);"}
          .cpage-header.page-header-bleed-right
            %br
            = render :partial => '/layouts/tabs'
          = yield
      - else
        .col-md-12.max-height
          - if taskbar_in_header?
            .row
              .col-md-12
                .row.toolbar-pf#toolbar
                  .toolbar-pf-actions{:style => "padding-bottom: 10px"}
                    = render :partial => "layouts/taskbar"
          .row
            .col-md-12
              = render :partial => "layouts/breadcrumbs"
              - if layout_uses_tabs?
                = render :partial => 'layouts/tabs'
          .row{:style => "overflow: auto;height: calc(100% - 90px);"}
            .col-md-12
              = yield

{'fraction_non_alphanumeric': 0.1511584102467508, 'fraction_numerical': 0.017329063853833114, 'mean_word_length': 1.8003691983122363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 77, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3851420', 'n_tokens_mistral': 3453, 'n_tokens_neox': 3260, 'n_words': 556}