<commit_before>{% load staticfiles %}
{% load gravatar %}
{% load socialaccount %}
{% load user_score %}
{% providers_media_js %}
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>{% block title %}Bugheist{% endblock %}</title>
        <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="{% block description %}Bugheist allows anyone to submit an issue from any website. For example if you saw a broken button on Amazon.com you can report the issue on Bugheist and then get a point! The more bugs you find the more points you get. Bugs can be verified for extra points and companies can get involved and help out.{% endblock %}">
        <meta name="author" content="">
        <meta property="og:title" content="{% block og_title %}Bugheist{% endblock %}" />
        <meta property="og:image" content="{% block og_image %}{% static "img/screenshot.png" %}{% endblock %}" />
        <meta property="og:description"  content="{% block og_description %}Bugheist allows anyone to submit an issue from any website. For example if you saw a broken button on Amazon.com you can report the issue on Bugheist and then get a point! The more bugs you find the more points you get. Bugs can be verified for extra points and companies can get involved and help out.{% endblock %}" />
        <meta property="og:type"  content="website" />
        <link href="{% static "vendor/bootstrap/css/bootstrap.css" %}" rel="stylesheet">
        <link href="{% static "css/sb-admin-2.css" %}" rel="stylesheet">
        <link href="{% static "css/style.css" %}" rel="stylesheet">
        <link href="{% static "vendor/font-awesome/css/font-awesome.min.css" %}" rel="stylesheet" type="text/css">
        <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400" rel="stylesheet">
        <script src="{% static "vendor/jquery/jquery.min.js" %}"></script>
        <script src="{% static "js/notify.js" %}"></script>
        <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
        <style>
            {% block style %}
            {% endblock %}
        </style>
    </head>
    <body>
        <div id="wrapper">
            <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0;">
                <div class="navbar-header" style="z-index:4;">
                    <a class="navbar-brand" href="/" ><img src="{% static "img/logo-small-transparent.png" %}" style="margin-left:20px;"></a>
                    <span class="tagline">| Make the web a better place</span>
                </div>

                <ul class="nav navbar-top-links navbar-right">

                    {% if request.user.is_authenticated %}
                        <li class="dropdown user-menu">
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                                {% if request.user.userprofile.avatar %}
                                    <img src="{{ request.user.userprofile.avatar }}" width="20" height="20">
                                {% elif request.user.socialaccount_set.all.0.get_avatar_url %}
                                     <img src="{{request.user.socialaccount_set.all.0.get_avatar_url}}" width="20" height="20">
                                {% else %}
                                    {% gravatar request.user.email 20 %}
                                {% endif %}
                                {{request.user.username}} ({{ request.user|score|default:"0" }} pts) <i class="fa fa-caret-down"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li>
                                    <a href="/accounts/profile/"><i class="fa fa-user fa-fw"></i> User Profile</a>
                                </li>
                                <li>
                                    <a href="/accounts/password/change/"><i class="fa fa-gear fa-fw"></i> Settings</a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a href="/accounts/logout/"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                                </li>
                            </ul>
                        </li>
                    {% else %}
                        <a href="/accounts/login/">
                            <button class="btn btn-default login-button">
                            Login
                            </button>
                        </a>                            
                        <a href="/accounts/login">
                            <button class="btn btn-default btn-caution" style="float:right; height:43px; font-size:14px;margin-top:3px; margin-right:15px; color:#dd4252">
                            <i class="fa fa-envelope fa-2x"></i>
                            </button>
                        </a>
                        <a href="{% provider_login_url "facebook" method="js_sdk" %}">
                            <button class="btn btn-default btn-caution" style="float:right; height:43px; font-size:14px;margin-top:3px; margin-right:15px; color:#dd4252">
                            <i class="fa fa-facebook fa-2x"></i>
                            </button>
                        </a>
                        <a href="{% provider_login_url "google" method="js_sdk" %}">
                            <button class="btn btn-default btn-caution" style="float:right; height:43px; font-size:14px;margin-top:3px; margin-right:15px; color:#dd4252">
                            <i class="fa fa-google fa-2x"></i>
                            </button>
                        </a>
                        <a href="{% provider_login_url "github" method="js_sdk" %}">
                            <button class="btn btn-default btn-caution" style="float:right; height:43px; font-size:14px;margin-top:3px; margin-right:15px; color:#dd4252">
                            <i class="fa fa-github fa-2x"></i>
                            </button>
                        </a>                      

                    {% endif %}
                        <li style="float:left;">
                            <a href="/start" class="sponsor-hunt">Sponsor a Bug Hunt</a>
                        </li>
                        <li style="float:right;"><a id="chrome_ext" href="https://chrome.google.com/webstore/detail/bugheist/bififchikfckcnblimmncopjinfgccme?hl=en" target="_new" class="chrome-plugin">
                        + Add to chrome
                    </a></li>
                </ul>
            </nav>
            <div id="page-wrapper" >
                <div class="container" >
                    {% block content %}
                    {% endblock %}
                </div>
            </div>

            <div class="container">
                <div class="panel-footer"  >
                    
                        <ul>
                            <li><a href="/terms">Terms of Service</a></li>
                            <li><a href="http://github.com/bugheist/website" target="_new">Source</a></li>
                            <li><a href="/stats">Stats</a></li>
                            <li><a href="/scoreboard">Company Scoreboard</a></li>
                        
                            <li><a href="http://twitter.com/bugheist" target="_new">Follow us on Twitter</a></li>
                            <li><a href="http://facebook.com/bugheist" target="_new">Like us on Facebook</a></li>
                            <li><a href="https://www.owasp.org/index.php/OWASP_Bug_Logging_Tool" target="_new">Powered by OWASP BLT</a></li>
                            <li><a href="/about" target="_new">About</a></li>
                        </ul>
                   

                </div>
            </div>
            <script src="{% static "vendor/bootstrap/js/bootstrap.min.js" %}"></script>
            {% block after_js %}
            {% endblock %}
            {% if messages %}
                {% for message in messages %}
                    <script> $.notify("{{ message }}",{ position: 'top center', className: "{{message.level_tag }}" }); </script>
                {% endfor %}
            {% endif %}
            <script src="{% static 'js/ui.js' %}"></script>
            <script>
                var message = "{{not_verified}}"
                if(message!=''){
                  $.notify(message,{ position: 'top center', className: "" }); 
                }
            </script>
        </div>
    </body>
