<commit_before><!DOCTYPE html>
<!-- 
  ____                  ____  _        _             
 | __ )  ___  __ _ _ __/ ___|| |_ __ _| |_ _   _ ___ 
 |  _ \ / _ \/ _` | '__\___ \| __/ _` | __| | | / __|
 | |_) |  __/ (_| | |   ___) | || (_| | |_| |_| \__ \
 |____/ \___|\__,_|_|  |____/ \__\__,_|\__|\__,_|___/
                                                     
Are you a Blake student interested in working on BearStatus?
Talk to <NAME> or Mr. Hickey about possible development opportunities!
-->
<html lang="en">
  <head>
    
    {% block head %}
    
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="application-name" content="BearStatus">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="The Blake School Computer Science Class, <NAME>">
    
    <!-- Support "add to home screen" on mobile -->
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="BearStatus">

    <!-- Icons -->    
    <link rel="shortcut icon" sizes="16x16" href="/view/images/icon16.png">
    <link rel="shortcut icon" sizes="32x32" href="/view/images/icon32.png">
    <link rel="shortcut icon" sizes="120x120" href="/view/images/icon120.png">
    <link rel="shortcut icon" sizes="196x196" href="/view/images/icon196.png">
    <!-- iOS icons -->
    <link rel="apple-touch-icon" sizes="120x120" href="/view/images/apple-touch-icon-120x120-precomposed.png">
    <link rel="apple-touch-icon" sizes="76x76" href="/view/images/apple-touch-icon-76x76-precomposed.png">
    <link rel="apple-touch-icon" sizes="152x152" href="/view/images/apple-touch-icon-152x152-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/view/images/apple-touch-icon-114x114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/view/images/apple-touch-icon-57x57-precomposed.png">

    <title>{% block title %}{% endblock %}</title>
    
    <!--Bootstrap core CSS -->
    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css">
    
    <!-- JQuery JS -->
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    
    <!-- Sitewide CSS, JS -->
    <script src="view/javascript/site.js"></script>
    <link href="view/stylesheets/site.css" rel="stylesheet">

    <!-- Google Analytics -->
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-50342283-1', 'auto');
      ga('send', 'pageview');

    </script>
    
    {% endblock %}
    
  </head>
  <body>
    
    {% block navbar %}
      <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="navbar-header">
        <a class="navbar-brand" href="/">BearStatus</a>
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        </div>
        
        {% set active_page = active_page|default('index') -%}

        <!-- 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">
            
            {# Set the pages to go in the navbar #}
            {% if isadmin %}{# Show the admin page in the navbar if admin is logged in #}
              {% set navigation_bar = [
                  ('/', 'index', 'Home', none),
                  ('/schedule', 'schedule', 'Schedule', none),
                  ('/finals', 'finals', 'Semester Exams', 'New!'),
                  ('/about', 'about', 'About', none),
                  ('/admin', 'admin', 'Admin', none)
              ] -%}
            {% else %}
              {% set navigation_bar = [
                  ('/', 'index', 'Home', none),
                  ('/schedule', 'schedule', 'Schedule', none),
                  ('/finals', 'finals', 'Semester Exams ', 'New!'),
                  ('/about', 'about', 'About', none)
              ] -%}
            {% endif %}
            
            {# Use the variables set above to generate the navbar #}
            {% for href, id, caption, label in navigation_bar %}
              <li
              {% if id == active_page %} class="active"{% endif %}>
              <a href="{{ href|e }}">{{ caption|e }}
              {% if label %}<span class="label label-default">{{ label|e }}</span>{% endif %}
              </a>
            {% endfor %}

          </ul>
        </div><!-- /.navbar-collapse -->
      </nav>
    {% endblock %}
    
      {% block content %}
      {% endblock %}
      {% block footer %}
        <footer>
          <p>
            Like us on <a href="https://www.facebook.com/bearstatus" target="_blank">Facebook</a> • Follow us on <a href="https://twitter.com/bear__status" target="_blank">Twitter</a><br>
            <a href="/feedback" target="_blank">Send Feedback</a> • <a href="/admin">Admin Login</a>
          </p>
        </footer>
      {% endblock %}

    {% block pageend %}

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
    <!-- Google Fonts stylesheet -->
    <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Ubuntu:300">


    
    {% endblock %}
    
    </body>
</html><commit_msg>Remove new label in navbar<commit_after><!DOCTYPE html>
<!-- 
  ____                  ____  _        _             
 | __ )  ___  __ _ _ __/ ___|| |_ __ _| |_ _   _ ___ 
 |  _ \ / _ \/ _` | '__\___ \| __/ _` | __| | | / __|
 | |_) |  __/ (_| | |   ___) | || (_| | |_| |_| \__ \
 |____/ \___|\__,_|_|  |____/ \__\__,_|\__|\__,_|___/
                                                     
Are you a Blake student interested in working on BearStatus?
Talk to <NAME> or Mr. Hickey about possible development opportunities!
-->
<html lang="en">
  <head>
    
    {% block head %}
    
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="application-name" content="BearStatus">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="The Blake School Computer Science Class, <NAME>">
    
    <!-- Support "add to home screen" on mobile -->
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="BearStatus">

    <!-- Icons -->    
    <link rel="shortcut icon" sizes="16x16" href="/view/images/icon16.png">
    <link rel="shortcut icon" sizes="32x32" href="/view/images/icon32.png">
    <link rel="shortcut icon" sizes="120x120" href="/view/images/icon120.png">
    <link rel="shortcut icon" sizes="196x196" href="/view/images/icon196.png">
    <!-- iOS icons -->
    <link rel="apple-touch-icon" sizes="120x120" href="/view/images/apple-touch-icon-120x120-precomposed.png">
    <link rel="apple-touch-icon" sizes="76x76" href="/view/images/apple-touch-icon-76x76-precomposed.png">
    <link rel="apple-touch-icon" sizes="152x152" href="/view/images/apple-touch-icon-152x152-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/view/images/apple-touch-icon-114x114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/view/images/apple-touch-icon-57x57-precomposed.png">

    <title>{% block title %}{% endblock %}</title>
    
    <!--Bootstrap core CSS -->
    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css">
    
    <!-- JQuery JS -->
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    
    <!-- Sitewide CSS, JS -->
    <script src="view/javascript/site.js"></script>
    <link href="view/stylesheets/site.css" rel="stylesheet">

    <!-- Google Analytics -->
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-50342283-1', 'auto');
      ga('send', 'pageview');

    </script>
    
    {% endblock %}
    
  </head>
  <body>
    
    {% block navbar %}
      <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="navbar-header">
        <a class="navbar-brand" href="/">BearStatus</a>
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        </div>
        
        {% set active_page = active_page|default('index') -%}

        <!-- 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">
            
            {# Set the pages to go in the navbar #}
            {% if isadmin %}{# Show the admin page in the navbar if admin is logged in #}
              {% set navigation_bar = [
                  ('/', 'index', 'Home', none),
                  ('/schedule', 'schedule', 'Schedule', none),
                  ('/finals', 'finals', 'Semester Exams', none),
                  ('/about', 'about', 'About', none),
                  ('/admin', 'admin', 'Admin', none)
              ] -%}
            {% else %}
              {% set navigation_bar = [
                  ('/', 'index', 'Home', none),
                  ('/schedule', 'schedule', 'Schedule', none),
                  ('/finals', 'finals', 'Semester Exams ', none),
                  ('/about', 'about', 'About', none)
              ] -%}
            {% endif %}
            
            {# Use the variables set above to generate the navbar #}
            {% for href, id, caption, label in navigation_bar %}
              <li
              {% if id == active_page %} class="active"{% endif %}>
              <a href="{{ href|e }}">{{ caption|e }}
              {% if label %}<span class="label label-default">{{ label|e }}</span>{% endif %}
              </a>
            {% endfor %}

          </ul>
        </div><!-- /.navbar-collapse -->
      </nav>
    {% endblock %}
    
      {% block content %}
      {% endblock %}
      {% block footer %}
        <footer>
          <p>
            Like us on <a href="https://www.facebook.com/bearstatus" target="_blank">Facebook</a> • Follow us on <a href="https://twitter.com/bear__status" target="_blank">Twitter</a><br>
            <a href="/feedback" target="_blank">Send Feedback</a> • <a href="/admin">Admin Login</a>
          </p>
        </footer>
      {% endblock %}

    {% block pageend %}

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
    <!-- Google Fonts stylesheet -->
    <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Ubuntu:300">


    
    {% endblock %}
    
    </body>
</html>
{'fraction_non_alphanumeric': 0.19807427785419532, 'fraction_numerical': 0.017962618334816733, 'mean_word_length': 2.3181208053691273, 'pattern_counts': {'":': 0, '<': 185, '<?xml version=': 0, '>': 185, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2728942', 'n_tokens_mistral': 4179, 'n_tokens_neox': 3838, 'n_words': 733}