<commit_before>extends base

- load static from staticfiles
- load i18n

block js_media
    script(src='{% static "tablesorter.js" %}', type='text/javascript')
    script(type='text/javascript').
        $(document).ready(function () {
            var table = $("#judge-status");
            table.tablesorter();
            setInterval(function () {
                $.ajax({
                    url: '{% url "status_table" %}'
                }).done(function (data) {
                    table.html(data);
                });
            }, 10000);
        });

block body<commit_msg>Link to admin on status so #416 is easily accessible<commit_after>extends base

- load static from staticfiles
- load i18n

block js_media
    script(src='{% static "tablesorter.js" %}', type='text/javascript')
    script(type='text/javascript').
        $(document).ready(function () {
            var table = $("#judge-status");
            table.tablesorter();
            setInterval(function () {
                $.ajax({
                    url: '{% url "status_table" %}'
                }).done(function (data) {
                    table.html(data);
                });
            }, 10000);
        });

block header
    if perms.judge.change_judge
        div(style='float: right; margin-top: 1.2em')
            | [
            a(href='{% url "admin:judge_judge_changelist" %}') {% trans "Admin" %}
            | ]

block body
{'fraction_non_alphanumeric': 0.1480701754385965, 'fraction_numerical': 0.013333333333333334, 'mean_word_length': 1.7370441458733206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1852076', 'n_tokens_mistral': 417, 'n_tokens_neox': 379, 'n_words': 83}