<commit_before>{% extends "base.html" %}

{% import "bootstrap/utils.html" as utils %}



{% block scripts %}
    <script src="{{ url_for('static', filename='lib/moment.min.js') }}"></script>
    <script src="{{ url_for('static', filename='lib/jquery.min.js') }}"></script>
    <script src="{{ url_for('static', filename='fullcalendar.min.js') }}"></script>
    <script>
        $(document).ready(function() {
            $('#calendar').fullCalendar({
                header: {
                    left: 'prev,next today',
                    center: 'title',
                    right: 'month,agendaWeek,agendaDay'
                },
                editable: true,
                eventLimit: true, // allow "more" link when too many events
                events: {url: 'data'}              
            });
        });
    </script>
    
{% endblock %}

{% block content %}
<body>
    <div class="container">

        <div class="jumbotron">
            <h1>Training Plan</h1>
            <p><i class="icon-double-angle-right icon-4x"></i></p>
        </div>

        <div>
            <p><a href="{{ url_for('main.index') }}"><button type="button" class="btn btn-default">Back</button></a></p>
        </div>

        <div>
            <h2>Summary</h2>
            <div class="table-responsive">
                <table class="table table-hover table-bordered">
                    <tr>
                        <td><b>Event</b></td><td class="td-info" >{{ plan.event }}</td>
                    </tr>
                    <tr>
                        <td><b>Level</b></td><td class="td-info" >{{ plan.level }}</td>
                    </tr>
                    <tr>
                        <td><b>Event Date</b></td><td class="td-info" >{{ plan.event_date_str }}</td>
                    </tr>
                    <tr>
                        <td><b>Training Plan Length</b></td><td class="td-info" >{{ plan.weeks_to_event }} weeks</td>
                    </tr>
                </table>
            </div>
        </div>

        <div>
            <h2>Schedule</h2>
            <p><div id='calendar'></div></p>
        </div>
    </div>
</body>

{% endblock %}<commit_msg>amended plan back button<commit_after>{% extends "base.html" %}

{% import "bootstrap/utils.html" as utils %}



{% block scripts %}
    <script src="{{ url_for('static', filename='lib/moment.min.js') }}"></script>
    <script src="{{ url_for('static', filename='lib/jquery.min.js') }}"></script>
    <script src="{{ url_for('static', filename='fullcalendar.min.js') }}"></script>
    <script>
        $(document).ready(function() {
            $('#calendar').fullCalendar({
                header: {
                    left: 'prev,next today',
                    center: 'title',
                    right: 'month,agendaWeek,agendaDay'
                },
                editable: true,
                eventLimit: true, // allow "more" link when too many events
                events: {url: 'data'}              
            });
        });
    </script>
    
{% endblock %}

{% block content %}
<body>
    <div class="container">

        <div class="jumbotron">
            <h1>Training Plan</h1>
            <p><i class="icon-double-angle-right icon-4x"></i></p>
        </div>

        <div>
            <h2>Summary</h2>
            <div class="table-responsive">
                <table class="table table-hover table-bordered">
                    <tr>
                        <td><b>Event</b></td><td class="td-info" >{{ plan.event }}</td>
                    </tr>
                    <tr>
                        <td><b>Level</b></td><td class="td-info" >{{ plan.level }}</td>
                    </tr>
                    <tr>
                        <td><b>Event Date</b></td><td class="td-info" >{{ plan.event_date_str }}</td>
                    </tr>
                    <tr>
                        <td><b>Training Plan Length</b></td><td class="td-info" >{{ plan.weeks_to_event }} weeks</td>
                    </tr>
                </table>
            </div>
        </div>

        <div>
            <h2>Schedule</h2>
            <p><div id='calendar'></div></p>
        </div>

        <br>

        <div>
            <p><a href="{{ url_for('main.index') }}"><button type="button" class="btn btn-default btn-block">Back</button></a></p>
        </div>

        <br>

    </div>
</body>

{% endblock %}
{'fraction_non_alphanumeric': 0.18832348932303497, 'fraction_numerical': 0.0031803725579282144, 'mean_word_length': 1.4232250963126032, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 157, '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': '5288713', 'n_tokens_mistral': 1351, 'n_tokens_neox': 1265, 'n_words': 244}