Commit dcb36071 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Unification des cartouches

parent fe575f7f
...@@ -26,8 +26,7 @@ ...@@ -26,8 +26,7 @@
{% endif %} {% endif %}
</p> </p>
{% endif %} {% endif %}
<a href="{{ val_info.specurl }}" class="card-link">Spécification SCDL</a> <a href="{{ val_info.docurl }}" target="_blank" class="card-link">Documentation</a>
<a href="{{ val_info.docurl }}" class="card-link">Documentation</a>
</div> </div>
</div> </div>
</div> </div>
...@@ -42,7 +41,8 @@ ...@@ -42,7 +41,8 @@
aria-selected="true">Fichier</a> aria-selected="true">Fichier</a>
</li> </li>
<li class="nav-item"> <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>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" id="examples-tab" data-toggle="tab" href="#example" role="tab" aria-controls="examples" <a class="nav-link" id="examples-tab" data-toggle="tab" href="#example" role="tab" aria-controls="examples"
...@@ -66,7 +66,8 @@ ...@@ -66,7 +66,8 @@
<input type="hidden" name="input" value="url" /> <input type="hidden" name="input" value="url" />
<div class="form-group"> <div class="form-group">
<label for="url">Indiquez l'URL de la table à valider</label> <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> </div>
<button type="submit" class="btn btn-primary">Valider</button> <button type="submit" class="btn btn-primary">Valider</button>
......
...@@ -16,10 +16,24 @@ ...@@ -16,10 +16,24 @@
<span class="badge badge-primary">{{ val_info.version }}</span> <span class="badge badge-primary">{{ val_info.version }}</span>
</h5> </h5>
<h6 class="card-subtitle mb-2 text-muted">{{ val_info.description }}</h6> <h6 class="card-subtitle mb-2 text-muted">{{ val_info.description }}</h6>
{% if val_info.author or val_info.contributor %}
<p class="text"> <p class="text">
{% if source_type == 'file' %}Fichier{% endif %} {% if val_info.author %}
{% if source_type == 'url' %}URL{% endif %} Auteur : {{ val_info.author }}
à valider : {{ source.name }} {% 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> </p>
</div> </div>
</div> </div>
......
Supports Markdown
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