<commit_before><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>feelrank - Let The Internet Know How You Feel</title>

    {{ HTML::style('css/bootstrap.css') }}
    {{ HTML::style('css/font-awesome.min.css') }}
    {{ HTML::style('css/feelrank.css') }}

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <!-- Fixed navbar -->
    <div class="navbar navbar-default navbar-fixed-top" role="navigation">
      <div class="container">

        <div class="navbar-header">
          <a class="navbar-brand" href="/"><img src="/img/feelrank-logo.png" alt="FeelRank" /></a>
        </div>
        
        <button type="button" id="toggle-panel-nav" class="btn btn-default navbar-btn pull-right visible-xs visible-sm hidden-md hidden-lg"><i class="fa fa-bars"></i></button>
        
        @if (Auth::check())

          <button type="button" id="toggle-panel-profile" class="btn btn-default navbar-btn pull-left visible-xs visible-sm hidden-md hidden-lg"><i class="fa fa-user"></i></button>

        @endif

        @if (!Auth::check())

          <a href="/users/create" class="btn btn-default btn-signup navbar-btn pull-right hidden-xs hidden-sm visible-md visible-lg">Sign Up</a>

          <ul class="nav navbar-nav navbar-right hidden-xs hidden-sm visible-md visible-lg">
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">Most <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/posts/mostrecent">Recent</a></li>
                <li><a href="/posts/mostrank">Rank</a></li>
                <li><a href="/posts/mostdiscussions">Discussions</a></li>
              </ul>
            </li>
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">Least <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/posts/leastrecent">Recent</a></li>
                <li><a href="/posts/leastrank">Rank</a></li>
                <li><a href="/posts/leastdiscussions">Discussions</a></li>
              </ul>
            </li>
            <!--<li><a href="#">About</a></li>
            <li><a href="#">Contact</a></li>-->
            <li><a href="/users/login">Login</a></li>
          </ul>

        @else

          <ul class="nav navbar-nav navbar-right hidden-xs hidden-sm visible-md visible-lg">
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">Most <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/posts/mostrecent">Recent</a></li>
                <li><a href="/posts/mostrank">Rank</a></li>
                <li><a href="/posts/mostdiscussions">Discussions</a></li>
              </ul>
            </li>
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">Least <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/posts/leastrecent">Recent</a></li>
                <li><a href="/posts/leastrank">Rank</a></li>
                <li><a href="/posts/leastdiscussions">Discussions</a></li>
              </ul>
            </li>
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">My <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/users/{{ Auth::user()->id }}/posts">Posts</a></li>
                <li><a href="/users/{{ Auth::user()->id }}/discussions">Discussions</a></li>
                <li><a href="/users/{{ Auth::user()->id }}/comments">Comments</a></li>
                <li><a href="/users/{{ Auth::user()->id }}/upranks">Upranks</a></li>
                <li><a href="/users/{{ Auth::user()->id }}/downranks">Downranks</a></li>
              </ul>
            </li>
            <li><a href="/posts/create">Post</a></li>
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{ Auth::user()->username }} <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/users/update">Profile</a></li>
                <li><a href="/users/logout">Logout</a></li>
              </ul>
            </li>
          </ul>

        @endif

      </div>
    </div><!--/.navbar-->

    @if ($messages = Session::get('messages'))
      @for ($i = 0; $i < count($messages); $i++)
        <div class="alert alert-success">{{ $messages[$i] }}</div>
      @endfor
    @endif

    @if (count($errors))
      <div class="alert alert-danger">{{ $errors->first() }}</div>
    @endif

    @if (Session::get('error'))
        <div class="alert alert-danger">
            @if (is_array(Session::get('error')))
                {{ head(Session::get('error')) }}
            @else
              {{ Session::get('error') }}
            @endif
        </div>
    @endif

    @yield('body')

      <div id="panel-nav" class="panel-slide panel-nav">
        <ul>
          <li class="dropdown-toggle">
            Most
