<commit_before>{% extends 'layout.twig' %}

{% block body %}

<div class="ui container">
    <h1 class="ui center aligned icon header">
        <i class="circular marker teal icon"></i>
        Events
    </h1>
    <h2 class="ui center aligned header"><a href="{{ path_for('add_event') }}" class="ui teal button">Add event</a></h2>

    <div class="ui cards">
        {% for event in events %}
            <div class="ui teal card">
                <div class="content">
                    <a href="{{ path_for('get_event', {'id': event._id}) }}" class="header">{{ event.name }}</a>
                    <div class="description">
                        <p>{{ event.description }}</p>
                    </div>
                </div>
                <div class="extra content">
                    <div>
                        <span class="right floated">
                            {{ mongo.dateTime(event.begins_at)|date('d/m/Y') }} at {{ mongo.dateTime(event.begins_at)|date('H:i') }}
                        </span>
                        <span>Start</span>
                    </div>
                    <div>
                        <span class="right floated">
                            {{ mongo.dateTime(event.ends_at)|date('d/m/Y') }} at {{ mongo.dateTime(event.ends_at)|date('H:i') }}
                        </span>
                        <span>End</span>
                    </div>
                </div>
                <div class="extra content">
                    <a href="{{ path_for('edit_event', {'id': event._id}) }}" class="left floated">
                        <i class="edit icon"></i> Edit
                    </a>
                    <a href="{{ path_for('delete_event', {'id': event._id}) }}" class="right floated">
                        Delete <i class="remove icon"></i>
                    </a>
                </div>
            </div>
        {% endfor %}
    </div>
</div>

{% endblock %}
<commit_msg>Changed header style<commit_after>{% extends 'layout.twig' %}

{% block body %}

<div class="ui container">
    <h1 class="ui center aligned icon header">
        <i class="circular marker teal icon"></i>
        Events
    </h1>
    <h2 class="ui center aligned header">
        <a href="{{ path_for('add_event') }}" class="ui circular yellow button">
            <i class="star icon"></i> Create an event
        </a>
    </h2>

    <div class="ui cards">
        {% for event in events %}
            <div class="ui teal card">
                <div class="content">
                    <a href="{{ path_for('get_event', {'id': event._id}) }}" class="header">{{ event.name }}</a>
                    <div class="description">
                        <p>{{ event.description }}</p>
                    </div>
                </div>
                <div class="extra content">
                    <div>
                        <span class="right floated">
                            {{ mongo.dateTime(event.begins_at)|date('d/m/Y') }} at {{ mongo.dateTime(event.begins_at)|date('H:i') }}
                        </span>
                        <span>Start</span>
                    </div>
                    <div>
                        <span class="right floated">
                            {{ mongo.dateTime(event.ends_at)|date('d/m/Y') }} at {{ mongo.dateTime(event.ends_at)|date('H:i') }}
                        </span>
                        <span>End</span>
                    </div>
                </div>
                <div class="extra content">
                    <a href="{{ path_for('edit_event', {'id': event._id}) }}" class="left floated">
                        <i class="edit icon"></i> Edit
                    </a>
                    <a href="{{ path_for('delete_event', {'id': event._id}) }}" class="right floated">
                        Delete <i class="remove icon"></i>
                    </a>
                </div>
            </div>
        {% endfor %}
    </div>
</div>

{% endblock %}

{'fraction_non_alphanumeric': 0.16708605938600907, 'fraction_numerical': 0.0020130850528434826, 'mean_word_length': 1.285796434732605, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '2873956', 'n_tokens_mistral': 1139, 'n_tokens_neox': 1052, 'n_words': 245}