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
aed08c41
Commit
aed08c41
authored
Oct 01, 2018
by
Pierre Dittgen
Browse files
Adding 'relancer la validation' button
parent
8b6416b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
validata_ui_next/templates/validation_report.html
View file @
aed08c41
...
...
@@ -33,6 +33,9 @@
<h2>
La table est invalide
</h2>
<p>
{{ report.error_count }} erreur(s) détectée(s)
</p>
{% if source_type == 'url' %}
<button
class=
"btn btn-primary"
id=
"btn-reload"
>
Relancer la validation
</button>
{% endif %}
<!-- table checks -->
{% if report.table.errors.structure %}
...
...
@@ -100,7 +103,14 @@
{% block footer %}
<script>
$
(
function
()
{
// Errors tooltip activate
$
(
'
[data-toggle="tooltip"]
'
).
tooltip
()
// Reload to re-validate
$
(
'
#btn-reload
'
).
on
(
'
click
'
,
function
()
{
$
(
this
).
prop
(
'
disabled
'
,
true
)
window
.
location
.
reload
(
true
);
})
})
</script>
{% 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