<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">
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/TimeStyling.css" rel="stylesheet">

    <!-- include all compiled plugins (below or include individual files as needed) -->

    <script src="js/bootstrap.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>﻿
    <script type="text/javascript" src="js/jspdf.min.js"></script>
    <script type="text/javascript" src="timer.js"></script>
    <title> Stop watch </title>
    <script type="text/javascript">

        var today = new Date();
        var dd = today.getDate();
        var mm = today.getMonth()+1; //January is 0!
        var yyyy = today.getFullYear();

        if(dd<10) {
            dd='0'+dd
        }

        if(mm<10) {
            mm='0'+mm
        }

        today = mm+'/'+dd+'/'+yyyy;

        var specialElementHandlers = {
            '#hidediv': function (element, renderer) {
                return true;
            }
        };

        function genPDF() {
            var doc = new jsPDF('p', 'mm', [297, 210]);
            doc.text( 20, 20, 'Tasks on: '+today);
            doc.fromHTML($('#laps').get(0), 20, 20, {
                'width':900,
                'elementHandlers':specialElementHandlers
            });
            doc.output('dataurlnewwindow');
        }
    </script>
</head>
<body>
<div class="container-fluid">
    <div id="header">
        <h1> Time Management </h1>
    </div>

    <div id="lap">
        <span id="laphour">00</span>:
        <span id="lapminute">00</span>:
        <span id="lapsecond">00</span>
    </div>

    <div id="timer">
        <span id="timerhour">00</span>:
        <span id="timerminute">00</span>:
        <span id="timersecond">00</span>
    </div>

    <div class="row" id="controlContainer">
        <div class="col-xs-2 col-xs-offset-4">
            <div id="start" class="controlButton"> Start </div>
            <div id="stop" class="controlButton"> Stop </div>
            <div id="resume" class="controlButton"> Resume</div>
        </div>
        <div class="col-xs-2">
            <div id="takeLap" class="controlButton"> Lap </div>
            <div id="reset" class="controlButton"> Reset </div>
        </div>
    </div>

    <div class="container-fluid" id="textfield">
        <a onclick="genPDF();" class="btn btn-default"> Generate pdf </a>
        <form>
            <input type="text" name="title" id="input" value="New task">
        </form>
    </div>

    <div id="laps">

    </div>

    <br/>
    <br/>
    <br/>
    <br/>
    <div class="panel-footer">
        <p> Photo Credit: <NAME> </p>
    </div>
</div>

<script type="text/javascript" src="js/bootstrap.min.js"></script>

</body>
</html><commit_msg>change location of time management<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">
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/TimeStyling.css" rel="stylesheet">

    <!-- include all compiled plugins (below or include individual files as needed) -->

    <script src="js/bootstrap.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>﻿
    <title> Stop watch </title>
    <script type="text/javascript">

        var today = new Date();
        var dd = today.getDate();
        var mm = today.getMonth()+1; //January is 0!
        var yyyy = today.getFullYear();

        if(dd<10) {
            dd='0'+dd
        }

        if(mm<10) {
            mm='0'+mm
        }

        today = mm+'/'+dd+'/'+yyyy;

        var specialElementHandlers = {
            '#hidediv': function (element, renderer) {
                return true;
            }
        };

        function genPDF() {
            var doc = new jsPDF('p', 'mm', [297, 210]);
            doc.text( 20, 20, 'Tasks on: '+today);
            doc.fromHTML($('#laps').get(0), 20, 20, {
                'width':900,
                'elementHandlers':specialElementHandlers
            });
            doc.output('dataurlnewwindow');
        }
    </script>
</head>
<body>
<div class="container-fluid">
    <div id="header">
        <h1> Time Management </h1>
    </div>

    <div id="lap">
        <span id="laphour">00</span>:
        <span id="lapminute">00</span>:
        <span id="lapsecond">00</span>
    </div>

    <div id="timer">
        <span id="timerhour">00</span>:
        <span id="timerminute">00</span>:
        <span id="timersecond">00</span>
    </div>

    <div class="row" id="controlContainer">
        <div class="col-xs-2 col-xs-offset-4">
            <div id="start" class="controlButton"> Start </div>
            <div id="stop" class="controlButton"> Stop </div>
            <div id="resume" class="controlButton"> Resume</div>
        </div>
        <div class="col-xs-2">
            <div id="takeLap" class="controlButton"> Lap </div>
            <div id="reset" class="controlButton"> Reset </div>
        </div>
    </div>

    <div class="container-fluid" id="textfield">
        <a onclick="genPDF();" class="btn btn-default"> Generate pdf </a>
        <form>
            <input type="text" name="title" id="input" value="New task">
        </form>
    </div>

    <div id="laps">

    </div>

    <br/>
    <br/>
    <br/>
    <br/>
    <div class="panel-footer">
        <p> Photo Credit: <NAME> </p>
    </div>
</div>

<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="timer.js"></script>
<script type="text/javascript" src="js/jspdf.min.js"></script>

</body>
</html>
{'fraction_non_alphanumeric': 0.19080039853869146, 'fraction_numerical': 0.016439721022915976, 'mean_word_length': 2.2504047490555856, 'pattern_counts': {'":': 0, '<': 175, '<?xml version=': 0, '>': 171, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '911752', 'n_tokens_mistral': 2043, 'n_tokens_neox': 1938, 'n_words': 413}