<commit_before>﻿@{
    Layout = null;
}

<!DOCTYPE html>
<html>
    <head>
        <title>Team Sauce</title>
        <link href="@Url.Content("/Content/bootstrap.min.css")" rel="stylesheet" />
        <link href="@Url.Content("/Content/site.css")" rel="stylesheet" />
        <script src="@Url.Content("~/Scripts/jquery-1.9.1.min.js")"></script>
        <script src="@Url.Content("~/Scripts/bootstrap.min.js")"></script>
        <script src="@Url.Content("~/Scripts/jquery.signalR-2.0.0.js")"></script>
    </head>
    <body>
        <div class="container">
            <div id="loginOverlay" style="background-color: #006400;">
                <h2>Login</h2>

                <input type="text" id="username"/>
                <input type="password" id="password"/>

                <input type="button" id="log-in"/>
            </div>
            <div class="row">
                <div class="col-md-8">
                    @{ Html.RenderPartial("_Graphs"); }
                </div>
                <div class="col-md-4">
                    @{ Html.RenderPartial("_HackInformation"); }
                </div>
            </div>
            <div class="row">
                <div class="col-md-4">
                    @{ Html.RenderPartial("_TeamChat"); }
                </div>
                <div class="col-md-4">
                    @{ Html.RenderPartial("_Activity"); }
                </div>
                <div class="col-md-4">

                    @{ Html.RenderPartial("_SponsorChat"); }
                </div>
            </div>
        </div>
        
        @{ Html.RenderPartial("_Questionnaire"); }
        
        <script src="@Url.Content("~/Scripts/jquery-1.9.1.min.js")"></script>
        <script src="@Url.Content("~/Scripts/bootstrap.min.js")"></script>
        <script src="@Url.Content("~/Scripts/jquery.signalR-2.0.0.js")"></script>
        <script src='/signalr/js'></script>
        <script src="@Url.Content("~/Scripts/ui-bootstrap-tpls-0.6.0.min.js")"></script>
        <script src="@Url.Content("~/Scripts/jquery.raty.min.js")"></script>
        <script src="@Url.Content("~/Scripts/LoginR.js")"></script>
        <script src="@Url.Content("~/Scripts/SponsorChatR.js")"></script>
        <script src="@Url.Content("~/Scripts/teamsauce.js")"></script>
        
        <script src="@Url.Content("~/Scripts/moment.js")"></script>

        <script type="text/javascript">
            var proxy = $.connection.teamSauceHub;

            var init_LoginR = function () {
                $("#log-in").click(function () {
                    var name = $('#username').val();
                    var password = <PASSWORD>').val();
                    proxy.server.logIn(name, password);
                });
            };

            proxy.client.completed = function (connectionId) {
                alert(connectionId);
                init_SponsorChatR();
                init_QuestionnaireR();
            };

            proxy.client.loginFailed = function (connectionId) {
                alert('Fail ' + connectionId);
            };

            var init_SponsorChatR = function () {

                $("#send-sponsor-message").click(function () {
                    var body = $('#sponsor-message').val();
                    proxy.server.messageReceived(body);
                });

                proxy.server.getMessages();
            };

            proxy.client.messagesLoaded = function (messages) {
                alert('Messages Returned' + messages + ':' + messages.length);
                for (var idx = 0; idx < messages.length; idx++) {
                    if (messages[idx].MessageType == 'Sponsor') {

                        $('#sponsor-feed').append('<li class="feed-sponsor">' +
                                         '<span class="name">' + messages[idx].Sender + '</span>' +
                                         '<span class="body">' + messages[idx].Message + '</span>' +
                                         '<time>' + messages[idx].Time + '</time>' +
                                         '</li>');

                    } else {
                        $('#sponsor-feed').append('<li>' +
                            '<span class="name">' + messages[idx].Sender + '</span>' +
                            '<span class="body">' + messages[idx].Message + '</span>' +
                            '<time>' + messages[idx].Time + '</time>' +
                            '</li>');
                    }
                }
            };

            proxy.client.userMessage = function (message) {
                $('#sponsor-feed').append('<li>' +
                    '<span class="name">' + message.Sender + '</span>' +
                    '<span class="body">' + message.Message + '</span>' +
                    '<time>' + message.Time + '</time>' +
                    '</li>');
            };

            proxy.client.sponsorMessage = function (message) {
                $('#sponsor-feed').append('<li class="feed-sponsor">' +<commit_msg>nice purple thing<commit_after>﻿@{
    Layout = null;
}

<!DOCTYPE html>
<html>
    <head>
        <title>Team Sauce</title>
        <link href="@Url.Content("/Content/bootstrap.min.css")" rel="stylesheet" />
        <link href="@Url.Content("/Content/site.css")" rel="stylesheet" />
        <script src="@Url.Content("~/Scripts/jquery-1.9.1.min.js")"></script>
        <script src="@Url.Content("~/Scripts/bootstrap.min.js")"></script>
        <script src="@Url.Content("~/Scripts/jquery.signalR-2.0.0.js")"></script>
    </head>
    <body>
        <div class="navbar navbar-inverse">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">TeamSauce</a>
                </div>
                <div class="navbar-collapse collapse navbar-responsive-collapse">
                    <ul class="nav navbar-nav">
                        
                    </ul>
                    <form class="navbar-form navbar-left">
                        <input type="text" class="form-control col-lg-8" placeholder="Search">
                    </form>
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="#">Log out</a></li>
                       
                    </ul>
                </div><!-- /.nav-collapse -->
            </div><!-- /.container -->
        </div>
        
        

        <div class="container">
            <div id="loginOverlay" style="background-color: #006400;">
                <h2>Login</h2>

                <input type="text" id="username"/>
                <input type="password" id="password"/>

                <input type="button" id="log-in"/>
            </div>
            <div class="row">
                <div class="col-md-8">
                    @{ Html.RenderPartial("_Graphs"); }
                </div>
                <div class="col-md-4">
                    @{ Html.RenderPartial("_HackInformation"); }
                </div>
            </div>
            <div class="row">
                <div class="col-md-4">
                    @{ Html.RenderPartial("_TeamChat"); }
                </div>
                <div class="col-md-4">
                    @{ Html.RenderPartial("_Activity"); }
                </div>
                <div class="col-md-4">

                    @{ Html.RenderPartial("_SponsorChat"); }
                </div>
            </div>
        </div>
        
        @{ Html.RenderPartial("_Questionnaire"); }
        
        <script src="@Url.Content("~/Scripts/jquery-1.9.1.min.js")"></script>
        <script src="@Url.Content("~/Scripts/bootstrap.min.js")"></script>
        <script src="@Url.Content("~/Scripts/jquery.signalR-2.0.0.js")"></script>
        <script src='/signalr/js'></script>
        <script src="@Url.Content("~/Scripts/ui-bootstrap-tpls-0.6.0.min.js")"></script>
        <script src="@Url.Content("~/Scripts/jquery.raty.min.js")"></script>
        <script src="@Url.Content("~/Scripts/LoginR.js")"></script>
        <script src="@Url.Content("~/Scripts/SponsorChatR.js")"></script>
        <script src="@Url.Content("~/Scripts/teamsauce.js")"></script>
        
        <script src="@Url.Content("~/Scripts/moment.js")"></script>

        <script type="text/javascript">
            var proxy = $.connection.teamSauceHub;

            var init_LoginR = function () {
                $("#log-in").click(function () {
                    var name = $('#username').val();
                    var password = <PASSWORD>').val();
                    proxy.server.logIn(name, password);
                });
            };

            proxy.client.completed = function (connectionId) {
                alert(connectionId);
                init_SponsorChatR();
                init_QuestionnaireR();
            };

            proxy.client.loginFailed = function (connectionId) {
                alert('Fail ' + connectionId);
            };

            var init_SponsorChatR = function () {

                $("#send-sponsor-message").click(function () {
                    var body = $('#sponsor-message').val();
                    proxy.server.messageReceived(body);
                });

                proxy.server.getMessages();
            };

            proxy.client.messagesLoaded = function (messages) {
                alert('Messages Returned' + messages + ':' + messages.length);
                for (var idx = 0; idx < messages.length; idx++) {
                    if (messages[idx].MessageType == 'Sponsor') {

                        $('#sponsor-feed').append('<li class="feed-sponsor">' +
                            '<span class="name">' + messages[idx].Sender + '</span>' +
                            '<span class="body">' + messages[idx].Message + '</span>' +
                            '<time>' + messages[idx].Time + '</time>' +
                            '</li>');

                    } else {
                        $('#sponsor-feed').append('<li>' +
                            '<span class="name">' + messages[idx].Sender + '</span>' +
                            '<span class="body">' + messages[idx].Message + '</span>' +
                            '<time>' + messages[idx].Time + '</time>' +
                            '</li>');
                    }
                }
            };

            proxy.client.userMessage = function (message) {
                $('#sponsor-feed').append('<li>' +
                    '<span class="name">' + message.Sender + '</span>' +
                    '<span class="body">' + message.Message + '</span>' +
                    '<time>' + message.Time + '</time>' +
                    '</li>');
            };

            proxy.client.sponsorMessage = function (message) {
                $('#sponsor-feed').append('<li class="feed-sponsor">' +
{'fraction_non_alphanumeric': 0.1794894760412002, 'fraction_numerical': 0.005284370801612181, 'mean_word_length': 1.412705272255834, 'pattern_counts': {'":': 0, '<': 206, '<?xml version=': 0, '>': 204, 'https://': 0, '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': '798252', 'n_tokens_mistral': 3153, 'n_tokens_neox': 2928, 'n_words': 437}