Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Validata
validata-ui
Commits
af83bc68
Commit
af83bc68
authored
Jan 28, 2019
by
Pierre Dittgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display default version if no schema version available
parent
2cab4c34
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
validata_ui/templates/validation_form.html
validata_ui/templates/validation_form.html
+7
-2
No files found.
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>
...
...
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