<commit_before>%html
  %head
    %meta{charset: 'utf-8'}/
    %meta{name: 'viewport', content: "width=device-width,initial-scale=1.0"}/

    %title= content_for?(:title) ? yield(:title) : 'Welcome to Open Food Network'
    = favicon_link_tag "favicon.png"
    %link{href: "http://fonts.googleapis.com/css?family=Open+Sans:400,700", rel: "stylesheet", type: "text/css"}/

    = yield :scripts
    %script{src: "//maps.googleapis.com/maps/api/js?sensor=false"}
    = stylesheet_link_tag "darkswarm/all"
    = javascript_include_tag "darkswarm/all"


    = render "layouts/bugherd_script"
    = csrf_meta_tags

  %body.off-canvas{"ng-app" => "Darkswarm"}
    / [if lte IE 9]
      .alert-box.alert#ie-warning{"data-alert" => ""}
        .row.ie-msg
          .small-4.large-2.columns
            %i.ofn-i_012-warning.rotateIn.animated
          .small-8.large-10.columns
            %h3 Your browser is out of date!
            %p For the best Open Food Network experience, we strongly recommend upgrading your browser: 
        .row
          .small-4.columns.browserbtn
            %a.browserlogo{href: "https://www.google.com/intl/en_au/chrome/browser/", target: "_blank"} 
              %img.rotateIn.animated.delay1{src: "assets/browser-logos/chrome.png"}
            %a{href: "https://www.google.com/intl/en_au/chrome/browser/", target: "_blank"} Google Chrome  
          .small-4.columns.browserbtn
            %a.browserlogo{href: "http://www.mozilla.org/en-US/firefox/new/", target: "_blank"} 
              %img.rotateIn.animated.delay2{src: "assets/browser-logos/firefox.png"}
            %a{href: "http://www.mozilla.org/en-US/firefox/new/", target: "_blank"} Firefox  
          .small-4.columns.browserbtn  
            %a.browserlogo{href: "http://windows.microsoft.com/en-AU/internet-explorer/download-ie", target: "_blank"} 
              %img.rotateIn.animated.delay3{src: "assets/browser-logos/internet-explorer.png"}
            %a{href: "http://windows.microsoft.com/en-AU/internet-explorer/download-ie", target: "_blank"} Internet Explorer  
        %a.close{href: "#"} ×


    = inject_json "currentHub", "current_hub"
    = inject_json "currentOrder", "current_order"
    = inject_json "user", "current_user"
    = inject_json "railsFlash", "flash"

    .off-canvas-wrap{offcanvas: true}
      .inner-wrap
        = render partial: "shared/menu/menu"

        %section{ role: "main" }
          = yield
          <commit_msg>Tweak IE old warning message for stakeholder feedback<commit_after>%html
  %head
    %meta{charset: 'utf-8'}/
    %meta{name: 'viewport', content: "width=device-width,initial-scale=1.0"}/

    %title= content_for?(:title) ? yield(:title) : 'Welcome to Open Food Network'
    = favicon_link_tag "favicon.png"
    %link{href: "http://fonts.googleapis.com/css?family=Open+Sans:400,700", rel: "stylesheet", type: "text/css"}/

    = yield :scripts
    %script{src: "//maps.googleapis.com/maps/api/js?sensor=false"}
    = stylesheet_link_tag "darkswarm/all"
    = javascript_include_tag "darkswarm/all"


    = render "layouts/bugherd_script"
    = csrf_meta_tags

  %body.off-canvas{"ng-app" => "Darkswarm"}
    / [if lte IE 8]
      .alert-box.alert#ie-warning{"data-alert" => ""}
        .row.ie-msg
          .small-4.large-2.columns
            %i.ofn-i_012-warning
          .small-8.large-10.columns
            %h3 Your browser is out of date :-(
            %p For the best Open Food Network experience, we strongly recommend upgrading your browser: 
        .row
          .small-4.columns.browserbtn
            %a.browserlogo{href: "https://www.google.com/intl/en_au/chrome/browser/", target: "_blank"} 
              %img{src: "assets/browser-logos/chrome.png"}
            %a{href: "https://www.google.com/intl/en_au/chrome/browser/", target: "_blank"} Download Chrome  
          .small-4.columns.browserbtn
            %a.browserlogo{href: "http://www.mozilla.org/en-US/firefox/new/", target: "_blank"} 
              %img{src: "assets/browser-logos/firefox.png"}
            %a{href: "http://www.mozilla.org/en-US/firefox/new/", target: "_blank"} Download Firefox  
          .small-4.columns.browserbtn  
            %a.browserlogo{href: "http://windows.microsoft.com/en-AU/internet-explorer/download-ie", target: "_blank"} 
              %img{src: "assets/browser-logos/internet-explorer.png"}
            %a{href: "http://windows.microsoft.com/en-AU/internet-explorer/download-ie", target: "_blank"} Upgrade Internet Explorer  
        .row.ie-msg
          .small-12.large-12.columns
            .text-center 
              %em Can't upgrade your browser? Try Open Food Network on your smartphone :-)
        %a.close{href: "#"} ×


    = inject_json "currentHub", "current_hub"
    = inject_json "currentOrder", "current_order"
    = inject_json "user", "current_user"
    = inject_json "railsFlash", "flash"

    .off-canvas-wrap{offcanvas: true}
      .inner-wrap
        = render partial: "shared/menu/menu"

        %section{ role: "main" }
          = yield
          
{'fraction_non_alphanumeric': 0.155846734167163, 'fraction_numerical': 0.01012507444907683, 'mean_word_length': 2.5755855216465577, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3613501', 'n_tokens_mistral': 1737, 'n_tokens_neox': 1656, 'n_words': 284}