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

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

<div class="row my-4">
Pierre Dittgen's avatar
wip  
Pierre Dittgen committed
10 11 12 13 14 15 16 17 18 19 20 21
  {% for val in 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="{{ url_for('scdl_validator', val_code=val.code) }}"
          class="btn btn-primary mt-auto"
          >Choisir</a
        >
      </div>
22
    </div>
Pierre Dittgen's avatar
wip  
Pierre Dittgen committed
23 24
  </div>
  {% endfor %}
25
</div>
Christophe Benz's avatar
Christophe Benz committed
26 27 28 29

<h2>Validateurs externes</h2>

<div class="row my-4">
Pierre Dittgen's avatar
wip  
Pierre Dittgen committed
30 31 32 33 34 35 36 37 38 39 40
  {% 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>
Christophe Benz's avatar
Christophe Benz committed
41
    </div>
Pierre Dittgen's avatar
wip  
Pierre Dittgen committed
42 43
  </div>
  {% endfor %}
Christophe Benz's avatar
Christophe Benz committed
44 45
</div>

Pierre Dittgen's avatar
wip  
Pierre Dittgen committed
46 47 48 49 50 51 52 53
<h2>Validateur personnalisé</h2>
<p>
  <a href="{{ url_for('custom_validator') }}"
    >Choisissez le schéma qui vous convient</a
  >
</p>

{% endblock %}