<commit_msg>Added notice to base layout.<commit_after><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>feelrank - Let The Internet Know How You Feel</title>

    {{ HTML::style('css/bootstrap.css') }}
    {{ HTML::style('css/font-awesome.min.css') }}
    {{ HTML::style('css/feelrank.css') }}

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <!-- Fixed navbar -->
    <div class="navbar navbar-default navbar-fixed-top" role="navigation">
      <div class="container">

        <div class="navbar-header">
          <a class="navbar-brand" href="/"><img src="/img/feelrank-logo.png" alt="FeelRank" /></a>
        </div>
        
        <button type="button" id="toggle-panel-nav" class="btn btn-default navbar-btn pull-right visible-xs visible-sm hidden-md hidden-lg"><i class="fa fa-bars"></i></button>
        
        @if (Auth::check())

          <button type="button" id="toggle-panel-profile" class="btn btn-default navbar-btn pull-left visible-xs visible-sm hidden-md hidden-lg"><i class="fa fa-user"></i></button>

        @endif

        @if (!Auth::check())

          <a href="/users/create" class="btn btn-default btn-signup navbar-btn pull-right hidden-xs hidden-sm visible-md visible-lg">Sign Up</a>

          <ul class="nav navbar-nav navbar-right hidden-xs hidden-sm visible-md visible-lg">
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">Most <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/posts/mostrecent">Recent</a></li>
                <li><a href="/posts/mostrank">Rank</a></li>
                <li><a href="/posts/mostdiscussions">Discussions</a></li>
              </ul>
            </li>
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">Least <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/posts/leastrecent">Recent</a></li>
                <li><a href="/posts/leastrank">Rank</a></li>
                <li><a href="/posts/leastdiscussions">Discussions</a></li>
              </ul>
            </li>
            <!--<li><a href="#">About</a></li>
            <li><a href="#">Contact</a></li>-->
            <li><a href="/users/login">Login</a></li>
          </ul>

        @else

          <ul class="nav navbar-nav navbar-right hidden-xs hidden-sm visible-md visible-lg">
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">Most <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/posts/mostrecent">Recent</a></li>
                <li><a href="/posts/mostrank">Rank</a></li>
                <li><a href="/posts/mostdiscussions">Discussions</a></li>
              </ul>
            </li>
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">Least <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/posts/leastrecent">Recent</a></li>
                <li><a href="/posts/leastrank">Rank</a></li>
                <li><a href="/posts/leastdiscussions">Discussions</a></li>
              </ul>
            </li>
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">My <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/users/{{ Auth::user()->id }}/posts">Posts</a></li>
                <li><a href="/users/{{ Auth::user()->id }}/discussions">Discussions</a></li>
                <li><a href="/users/{{ Auth::user()->id }}/comments">Comments</a></li>
                <li><a href="/users/{{ Auth::user()->id }}/upranks">Upranks</a></li>
                <li><a href="/users/{{ Auth::user()->id }}/downranks">Downranks</a></li>
              </ul>
            </li>
            <li><a href="/posts/create">Post</a></li>
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{ Auth::user()->username }} <span class="caret"></span></a>

              <ul class="dropdown-menu" role="menu">
                <li><a href="/users/update">Profile</a></li>
                <li><a href="/users/logout">Logout</a></li>
              </ul>
            </li>
          </ul>

        @endif

      </div>
    </div><!--/.navbar-->

    @if ($messages = Session::get('messages'))
      @for ($i = 0; $i < count($messages); $i++)
        <div class="alert alert-success">{{ $messages[$i] }}</div>
      @endfor
    @endif

    @if ($notice = Session::get('notice'))
      <div class="alert alert-success">{{ $notice }}</div>
    @endif

    @if (count($errors))
      <div class="alert alert-danger">{{ $errors->first() }}</div>
    @endif

    @if (Session::get('error'))
        <div class="alert alert-danger">
            @if (is_array(Session::get('error')))
                {{ head(Session::get('error')) }}
            @else
              {{ Session::get('error') }}
            @endif
        </div>
    @endif

    @yield('body')

      <div id="panel-nav" class="panel-slide panel-nav">
        <ul>
          <li class="dropdown-toggle">
            Most

{'fraction_non_alphanumeric': 0.21251181576007563, 'fraction_numerical': 0.002577984016499098, 'mean_word_length': 2.1702533369654047, 'pattern_counts': {'":': 0, '<': 397, '<?xml version=': 0, '>': 409, 'https://': 4, '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': '6590623', 'n_tokens_mistral': 3703, 'n_tokens_neox': 3501, 'n_words': 655}