<commit_before>{% set active_page = active_page|default("index") %}
<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>Twitter Winner</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="Conduct contest drawings based on your Twitter data.">
  <meta name="author" content="<EMAIL>">
  <link rel="stylesheet" href="/css/jumbotron.css">
  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootswatch/3.2.0/readable/bootstrap.min.css">
</head>

<body>

    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Twitter Winner</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
	        <ul class="nav navbar-nav">
	          <li class="{% if active_page == 'index' %}active{% endif %}"><a href="/">Home</a></li>
	          <li class="{% if active_page == 'profile' %}active{% endif %}"><a href="/profile">Profile</a></li>
	          <li class="{% if active_page == 'followers' %}active{% endif %}"><a href="/followers">Followers</a></li>
	          <li class="{% if active_page == 'retweets' %}active{% endif %}"><a href="/retweets">Retweets</a></li>
		      </ul>
        </div>
      </div>
    </nav>

  <div role="main" class="container" style="margin-bottom: 2em;">

    {% block main %}{% endblock %}
    
    {% for data, name in flashes %}
      <h2>{{ name }}</h2>
      <table>
        <tbody>
          {% for k, v in data.items() -%}
            <tr>
              <td style="padding-right: 5px">{{ k }}:</td><commit_msg>front-end: add searches to menu<commit_after>{% set active_page = active_page|default("index") %}
<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>Twitter Winner</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="Conduct contest drawings based on your Twitter data.">
  <meta name="author" content="<EMAIL>">
  <link rel="stylesheet" href="/css/jumbotron.css">
  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootswatch/3.2.0/readable/bootstrap.min.css">
</head>

<body>

    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Twitter Winner</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
	        <ul class="nav navbar-nav">
	          <li class="{% if active_page == 'index' %}active{% endif %}"><a href="/">Home</a></li>
	          <li class="{% if active_page == 'profile' %}active{% endif %}"><a href="/profile">Profile</a></li>
	          <li class="{% if active_page == 'followers' %}active{% endif %}"><a href="/followers">Followers</a></li>
            <li class="{% if active_page == 'retweets' %}active{% endif %}"><a href="/retweets">Retweets</a></li>
            <li class="{% if active_page == 'searches' %}active{% endif %}"><a href="/searches">Searches</a></li>
		      </ul>
        </div>
      </div>
    </nav>

  <div role="main" class="container" style="margin-bottom: 2em;">

    {% block main %}{% endblock %}
    
    {% for data, name in flashes %}
      <h2>{{ name }}</h2>
      <table>
        <tbody>
          {% for k, v in data.items() -%}
            <tr>
              <td style="padding-right: 5px">{{ k }}:</td>
{'fraction_non_alphanumeric': 0.20419803787360255, 'fraction_numerical': 0.004106776180698152, 'mean_word_length': 3.03683241252302, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 133, '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': '112947', 'n_tokens_mistral': 1494, 'n_tokens_neox': 1368, 'n_words': 312}