<commit_before>
<div class="authentication">
    <div class="container">
        <div class="row">
            <div class="warnings col-xs-8">
                <h2><a href="#/home"><img src="resources/logo.png"/></a>Log in</h2>
                <hr class="divider">
                <p ng-show="status">{{status}}</p>
            </div>
        </div>
        <div class="row">
            <div class="authentication-form col-xs8">
                <form>
                    <div class="form-group">
                        <input type="email" ng-model="email" class="form-control" placeholder="Email">
                    </div>
                    <div class="form-group">
                        <input type="password" ng-model="password" class="form-control" placeholder="Password">
                    </div>
                    <button ng-click="login()" class="btn btn-default" ><span id="formsubmitbutton" onclick="ButtonClicked()">Submit</span></button>

                    <a href="#/register" class="btn btn-link">Register</a>
                </form>

                <!--<img src="../resources/loading_animation.gif" style="display:none;" id="loading_image">-->
                <div id="buttonreplacement" style="margin-left: 40%;  display:none;" >
                    <!--<img src="http://www.willmaster.com/images/preload.gif" alt="loading...">-->
                    <img src="http://preciseleads.com/images/loading_animation.gif" alt="Loading" width="100px" height="100px" >
                </div>
            </div>

        </div>

    </div>
    <!--<div id="formsubmitbutton">-->
        <!--<input type="submit" name="submitter" value="Submit Button" onclick="ButtonClicked()">-->
    <!--</div>-->


    <script type="text/javascript">

        function ButtonClicked()
        {
            //document.getElementById("formsubmitbutton").style.display = "none"; // to undisplay
            document.getElementById("buttonreplacement").style.display = ""; // to display
            return true;
        }
        var FirstLoading = true;
        function RestoreSubmitButton()
        {
            if( FirstLoading )
            {
                FirstLoading = false;
                return;
            }
            document.getElementById("formsubmitbutton").style.display = ""; // to display
            document.getElementById("buttonreplacement").style.display = "none"; // to undisplay
        }
        // To disable restoring submit button, disable or delete next line.
        document.onfocus = RestoreSubmitButton;
    </script>

</div>




<!--<script type="text/javascript">-->
    <!--function loader() {-->
        <!--$("#loading_image").show(); // show loading image, as request is about to start-->
        <!--$.ajax({-->
            <!--url: '..',-->
            <!--type: '..',-->
            <!--complete: function () {-->
                <!--// request is complete, regardless of error or success, so hide image-->
                <!--$("#loading_image").hide();-->
            <!--}-->
        <!--});-->
    <!--}-->
<!--</script>-->

<commit_msg>improve the footer and login<commit_after>
<div class="authentication">
    <div class="container">
        <div class="row">
            <div class="warnings col-xs-8">
                <h2><a href="#/home"><img src="resources/logo.png"/></a>Log in</h2>
                <hr class="divider">
                <p ng-show="status">{{status}}</p>
            </div>
        </div>
        <div class="row">
            <div class="authentication-form col-xs8">
                <form>
                    <div class="form-group">
                        <input type="email" ng-model="email" class="form-control" placeholder="Email">
                    </div>
                    <div class="form-group">
                        <input type="password" ng-model="password" class="form-control" placeholder="Password">
                    </div>
                    <button ng-click="login()" class="btn btn-default" ><span id="formsubmitbutton" onclick="ButtonClicked()">Submit</span></button>

                    <a href="#/register" class="btn btn-link">Register</a>
                </form>

                <!--<img src="../resources/loading_animation.gif" style="display:none;" id="loading_image">-->
                <div id="buttonreplacement" style="margin-left: 40%;  display:none;" >
                    <!--<img src="http://www.willmaster.com/images/preload.gif" alt="loading...">-->
                    <img src="http://preciseleads.com/images/loading_animation.gif" alt="Loading" width="100px" height="100px" >
                </div>
            </div>

        </div>

    </div>
    <!--<div id="formsubmitbutton">-->
        <!--<input type="submit" name="submitter" value="Submit Button" onclick="ButtonClicked()">-->
    <!--</div>-->


    <script type="text/javascript">


//            if (isLoggedIn()==true)
//        if(isLoggedIn()==true) {
            function ButtonClicked() {
                //document.getElementById("formsubmitbutton").style.display = "none"; // to undisplay
                document.getElementById("buttonreplacement").style.display = ""; // to display
                return true;
            }

            var FirstLoading = true;

            function RestoreSubmitButton() {
                if (FirstLoading) {
                    FirstLoading = false;
                    return;
                }
                document.getElementById("formsubmitbutton").style.display = ""; // to display
                document.getElementById("buttonreplacement").style.display = "none"; // to undisplay
            }

//        function timedMsg()
//        {
//            var t=setTimeout("document.getElementById("buttonreplacement").style.display",5000)
//        }

        // To disable restoring submit button, disable or delete next line.
        document.onfocus = RestoreSubmitButton;
    </script>

</div>




<!--<script type="text/javascript">-->
    <!--function loader() {-->
        <!--$("#loading_image").show(); // show loading image, as request is about to start-->
        <!--$.ajax({-->
            <!--url: '..',-->
            <!--type: '..',-->
            <!--complete: function () {-->
                <!--// request is complete, regardless of error or success, so hide image-->
                <!--$("#loading_image").hide();-->
            <!--}-->
        <!--});-->
    <!--}-->
<!--</script>-->


{'fraction_non_alphanumeric': 0.18297213622291023, 'fraction_numerical': 0.0043343653250774, 'mean_word_length': 1.6988304093567252, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1263307', 'n_tokens_mistral': 1735, 'n_tokens_neox': 1630, 'n_words': 331}