<commit_before><!doctype html>
<html>
    <head>
        <g:javascript library="jquery" />
        <r:layoutResources/>
    </head>
    <body>

        <div id="content">
        </div>

        <a href="#" id="getdata-button">Get Last Changes</a>
        <div id="showdata"></div>

        <script type="text/javascript">
            $(document).ready(function() {
                $('#getdata-button').live('click', function(){
                    $.getJSON('${createLink(uri:'/changeset/getLastChangesets')}', function(data) {
                        for(i = 0; i < data.length; i++) {
                            $('#showdata').append("<div>Author="+data[i].author+" Date="+data[i].date+" Identifier="+data[i].identifier+"</div>");
                        }
                    });
                });
            });
        </script>

    </body>
</html><commit_msg>Index page updated using jsviews templating. Nice table and button to get last changes.<commit_after><!doctype html>
<html>
    <head>
        <g:javascript library="jquery" />
        <r:layoutResources/>
        <link href="http://borismoore.github.com/jsviews/demos/resources/presentation.css" rel="stylesheet" type="text/css" />
        <link href="http://borismoore.github.com/jsviews/demos/resources/syntaxhighlighter.css" rel="stylesheet" type="text/css" />
        <script src="http://borismoore.github.com/jsviews/demos/resources/syntaxhighlighter.min.js" type="text/javascript"></script>

        <script src="http://borismoore.github.com/jsviews/jsrender.js" type="text/javascript"></script>
    </head>
    <body>
           <!-- ==========container=============== -->
    <a href="#" id="getdata-button">Get Last Changes</a>
    <table>
        <thead>
            <tr>
                <th>Author</th>
                <th>Idenifier</th>
                <th>Date</th>
            </tr>
        </thead>
        <tbody id="content"></tbody>
    </table>


         <!-- =============template=============== -->
        <script id="showdata" type="text/x-jsrender">
            <tr>

                <td>
                    {{>author}}
                </td>
                <td>
                    {{>identifier}}

                </td>
                <td>
                    {{>date}}
                </td>

            </tr>

        </script>
        <!--- ============script================= -->
        <script type="text/javascript">
            $(document).ready(function() {
                $('#getdata-button').live('click', function(){
                    $('#content').html("");
                    $.getJSON('${createLink(uri:'/changeset/getLastChangesets')}', function(data) {
                       for(i = 0; i < data.length; i++) {
                            var change = {
                                author: data[i].author,
                                identifier: data[i].identifier,
                                date: data[i].date
                            }
                            $('#content').append($("#showdata").render(change));
                        }
                    });
                });
            });
        </script>

    </body>
</html>
{'fraction_non_alphanumeric': 0.19421747328724073, 'fraction_numerical': 0.0006285355122564425, 'mean_word_length': 1.4522342064714946, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 0, '>': 71, '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': '4536971', 'n_tokens_mistral': 880, 'n_tokens_neox': 836, 'n_words': 131}