<commit_before>-# navigation styled for Bootstrap 3.0
%nav.navbar.navbar-inverse.navbar-fixed-top
  .container
    .navbar-header
      %button.navbar-toggle{"data-target" => ".navbar-collapse", "data-toggle" => "collapse", :type => "button"}
        %span.sr-only Toggle navigation
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar

      %img.lb-logo.navbar-brand{src: image_url('littlebits-logo.svg'), alt: 'Littlebits logo'}
    .collapse.navbar-collapse
      .navbar-form.navbar-input-group.navbar-left
      %ul.nav.navbar-nav.navbar-right
        - if user_signed_in?
          %li.dropdown
            = link_to raw("My Profile <b class='caret'></b>"), '#',:class => "dropdown-toggle nopjax", 'data-toggle' => 'dropdown'
            %ul.dropdown-menu
              %li= link_to t('my_account').html_safe, edit_user_registration_path
          %li= link_to t('logout').html_safe, destroy_user_session_path, :method=>'delete'
        - elsif !['directories'].include?(controller_name)
          %li= link_to t('join_today').html_safe, new_registration_path(resource_name)
          %li
            = link_to t('login').html_safe, '#new_session', :data => {:toggle => 'modal', :target => '#new_session'}
      %ul.nav.navbar-nav.navbar-left
        - if can? :manage, User
          = render 'layouts/navigation_links'
#new_session.modal.fade
  .modal-dialog
    .modal-content
      = simple_form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => 'form-horizontal', id: 'popup_new_user'}, role: 'form') do |f|
        .modal-header
          %button.close(data-dismiss='modal' aria-hidden='true')
            x
          %h4.modal-title= t('login').html_safe
        .modal-body
          .row
            .col-md-1
            .col-md-10<commit_msg>Fix logo to link to Home<commit_after>-# navigation styled for Bootstrap 3.0
%nav.navbar.navbar-inverse.navbar-fixed-top
  .container
    .navbar-header
      %button.navbar-toggle{"data-target" => ".navbar-collapse", "data-toggle" => "collapse", :type => "button"}
        %span.sr-only Toggle navigation
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar

      %a{href: '/'}
        %img.lb-logo.navbar-brand{src: image_url('littlebits-logo.svg'), alt: 'Littlebits logo'}
    .collapse.navbar-collapse
      .navbar-form.navbar-input-group.navbar-left
      %ul.nav.navbar-nav.navbar-right
        - if user_signed_in?
          %li.dropdown
            = link_to raw("My Profile <b class='caret'></b>"), '#',:class => "dropdown-toggle nopjax", 'data-toggle' => 'dropdown'
            %ul.dropdown-menu
              %li= link_to t('my_account').html_safe, edit_user_registration_path
          %li= link_to t('logout').html_safe, destroy_user_session_path, :method=>'delete'
        - elsif !['directories'].include?(controller_name)
          %li= link_to t('join_today').html_safe, new_registration_path(resource_name)
          %li
            = link_to t('login').html_safe, '#new_session', :data => {:toggle => 'modal', :target => '#new_session'}
      %ul.nav.navbar-nav.navbar-left
        - if can? :manage, User
          = render 'layouts/navigation_links'
#new_session.modal.fade
  .modal-dialog
    .modal-content
      = simple_form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => 'form-horizontal', id: 'popup_new_user'}, role: 'form') do |f|
        .modal-header
          %button.close(data-dismiss='modal' aria-hidden='true')
            x
          %h4.modal-title= t('login').html_safe
        .modal-body
          .row
            .col-md-1
            .col-md-10
{'fraction_non_alphanumeric': 0.15881231272132934, 'fraction_numerical': 0.003268864069735767, 'mean_word_length': 2.6106194690265485, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 33, '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': '5310762', 'n_tokens_mistral': 1225, 'n_tokens_neox': 1166, 'n_words': 207}