Commit d31666e8 authored by Pierre Dittgen's avatar Pierre Dittgen

Better row display

parent aed08c41
......@@ -7,21 +7,26 @@
<h1>{{ title }}</h1>
<!-- Schema info -->
<div class="card bg-faded" style="width: 30rem;">
<div class="card-body">
<h5 class="card-title">
Schéma {{ val_info.code }}
<span class="badge badge-primary">{{ val_info.version }}</span>
</h5>
<h6 class="card-subtitle mb-2 text-muted">{{ val_info.description }}</h6>
<p class="text">
{% if source_type == 'file' %}Fichier{% endif %}
{% if source_type == 'url' %}URL{% endif %}
à valider : {{ source }}
</p>
<div class="row">
<div class="col-md-5">
<div class="card bg-faded">
<div class="card-body">
<h5 class="card-title">
Schéma {{ val_info.code }}
<span class="badge badge-primary">{{ val_info.version }}</span>
</h5>
<h6 class="card-subtitle mb-2 text-muted">{{ val_info.description }}</h6>
<p class="text">
{% if source_type == 'file' %}Fichier{% endif %}
{% if source_type == 'url' %}URL{% endif %}
à valider : {{ source }}
</p>
</div>
</div>
</div>
</div>
{% if report.error_count == 0 %}
<h2>La table est valide</h2>
<p>Aucune erreur détectée</p>
......@@ -78,7 +83,7 @@
{% else %}
<td>
{% endif %}
{{ d | truncate(30) }}
{{ d }}
</td>
{% endfor %}
</tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment