home.html 1.4 KB
Newer Older
1
{% extends "base_template.html" %}
2 3 4 5 6
{% block title %}{{ title }}{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block content %}
Christophe Benz's avatar
Christophe Benz committed
7
<h1 class="my-4">Validez vos jeux de données</h1>
8

Christophe Benz's avatar
Christophe Benz committed
9 10 11
<h2>Validateurs <span abbr="Socle commun des données locales">SCDL</span></h2>

<div class="row my-4">
Christophe Benz's avatar
Christophe Benz committed
12 13 14
    {% for val in validators %}
    <div class="col-sm-4 col-md-3 mb-4">
        <div class="card text-center h-100">
Christophe Benz's avatar
Christophe Benz committed
15
            <div class="card-body d-flex flex-column">
16 17
                <h4 class="card-title">{{ val.title }}</h4>
                <p class="card-text">{{ val.description }}</p>
Christophe Benz's avatar
Christophe Benz committed
18
                <a href="{{ url_for('scdl_validator', val_code=val.code) }}" class="btn btn-primary mt-auto">Choisir</a>
19 20 21
            </div>
        </div>
    </div>
Christophe Benz's avatar
Christophe Benz committed
22
    {% endfor %}
23
</div>
Christophe Benz's avatar
Christophe Benz committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

<h2>Validateurs externes</h2>

<div class="row my-4">
    {% for val in external_validators %}
    <div class="col-sm-4 col-md-3 mb-4">
        <div class="card text-center h-100">
            <div class="card-body d-flex flex-column">
                <h4 class="card-title">{{ val.title }}</h4>
                <p class="card-text">{{ val.description }}</p>
                <a href="{{ val.url }}" class="btn btn-primary mt-auto" target="_blank">
                    Voir
                    <i class="fas fa-external-link-alt ml-1"></i>
                </a>
            </div>
        </div>
    </div>
    {% endfor %}
</div>

44
{% endblock %}