<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="shortcut icon" type="image/png" href="/static/favicon.ico"/>
    <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,300,300italic' rel='stylesheet' type='text/css'>

    {% load nvd3_tags %}


    {% load static %}

    <!-- jQuery TODO moving this here for debugging needs to be here for nvd3 to work -->
    <script src='{% static 'jquery/dist/jquery.js' %}'></script>
    <!--Auto complete plugins -->
    <script src='{% static 'awesomplete/awesomplete.js'%}'></script>
    <!-- mapbox-->
    <link href='{% static 'mapbox.js/mapbox.css' %}' rel='stylesheet' />
    <!-- Autocomplete css -->
    <link href='{% static 'awesomplete/awesomplete.css' %}' rel="stylesheet">
    <!-- bootstrap   -->
    <link href='{% static 'bootstrap/dist/css/bootstrap.css' %}' rel="stylesheet">

    <!--PACE -->
    <link href ='{% static 'PACE/themes/blue/pace-theme-minimal.css' %}' rel="stylesheet">


    <!-- MetisMenu CSS -->
    <link href='{% static 'metisMenu/dist/metisMenu.css' %}' rel="stylesheet">

    <!-- Timeline CSS -->
    <link href='{% static 'sesh-ui/css/timeline.css' %}' rel="stylesheet">

    <!-- Custom CSS -->
    <link href='{% static 'sesh-ui/css/sb-admin-2.css' %}' rel="stylesheet">
    <!-- SESH CSS -->
    <link href='{% static 'sesh-ui/css/sesh.css' %}' rel="stylesheet">

    <!-- Calendar heatmap css -->
    <link href='{% static 'sesh-ui/css/calendar-heatmap.css' %}' rel="stylesheet">

    <!-- Custom Fonts -->
    <link href='{% static 'font-awesome/css/font-awesome.min.css' %}' rel="stylesheet" type="text/css">


    <!--utilities-->
    <script src='{% static 'sesh-ui/js/utilities.js' %}' ></script>



  <title>SESH Dashboard (beta)</title>

</head>
  <body>
       <div id="wrapper">

            {% block top_navbar %}
            <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <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="/">SESH Dashboard <i>beta</i></a>
            </div>
            <ul class="nav navbar-top-links navbar-right">
                <li class="dropdown">
                    <a class="dropdown-toggle" id ="cont" data-toggle="dropdown" href="#" >
                         <div hidden id ="pop"></div>
                        <i class="fa fa-bell fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-alerts" id ="play">
                        <li>
                       <div class = "form-box">
                        <div class ="form-top">
                          Alerts
                          </div>
                        <div class="form-bottom">
                        <div class ="table-responsive">
                          <table class = "table table-striped table-hover">
                           <thead>
                             <tr>
                               <th>Site Name </th>
                               <th>Number of alerts </th>
                             </tr>
                           </thead>

                           <tbody id ="alert-notification-table">
                           </tbody>
                          </table>
                         </div>
                         </div>
                        </div>
                        </li>
                   </ul>
               </li>
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li><a href="/admin"><i class="fa fa-gear fa-fw"></i> Settings</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="/logout"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                        </li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
          </ul>
            {% endblock %}

            {% block side_navbar %}
                       <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav" id="side-menu">
                        <li class="sidebar-search">
                            <div class="input-group custom-search-form" id="form-searching">
                                <input type="text" id="search" class="form-control" placeholder="Search...">
                                <span class="input-group-btn">
                                <button class="btn btn-default button-search" type="button">
                                    <i class="fa fa-search"></i>
                                </button>
                            </span>
                            </div>
                            <!-- /input-group -->
                        </li>
                        <li>
                            <a href="/"><i class="fa fa-dashboard fa-fw"></i> Dashboard</a>
                        </li>
                        <li>
                            <a href='/historical_data'><i class="fa fa-history fa-fw"></i> Historical Data </a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i> Sites<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                {% for site in sites %}
                                <li>
                                <a href="/dash/{{ site.id }}">{{ site.site_name }}</a>
                                </li>
                                {% endfor %}
                            </ul>
                            <!-- /.nav-second-level -->
                        </li>

                        <li>
                            <a id="site_settings" href="/add_site"> <i class="glyphicon glyphicon-cog"></i> Site-Settings</a>
                        </li>

                    </ul>

                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
            {% endblock %}
            </nav>
        {% block  main_content %}
            <div id="page-wrapper">
                <div class="row">
                    <div class="col-lg-12">
                        <!--   user info here {{ user }} -->
                        {% block header %}
                            <h2 class="page-header">Welcome {{ user }}</h2>
                        {% endblock %}
                    </div>
                    <!-- /.col-lg-12 -->
                    {% block dash_1 %}

                    {% endblock %}
                </div>
                <!-- /.row -->
            </div>
        </div>
        {% endblock %}

    {% block footer %}

    <script type="text/javascript">
    {% block javascript %}
    {% endblock %}
    </script>

    <!-- Jquery Ui -->
    <script src= '{% static 'jquery-ui/jquery-ui.min.js' %}'></script>

    <!-- PACE javascript -->
    <script src = '{% static  'PACE/pace.min.js' %}' > </script>

    <!-- Bootstrap Core JavaScript -TODO switch to min after-->
    <script src='{% static 'bootstrap/dist/js/bootstrap.js' %}' ></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src='{% static 'metisMenu/dist/metisMenu.min.js' %}' ></script>

    <!-- Morris Charts JavaScript -->
    <script src='{% static 'raphael/raphael.min.js' %}' ></script>

    <script src='{% static 'morris.js/morris.min.js' %}' ></script>

    <!-- Custom Theme JavaScript -->
    <script src='{% static  'sesh-ui/js/sb-admin-2.js' %}'  > </script>
    <!-- ReactJS -->
    <script src='{%static 'react/react.min.js' %}' ></script>
    <!-- ReactDOM -->
    <script src='{%static 'react/react-dom.min.js' %}'></script>

    <!-- Babel txt intrepreter -->
    <script src='{%static 'babel/browser.js' %}'></script>
    <!-- high charts -->
    <script src='{% static  'highcharts/highcharts.js' %}'  > </script>
    <!-- d3js -->
    <script src='{% static 'd3/d3.min.js' %}'> </script>
    <!-- momentjs -->
    <script src='{% static 'moment/min/moment.min.js' %}'> </script>

    <!-- Calendar heatmap js -->
    <script src='{% static 'sesh-ui/js/calendar-heatmap.js' %}' > </script>
    <!-- mapbox javascript -->
    <script src='{% static  'mapbox.js/mapbox.js' %}'  > </script>

   {% block seshjs %}
             <!-- sesh javascript -->
        <script src='{% static  'sesh-ui/js/sesh_dashboard.js' %}'  ></script>
        <!-- Sesh React -->
        <script src='{% static  'sesh-ui/js/sesh_react.js' %}' type="text/babel"></script>
        <!-- Maps configuration -->
        <script src='{% static  'sesh-ui/js/maps.js' %}'  > </script>

    {% endblock %}

   {% endblock %}
  </body>
</html><commit_msg>merging<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="shortcut icon" type="image/png" href="/static/favicon.ico"/>
    <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,300,300italic' rel='stylesheet' type='text/css'>

    {% load nvd3_tags %}


    {% load static %}

    <!-- jQuery TODO moving this here for debugging needs to be here for nvd3 to work -->
    <script src='{% static 'jquery/dist/jquery.js' %}'></script>
    <!--Auto complete plugins -->
    <script src='{% static 'awesomplete/awesomplete.js'%}'></script>
    <!-- mapbox-->
    <link href='{% static 'mapbox.js/mapbox.css' %}' rel='stylesheet' />
    <!-- Autocomplete css -->
    <link href='{% static 'awesomplete/awesomplete.css' %}' rel="stylesheet">
    <!-- bootstrap   -->
    <link href='{% static 'bootstrap/dist/css/bootstrap.css' %}' rel="stylesheet">

    <!--PACE -->
    <link href ='{% static 'PACE/themes/blue/pace-theme-minimal.css' %}' rel="stylesheet">


    <!-- MetisMenu CSS -->
    <link href='{% static 'metisMenu/dist/metisMenu.css' %}' rel="stylesheet">

    <!-- Timeline CSS -->
    <link href='{% static 'sesh-ui/css/timeline.css' %}' rel="stylesheet">

    <!-- Custom CSS -->
    <link href='{% static 'sesh-ui/css/sb-admin-2.css' %}' rel="stylesheet">
    <!-- SESH CSS -->
    <link href='{% static 'sesh-ui/css/sesh.css' %}' rel="stylesheet">

    <!-- Calendar heatmap css -->
    <link href='{% static 'sesh-ui/css/calendar-heatmap.css' %}' rel="stylesheet">

    <!-- Custom Fonts -->
    <link href='{% static 'font-awesome/css/font-awesome.min.css' %}' rel="stylesheet" type="text/css">


    <!--utilities-->
    <script src='{% static 'sesh-ui/js/utilities.js' %}' ></script>



  <title>SESH Dashboard (beta)</title>

</head>
  <body>
       <div id="wrapper">

            {% block top_navbar %}
            <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <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="/">SESH Dashboard <i>beta</i></a>
            </div>
            <ul class="nav navbar-top-links navbar-right">
                <li class="dropdown">
                    <a class="dropdown-toggle" id ="cont" data-toggle="dropdown" href="#" >
                         <div hidden id ="pop"></div>
                        <i class="fa fa-bell fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-alerts" id ="play">
                        <li>
                       <div class = "form-box">
                        <div class ="form-top">
                          Alerts
                          </div>
                        <div class="form-bottom">
                        <div class ="table-responsive">
                          <table class = "table table-striped table-hover">
                           <thead>
                             <tr>
                               <th>Site Name </th>
                               <th>Number of alerts </th>
                             </tr>
                           </thead>

                           <tbody id ="alert-notification-table">
                           </tbody>
                          </table>
                         </div>
                         </div>
                        </div>
                        </li>
                   </ul>
               </li>
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li><a href="/admin"><i class="fa fa-gear fa-fw"></i> Settings</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="/logout"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                        </li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
          </ul>
            {% endblock %}

            {% block side_navbar %}
                       <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav" id="side-menu">
                        <li class="sidebar-search">
                            <div class="input-group custom-search-form" id="form-searching">
                                <input type="text" id="search" class="form-control" placeholder="Search...">
                                <span class="input-group-btn">
                                <button class="btn btn-default button-search" type="button">
                                    <i class="fa fa-search"></i>
                                </button>
                            </span>
                            </div>
                            <!-- /input-group -->
                        </li>
                        <li>
                            <a href="/"><i class="fa fa-dashboard fa-fw"></i> Dashboard</a>
                        </li>
                        <li>
                            <a href='/historical_data'><i class="fa fa-history fa-fw"></i> Historical Data </a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i> Sites<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                {% for site in sites %}
                                <li>
                                <a href="/dash/{{ site.id }}">{{ site.site_name }}</a>
                                </li>
                                {% endfor %}
                            </ul>
                            <!-- /.nav-second-level -->
                        </li>

                        <li>
                            <a id="site_settings" href="/add_site"> <i class="glyphicon glyphicon-cog"></i> Site-Settings</a>
                        </li>

                    </ul>

                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
            {% endblock %}
            </nav>
        {% block  main_content %}
            <div id="page-wrapper">
                <div class="row">
                    <div class="col-lg-12">
                        <!--   user info here {{ user }} -->
                        {% block header %}
                            <h2 class="page-header">Welcome {{ user }}</h2>
                        {% endblock %}
                    </div>
                    <!-- /.col-lg-12 -->
                    {% block dash_1 %}

                    {% endblock %}
                </div>
                <!-- /.row -->
            </div>
        </div>
        {% endblock %}

    {% block footer %}

    <script type="text/javascript">
    {% block javascript %}
    {% endblock %}
    </script>

    <!-- Jquery Ui -->
    <script src= '{% static 'jquery-ui/jquery-ui.min.js' %}'></script>

    <!-- PACE javascript -->
    <script src = '{% static  'PACE/pace.min.js' %}' > </script>

    <!-- Bootstrap Core JavaScript -TODO switch to min after-->
    <script src='{% static 'bootstrap/dist/js/bootstrap.js' %}' ></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src='{% static 'metisMenu/dist/metisMenu.min.js' %}' ></script>

    <!-- Morris Charts JavaScript -->
    <script src='{% static 'raphael/raphael.min.js' %}' ></script>

    <script src='{% static 'morris.js/morris.min.js' %}' ></script>

    <!-- Custom Theme JavaScript -->
    <script src='{% static  'sesh-ui/js/sb-admin-2.js' %}'  > </script>
    <!-- ReactJS -->
    <script src='{%static 'react/react.min.js' %}' ></script>
    <!-- ReactDOM -->
    <script src='{%static 'react/react-dom.min.js' %}'></script>

    <!-- Babel txt intrepreter -->
    <script src='{%static 'babel/browser.js' %}'></script>
    <!-- high charts -->
    <script src='{% static  'highcharts/highcharts.js' %}'  > </script>
    <!-- d3js -->
    <script src='{% static 'd3/d3.min.js' %}'> </script>
    <!-- momentjs -->
    <script src='{% static 'moment/min/moment.min.js' %}'> </script>

    <!-- Calendar heatmap js -->
    <script src='{% static 'sesh-ui/js/calendar-heatmap.js' %}' > </script>
    <!-- mapbox javascript -->
    <script src='{% static  'mapbox.js/mapbox.js' %}'  > </script>

   {% block seshjs %}
        <!-- sesh javascript -->
        <script src='{% static  'sesh-ui/js/sesh_dashboard.js' %}'  ></script>
        <!-- Sesh React -->
        <script src='{% static  'sesh-ui/js/sesh_react.js' %}' type="text/babel"></script>
        <!-- Maps configuration -->
        <script src='{% static  'sesh-ui/js/maps.js' %}'  > </script>

    {% endblock %}

   {% endblock %}
  </body>
</html>
{'fraction_non_alphanumeric': 0.1808637804687906, 'fraction_numerical': 0.0033262304454030455, 'mean_word_length': 1.3194310511089682, 'pattern_counts': {'":': 0, '<': 493, '<?xml version=': 0, '>': 493, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '3369666', 'n_tokens_mistral': 5749, 'n_tokens_neox': 5244, 'n_words': 1105}