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
af83bc68
Commit
af83bc68
authored
Jan 28, 2019
by
Pierre Dittgen
Browse files
Display default version if no schema version available
parent
2cab4c34
Changes
1
Hide whitespace changes
Inline
Side-by-side
validata_ui/templates/validation_form.html
View file @
af83bc68
...
...
@@ -13,7 +13,11 @@
<div
class=
"card-body"
>
<h5
class=
"card-title"
>
Schéma {{ val_info.code }}
{% if val_info.version %}
<span
class=
"badge badge-primary"
>
{{ val_info.version }}
</span>
{% else %}
<span
class=
"badge badge-primary"
title=
"Schéma non encore versionné"
>
...
</span>
{% endif %}
</h5>
<h6
class=
"card-subtitle mb-2 text-muted"
>
{{ val_info.description }}
</h6>
{% if val_info.author or val_info.contributor %}
...
...
@@ -55,7 +59,8 @@
<form
method=
"POST"
enctype=
"multipart/form-data"
>
<input
type=
"hidden"
name=
"input"
value=
"file"
/>
<div
class=
"form-group"
>
<label
for=
"file"
>
Choisissez un fichier tabulaire à valider (.xlsx, .xls, .ods, .csv, .tsv, etc.)
</label>
<label
for=
"file"
>
Choisissez un fichier tabulaire à valider (.xlsx, .xls, .ods, .csv, .tsv,
etc.)
</label>
<input
type=
"file"
class=
"form-control-file"
name=
"file"
id=
"file"
accept=
".csv, .xls, .xlsx, .ods"
/>
</div>
<button
type=
"submit"
class=
"btn btn-primary"
>
Valider
</button>
...
...
@@ -94,4 +99,4 @@
{% endblock %}
{% block footer %}
{% endblock %}
{% endblock %}
\ No newline at end of file
Write
Preview
Supports
Markdown
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