</html>
<commit_msg>Added a modal and moved the social logins to the modal. #202<commit_after>{% load staticfiles %}
{% load gravatar %}
{% load socialaccount %}
{% load user_score %}
{% providers_media_js %}
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>{% block title %}Bugheist{% endblock %}</title>
        <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="{% block description %}Bugheist allows anyone to submit an issue from any website. For example if you saw a broken button on Amazon.com you can report the issue on Bugheist and then get a point! The more bugs you find the more points you get. Bugs can be verified for extra points and companies can get involved and help out.{% endblock %}">
        <meta name="author" content="">
        <meta property="og:title" content="{% block og_title %}Bugheist{% endblock %}" />
        <meta property="og:image" content="{% block og_image %}{% static "img/screenshot.png" %}{% endblock %}" />
        <meta property="og:description"  content="{% block og_description %}Bugheist allows anyone to submit an issue from any website. For example if you saw a broken button on Amazon.com you can report the issue on Bugheist and then get a point! The more bugs you find the more points you get. Bugs can be verified for extra points and companies can get involved and help out.{% endblock %}" />
        <meta property="og:type"  content="website" />
        <link href="{% static "vendor/bootstrap/css/bootstrap.css" %}" rel="stylesheet">
        <link href="{% static "css/sb-admin-2.css" %}" rel="stylesheet">
        <link href="{% static "css/style.css" %}" rel="stylesheet">
        <link href="{% static "vendor/font-awesome/css/font-awesome.min.css" %}" rel="stylesheet" type="text/css">
        <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400" rel="stylesheet">
        <script src="{% static "vendor/jquery/jquery.min.js" %}"></script>
        <script src="{% static "js/notify.js" %}"></script>
        <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
        <style>
            {% block style %}
            {% endblock %}
        </style>
    </head>
    <body>
        <div id="wrapper">
            <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0;">
                <div class="navbar-header" style="z-index:4;">
                    <a class="navbar-brand" href="/" ><img src="{% static "img/logo-small-transparent.png" %}" style="margin-left:20px;"></a>
                    <span class="tagline">| Make the web a better place</span>
                </div>

                <ul class="nav navbar-top-links navbar-right">

                    {% if request.user.is_authenticated %}
                        <li class="dropdown user-menu">
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                                {% if request.user.userprofile.avatar %}
                                    <img src="{{ request.user.userprofile.avatar }}" width="20" height="20">
                                {% elif request.user.socialaccount_set.all.0.get_avatar_url %}
                                     <img src="{{request.user.socialaccount_set.all.0.get_avatar_url}}" width="20" height="20">
                                {% else %}
                                    {% gravatar request.user.email 20 %}
                                {% endif %}
                                {{request.user.username}} ({{ request.user|score|default:"0" }} pts) <i class="fa fa-caret-down"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li>
                                    <a href="/accounts/profile/"><i class="fa fa-user fa-fw"></i> User Profile</a>
                                </li>
                                <li>
                                    <a href="/accounts/password/change/"><i class="fa fa-gear fa-fw"></i> Settings</a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a href="/accounts/logout/"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                                </li>
                            </ul>
                        </li>
                    {% else %}
                        <a>
                            <button class="btn btn-default login-button">
                            Login
                            </button>
                        </a>                            
                                      

                    {% endif %}
                        <li style="float:left;">
                            <a href="/start" class="sponsor-hunt">Sponsor a Bug Hunt</a>
                        </li>
                        <li style="float:right;"><a id="chrome_ext" href="https://chrome.google.com/webstore/detail/bugheist/bififchikfckcnblimmncopjinfgccme?hl=en" target="_new" class="chrome-plugin">
                        + Add to chrome
                    </a></li>
                </ul>
            </nav>
            <div id="page-wrapper" >
                <div class="container" >
                    {% block content %}
                    {% endblock %}
                </div>
            </div>

            <div id="login" class="modal" role="dialog">
              <div class="modal-dialog" style="margin-top: 200px;">
                <div class="modal-content">
                    <div class="modal-body">
                        <center>
                        <a href="/" ><img src="{% static "img/logo-small-transparent.png" %}" style="padding-top: 15px;"></a><hr>
                        <p>
                        <a href="/accounts/login">
                            <button class="btn btn-default btn-caution" style="height:86px; width: 86px;font-size:28px;margin-top:3px; margin-right:10px; color:#dd4252">
                            <i class="fa fa-envelope fa-2x"></i>
                            </button>
                        </a>
                        <a href="{% provider_login_url "facebook" method="js_sdk" %}">
                            <button class="btn btn-default btn-caution" style="height:86px; width: 86px;font-size:28px;margin-top:3px; margin-right:10px; color:#dd4252">
                            <i class="fa fa-facebook fa-2x"></i>
                            </button>
                        </a>
                        <a href="{% provider_login_url "google" method="js_sdk" %}">
                            <button class="btn btn-default btn-caution" style="height:86px; width: 86px;font-size:28px;margin-top:3px; margin-right:10px; color:#dd4252">
                            <i class="fa fa-google fa-2x"></i>
                            </button>
                        </a>
                        <a href="{% provider_login_url "github" method="js_sdk" %}">
                            <button class="btn btn-default btn-caution" style="height:86px; width: 86px;font-size:28px;margin-top:3px; margin-right:10px; color:#dd4252">
                            <i class="fa fa-github fa-2x"></i>
                            </button>
                        </a>    
                        </p>
                        <p style="font-size: 13px;">Sign in using any of the services listed above and start winning prizes for reporting bugs.</p>
                        </center>
                  </div>
                </div>

              </div>
            </div>

            <div class="container">
                <div class="panel-footer"  >
                    
                        <ul>
                            <li><a href="/terms">Terms of Service</a></li>
                            <li><a href="http://github.com/bugheist/website" target="_new">Source</a></li>
                            <li><a href="/stats">Stats</a></li>
                            <li><a href="/scoreboard">Company Scoreboard</a></li>
                        
                            <li><a href="http://twitter.com/bugheist" target="_new">Follow us on Twitter</a></li>
                            <li><a href="http://facebook.com/bugheist" target="_new">Like us on Facebook</a></li>
                            <li><a href="https://www.owasp.org/index.php/OWASP_Bug_Logging_Tool" target="_new">Powered by OWASP BLT</a></li>
                            <li><a href="/about" target="_new">About</a></li>
                        </ul>
                   

                </div>
            </div>
            <script src="{% static "vendor/bootstrap/js/bootstrap.min.js" %}"></script>
            {% block after_js %}
            {% endblock %}
            {% if messages %}
                {% for message in messages %}
                    <script> $.notify("{{ message }}",{ position: 'top center', className: "{{message.level_tag }}" }); </script>
                {% endfor %}
            {% endif %}
            <script src="{% static 'js/ui.js' %}"></script>
            <script>
                var message = "{{not_verified}}"
                if(message!=''){
                  $.notify(message,{ position: 'top center', className: "" }); 
                }
            </script>
        </div>
    </body>
</html>

{'fraction_non_alphanumeric': 0.1496228448275862, 'fraction_numerical': 0.009913793103448277, 'mean_word_length': 1.4177413051973426, 'pattern_counts': {'":': 0, '<': 349, '<?xml version=': 0, '>': 349, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 32, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2823583', 'n_tokens_mistral': 5329, 'n_tokens_neox': 4836, 'n_words': 1114}