Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Validata
Validata UI
Commits
896a5523
Commit
896a5523
authored
Nov 12, 2018
by
Pierre Dittgen
Browse files
Unification des cartouches
parent
97d8614e
Changes
2
Hide whitespace changes
Inline
Side-by-side
validata_ui/templates/validation_form.html
View file @
896a5523
...
...
@@ -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>
...
...
validata_ui/templates/validation_report.html
View file @
896a5523
...
...
@@ -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>
...
...
Pierre Dittgen
@pdi
mentioned in issue
#35 (closed)
·
Nov 12, 2018
mentioned in issue
#35 (closed)
mentioned in issue #35
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment