<commit_before><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Gigsley</title>
  <script src="//maps.google.com/maps/api/js?v=3.13&amp;sensor=false&amp;libraries=geometry"type="text/javascript"></script>
  <script src='//google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.14/src/markerclusterer_packed.js'type='text/javascript'></script>
  <script src='//google-maps-utility-library-v3.googlecode.com/svn/trunk/richmarker/src/richmarker-compiled.js' type='text/javascript'></script>

  <link href="//netdna.bootstrapcdn.com/bootswatch/3.0.0/slate/bootstrap.min.css" rel="stylesheet">
  <link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">

  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= yield :javascripts %>
  <%= csrf_meta_tags %>

  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<header>

<nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="/">Gigsley</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li role="presentation"><a href="/about">About</a></li>
        <% if current_user && current_user.email.present? %>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Profile <span class="caret"></span></a>
            <ul class="dropdown-menu">
              <% if @user.present? && (@user.profile.blank? || @user.profile.bio.blank?) %>
                  <li><a href="/setups/<%= current_user.id %>/edit" >Edit Your Profile</a></li>
              <% else %>
                  <li><a href="/profile/index" >View All Profiles</a></li>
                  <li><a href="/profile/<%= current_user.id %>" >View Your Profile</a></li>
                  <li><a href="/profile/<%= current_user.id %>/edit" >Edit Your Profile</a></li>
                  <li><a href="/galleries">Create/Edit Your Personal Gallery</a></li>
              <% end %>
            </ul>
          </li>
        <% end %>
        <% if current_user %>
          <% if !current_user.profile.blank? && current_user.profile.provider == true %>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Gigs<span class="caret"></span> </a>
                <ul class="dropdown-menu">
                  <li><a href="/customers">Looking for a Gig!</a></li>
                  <li><%#= link_to 'What Job?', setup_jobs_path(current_user.id), class: "btn btn-default btn-lg active" %></li>
                  <li><%= link_to 'View Your Gigs', customer_listgigs_path(current_user.id) %></li>
                </ul>
              </li>
          <% end %>
          <% if !current_user.profile.blank? && current_user.profile.customer == true %>
              <li role="presentation"><a href="/providers">Hire Someone</a></li>
          <% end %>
        <% end %>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <% if !current_user %>
          <li role="presentation"><a href="/users/sign_in">Login</a></li>
        <% else %>
          <li role="presentation" style=float:right><%=link_to("Logout", destroy_user_session_path, method: :delete) %></li>
        <% end %>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
</header>

<body class = "<%= action_name %>">

<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId      : '538780962967594',
      xfbml      : true,
      version    : 'v2.5'
    });
  };

  (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>

  <div class="container">
    <% flash.each do |name, msg| %>
      <%= content_tag :div, msg, class: "alert alert-#{name}" %>
    <% end %>
    <%= yield %>
  </div>

</body>
</html>
<commit_msg>updated menu<commit_after><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Gigsley</title>
  <script src="//maps.google.com/maps/api/js?v=3.13&amp;sensor=false&amp;libraries=geometry"type="text/javascript"></script>
  <script src='//google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.14/src/markerclusterer_packed.js'type='text/javascript'></script>
  <script src='//google-maps-utility-library-v3.googlecode.com/svn/trunk/richmarker/src/richmarker-compiled.js' type='text/javascript'></script>

  <link href="//netdna.bootstrapcdn.com/bootswatch/3.0.0/slate/bootstrap.min.css" rel="stylesheet">
  <link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">

  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= yield :javascripts %>
  <%= csrf_meta_tags %>

  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<header>

<nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="/">Gigsley</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li role="presentation"><a href="/about">About</a></li>
        <% if current_user && current_user.email.present? %>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Profile <span class="caret"></span></a>
            <ul class="dropdown-menu">
              <% if current_user.present? && (current_user.profile.blank? || current_user.profile.bio.blank?) %>
                  <li><a href="/setups/<%= current_user.id %>/edit" >Edit Your Profile</a></li>
              <% else %>
                  <li><a href="/profile/index" >View All Profiles</a></li>
                  <li><a href="/profile/<%= current_user.id %>" >View Your Profile</a></li>
                  <li><a href="/profile/<%= current_user.id %>/edit" >Edit Your Profile</a></li>
                  <li><a href="/galleries">Create/Edit Your Personal Gallery</a></li>
              <% end %>
            </ul>
          </li>
        <% end %>
        <% if current_user %>
          <% if !current_user.profile.blank? && current_user.profile.provider == true %>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Gigs<span class="caret"></span> </a>
                <ul class="dropdown-menu">
                  <li><a href="/customers">Looking for a Gig!</a></li>
                  <li><%#= link_to 'What Job?', setup_jobs_path(current_user.id), class: "btn btn-default btn-lg active" %></li>
                  <li><%= link_to 'View Your Gigs', customer_listgigs_path(current_user.id) %></li>
                </ul>
              </li>
          <% end %>
          <% if !current_user.profile.blank? && current_user.profile.customer == true %>
              <li role="presentation"><a href="/providers">Hire Someone</a></li>
          <% end %>
        <% end %>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <% if !current_user %>
          <li role="presentation"><a href="/users/sign_in">Login</a></li>
        <% else %>
          <li role="presentation" style=float:right><%=link_to("Logout", destroy_user_session_path, method: :delete) %></li>
        <% end %>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
</header>

<body class = "<%= action_name %>">

<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId      : '538780962967594',
      xfbml      : true,
      version    : 'v2.5'
    });
  };

  (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>

  <div class="container">
    <% flash.each do |name, msg| %>
      <%= content_tag :div, msg, class: "alert alert-#{name}" %>
    <% end %>
    <%= yield %>
  </div>

</body>
</html>

{'fraction_non_alphanumeric': 0.19711925866236907, 'fraction_numerical': 0.008058017727639, 'mean_word_length': 2.818846153846154, 'pattern_counts': {'":': 0, '<': 289, '<?xml version=': 0, '>': 289, 'https://': 2, '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': '2256505', 'n_tokens_mistral': 3408, 'n_tokens_neox': 3213, 'n_words': 571}