<commit_before><link rel="stylesheet" href="static/css/admin.css">

<div ng-controller="Admin as admin">
    <h1 class="text-center">
        <a href="#/">BuckUTT</a>
    </h1>
    <h2 class="text-center">Administration</h2>

    <div class="row">
        <div class="panel panel-default col-sm-5">
            <h3>Gérer les événements</h3>
            <div class="subPanel">
                <h4 ng-repeat="event in events">
                    <a href="#/admin/event/{{ event.id }}">{{ event.name }}</a>
                </h4>
                <div ng-if="events.length === 0">
                    Aucun événement à gérer.
                </div>
            </div>

            <h3>Vendre les événements</h3>
            <div class="subPanel">
                <h4 ng-repeat="event in eventsSeller">
                    <a href="#/admin/event/{{ event.id }}">{{ event.name }}</a>
                </h4>
                <div ng-if="events.length === 0">
                    Aucune place d'événement à vendre.
                </div>
            </div>
        </div>
        <div class="panel panel-default col-sm-5 col-sm-offset-2"><commit_msg>Only show event creation if fundation account<commit_after><link rel="stylesheet" href="static/css/admin.css">

<div ng-controller="Admin as admin">
    <h1 class="text-center">
        <a href="#/">BuckUTT</a>
    </h1>
    <h2 class="text-center">Administration</h2>

    <div class="row">
        <div class="panel panel-default col-sm-5">
            <h3>Gérer les événements</h3>
            <div class="subPanel">
                <h4 ng-repeat="event in events">
                    <a href="#/admin/event/{{ event.id }}">{{ event.name }}</a>
                </h4>
                <div ng-if="events.length === 0">
                    Aucun événement à gérer.
                </div>
            </div>

            <h3>Vendre les événements</h3>
            <div class="subPanel">
                <h4 ng-repeat="event in eventsSeller">
                    <a href="#/admin/event/{{ event.id }}">{{ event.name }}</a>
                </h4>
                <div ng-if="events.length === 0">
                    Aucune place d'événement à vendre.
                </div>
            </div>
        </div>
        <div class="panel panel-default col-sm-5 col-sm-offset-2" ng-if="fundation">
{'fraction_non_alphanumeric': 0.16652360515021458, 'fraction_numerical': 0.014592274678111588, 'mean_word_length': 1.5254604550379198, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '1523874', 'n_tokens_mistral': 764, 'n_tokens_neox': 725, 'n_words': 156}