<commit_before>!!! 5
%html.wrap
  %head.wrap
    %title=h yield(:title)
    =stylesheet_link_tag    "application",   media: 'all'
    =javascript_include_tag "application"
    =csrf_meta_tags
    %meta(name="viewport" content="width=device-width, initial-scale=0.4")
    %meta(name="description" content="DGIdb, The Drug Gene Interaction Database, is a research resource that can be used to search candidate genes or drugs against the known and potentially druggable genome.")
    %meta(name="keywords" content="genomics,genome,drug,gene,interactions,druggable,druggability,drugability,druggable-genome,drugable,dgidb,dgi-db,precision,medicine,precision-medicine,McDonnell,genome,institute,washington,university")
    %link{:href => image_path("favicon.png"), :rel => "shortcut icon"}/
  %body.wrap
    #wrap
      .container-fluid{ :id => "content"}
        .navbar.navbar-fixed-top.navbar-inverse{style: "margin-bottom: 0px"}
          .navbar-inner
            %a.brand(href="/")
              %img{:src => image_path("dgidb-header-branding_128c.png"), :class => "logo", :width => "500"}
            %ul.nav.nav-tabs.main-menu.wrap
              %li{class: @search_interactions_active}
                %a(href="/search_interactions") Search Interactions
              %li{class: @search_categories_active}
                %a(href="/search_categories") Search Categories
              %li{class: @druggable_gene_categories_active}
                %a(href="/druggable_gene_categories") Browse Categories
            %ul.nav.pull-right.help-menu
              %li.divider-vertical
              %li.dropdown{class: @help_active}
                %a.dropdown-toggle{href: "#", data: {toggle: "dropdown"}}
                  Info
                  =@news.unread_news_badge
                  %b.caret
                %ul.dropdown-menu{style: "position: absolute; top: 100%; z-index: 1000; float: left; min-width: 150px; padding: 5px 0; margin: 2px 0 0; list-style: none; background-clip: padding-box; left: auto; right: 0;"}
                  %li
                    %a(href="/getting_started") Getting Started
                    %a(href="/api") API Documentation
                    %a(href="/news")
                      News
                      =@news.unread_news_badge
                    %a(href="/faq") FAQ
                    %a(href="/sources") Sources
                    %a(href="/downloads") Downloads
                    %a(href="/contact") Contact
                    %a{href: "#", data: {toggle: 'modal', target:'#disclaimer-modal'}} View Disclaimer
        .container-fluid{style: "margin-bottom: 27px; margin-top: 27px"}
          .page-header{style: "margin-top: 0px; margin-bottom: 0px; padding: 15px 0; border: 0;"}
            = @news.news_ticker
        .container-fluid
          - flash.each do |key, val|
            = content_tag :div, (content_tag :h3, val), class: "alert alert-#{key}"
      =yield
    =render partial: 'layouts/disclaimer_modal'
  #push
  #footer{style: "height: 20px; background: white; margin-top: 60px; text-align: center; width: 100%;"}
    .container{style: "width: 100%;"}
      .container.muted.span12{style: "width: 100%;"}
        %p.span5{style: "width: 100%; margin: 0;"}
          ="DGIdb (v#{CURRENT_VERSION.version} - sha1 #{CURRENT_VERSION.sha})"
          •
          ="Last updated #{CURRENT_VERSION.time}"

  :css
    html {
      zoom: 0.8;
      -moz-transform: scale(0.8);
    }
    .wrap{ 
      width:100%; min-width:1100px;
    }
    .dropdown-menu {
      margin-top: 1em;
    }
<commit_msg>reduce news header space while maintaining background image<commit_after>!!! 5
%html.wrap
  %head.wrap
    %title=h yield(:title)
    =stylesheet_link_tag    "application",   media: 'all'
    =javascript_include_tag "application"
    =csrf_meta_tags
    %meta(name="viewport" content="width=device-width, initial-scale=0.4")
    %meta(name="description" content="DGIdb, The Drug Gene Interaction Database, is a research resource that can be used to search candidate genes or drugs against the known and potentially druggable genome.")
    %meta(name="keywords" content="genomics,genome,drug,gene,interactions,druggable,druggability,drugability,druggable-genome,drugable,dgidb,dgi-db,precision,medicine,precision-medicine,McDonnell,genome,institute,washington,university")
    %link{:href => image_path("favicon.png"), :rel => "shortcut icon"}/
  %body.wrap
    #wrap
      .container-fluid{ id: "content", style: "padding-bottom: 30px; margin-bottom: -50px;"}
        .navbar.navbar-fixed-top.navbar-inverse{style: "margin-bottom: 0px"}
          .navbar-inner
            %a.brand(href="/")
              %img{:src => image_path("dgidb-header-branding_128c.png"), :class => "logo", :width => "500"}
            %ul.nav.nav-tabs.main-menu.wrap
              %li{class: @search_interactions_active}
                %a(href="/search_interactions") Search Interactions
              %li{class: @search_categories_active}
                %a(href="/search_categories") Search Categories
              %li{class: @druggable_gene_categories_active}
                %a(href="/druggable_gene_categories") Browse Categories
            %ul.nav.pull-right.help-menu
              %li.divider-vertical
              %li.dropdown{class: @help_active}
                %a.dropdown-toggle{href: "#", data: {toggle: "dropdown"}}
                  Info
                  =@news.unread_news_badge
                  %b.caret
                %ul.dropdown-menu{style: "position: absolute; top: 100%; z-index: 1000; float: left; min-width: 150px; padding: 5px 0; margin: 2px 0 0; list-style: none; background-clip: padding-box; left: auto; right: 0;"}
                  %li
                    %a(href="/getting_started") Getting Started
                    %a(href="/api") API Documentation
                    %a(href="/news")
                      News
                      =@<EMAIL>_news_<EMAIL>
                    %a(href="/faq") FAQ
                    %a(href="/sources") Sources
                    %a(href="/downloads") Downloads
                    %a(href="/contact") Contact
                    %a{href: "#", data: {toggle: 'modal', target:'#disclaimer-modal'}} View Disclaimer
        .container-fluid{style: "margin-bottom: 27px; margin-top: 27px"}
          .page-header{style: "margin-top: 0px; margin-bottom: 0px; padding: 0 0 -10 0; border: 0;"}
            = @news.news_ticker
        .container-fluid
          - flash.each do |key, val|
            = content_tag :div, (content_tag :h3, val), class: "alert alert-#{key}"
      =yield
    =render partial: 'layouts/disclaimer_modal'
  #push
  #footer{style: "height: 20px; background: white; margin-top: 60px; text-align: center; width: 100%;"}
    .container{style: "width: 100%;"}
      .container.muted.span12{style: "width: 100%;"}
        %p.span5{style: "width: 100%; margin: 0;"}
          ="DGIdb (v#{CURRENT_VERSION.version} - sha1 #{CURRENT_VERSION.sha})"
          •
          ="Last updated #{CURRENT_VERSION.time}"

  :css
    html {
      zoom: 0.8;
      -moz-transform: scale(0.8);
    }
    .wrap{ 
      width:100%; min-width:1100px;
    }
    .dropdown-menu {
      margin-top: 1em;
    }

{'fraction_non_alphanumeric': 0.14398558758314856, 'fraction_numerical': 0.020232815964523282, 'mean_word_length': 2.386672923510089, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2257922', 'n_tokens_mistral': 2418, 'n_tokens_neox': 2195, 'n_words': 456}