Commit 896a5523 authored by Pierre Dittgen's avatar Pierre Dittgen

Unification des cartouches

parent 97d8614e
......@@ -26,8 +26,7 @@
{% endif %}
</p>
{% endif %}
<a href="{{ val_info.specurl }}" class="card-link">Spécification SCDL</a>
<a href="{{ val_info.docurl }}" class="card-link">Documentation</a>
<a href="{{ val_info.docurl }}" target="_blank" class="card-link">Documentation</a>
</div>
</div>
</div>
......@@ -42,7 +41,8 @@
aria-selected="true">Fichier</a>
</li>
<li class="nav-item">
<a class="nav-link" id="url-tab" data-toggle="tab" href="#url" role="tab" aria-controls="url" aria-selected="false">URL</a>
<a class="nav-link" id="url-tab" data-toggle="tab" href="#url" role="tab" aria-controls="url"
aria-selected="false">URL</a>
</li>
<li class="nav-item">
<a class="nav-link" id="examples-tab" data-toggle="tab" href="#example" role="tab" aria-controls="examples"
......@@ -66,7 +66,8 @@
<input type="hidden" name="input" value="url" />
<div class="form-group">
<label for="url">Indiquez l'URL de la table à valider</label>
<input name="url" type="url" class="form-control" id="url" aria-describedby="urlHelp" placeholder="https://..." />
<input name="url" type="url" class="form-control" id="url" aria-describedby="urlHelp"
placeholder="https://..." />
</div>
<button type="submit" class="btn btn-primary">Valider</button>
......
......@@ -16,10 +16,24 @@
<span class="badge badge-primary">{{ val_info.version }}</span>
</h5>
<h6 class="card-subtitle mb-2 text-muted">{{ val_info.description }}</h6>
{% if val_info.author or val_info.contributor %}
<p class="text">
{% if source_type == 'file' %}Fichier{% endif %}
{% if source_type == 'url' %}URL{% endif %}
à valider : {{ source.name }}
{% if val_info.author %}
Auteur : {{ val_info.author }}
{% endif %}
{% if val_info.contributor %}
<br />Contributeur(s) : {{ val_info.contributor }}
{% endif %}
</p>
{% endif %}
<p>
<a href="{{ val_info.docurl }}" target="_blank" class="card-link">Documentation</a>
</p>
<hr />
<p class="text alert alert-info" style="margin-bottom: 0;">
<em>Source
({% if source_type == 'file' %}fichier{% endif %}{% if source_type == 'url' %}URL{% endif %})
: {{ source.name }}</em>
</p>
</div>
</div>
......
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