<commit_before>{% extends "layout.html" %}
{% import "_helpers.html" as macros %}
{% block title %}Announcer Display{% endblock %}
{% block pageContent %}
    <h1>Match {{ match.number }}</h1>
    {% call macros.render_form(form, class_="announcer_form", include_submit=false) %}
        <div class="row">
            <div class="col-sm-1">
                <button type="submit" class="btn btn-danger" value="previous" name="end"><< Previous</button>    
            </div>
            <div class="col-sm-10">
                <div class="col-sm-6">
                    {{ form.match_id(class="form-control pull-right", style="width:auto;") }}
                </div>
                <div class="col-sm-6">
                    <button type="submit" class="btn btn-default pull-left" value="jump" name="end">Jump</button>    
                </div>
            </div>
            <div class="col-sm-1">
                <button type="submit" class="btn btn-success" value="next" name="end">Next >></button>    
            </div>
        </div>
    {% endcall %}
    <br>
    <div class="col-sm-12">
        <table class="table table-bordered announcer_display_table">
            <thead>
                <tr>
                    {% for slot in match.slots|sort(attribute='competition_table.number') %}
                        <th>{{ slot.competition_table.name }}</th>
                    {% endfor %}
                </tr>
            </thead>
            <tbody>
                <tr>
                    {% for slot in match.slots|sort(attribute='competition_table.number') %}
                        <td>#{{ slot.team.number }}</td>
                    {% endfor %}
                </tr><commit_msg>Use equal column widths on announcer display<commit_after>{% extends "layout.html" %}
{% import "_helpers.html" as macros %}
{% block title %}Announcer Display{% endblock %}
{% block pageContent %}
    <h1>Match {{ match.number }}</h1>
    {% call macros.render_form(form, class_="announcer_form", include_submit=false) %}
        <div class="row">
            <div class="col-sm-1">
                <button type="submit" class="btn btn-danger" value="previous" name="end"><< Previous</button>    
            </div>
            <div class="col-sm-10">
                <div class="col-sm-6">
                    {{ form.match_id(class="form-control pull-right", style="width:auto;") }}
                </div>
                <div class="col-sm-6">
                    <button type="submit" class="btn btn-default pull-left" value="jump" name="end">Jump</button>    
                </div>
            </div>
            <div class="col-sm-1">
                <button type="submit" class="btn btn-success" value="next" name="end">Next >></button>    
            </div>
        </div>
    {% endcall %}
    <br>
    <div class="col-sm-12">
        <table class="table table-bordered announcer_display_table">
            <thead>
                <tr>
                    {% for slot in match.slots|sort(attribute='competition_table.number') %}
                        <th width="{{100/(match.slots|length)}}%">{{ slot.competition_table.name }}</th>
                    {% endfor %}
                </tr>
            </thead>
            <tbody>
                <tr>
                    {% for slot in match.slots|sort(attribute='competition_table.number') %}
                        <td>#{{ slot.team.number }}</td>
                    {% endfor %}
                </tr>
{'fraction_non_alphanumeric': 0.16411883472743005, 'fraction_numerical': 0.006633977502163254, 'mean_word_length': 1.6312594840667678, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, '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': '4322579', 'n_tokens_mistral': 1062, 'n_tokens_neox': 963, 'n_words': 194}