Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
validata-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Validata
validata-ui
Commits
3b3b6643
Commit
3b3b6643
authored
Nov 28, 2018
by
Christophe Benz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak CSS
parent
4fb992f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
23 deletions
+22
-23
validata_ui/templates/validation_report.html
validata_ui/templates/validation_report.html
+22
-23
No files found.
validata_ui/templates/validation_report.html
View file @
3b3b6643
...
...
@@ -21,7 +21,7 @@
<div
class=
"col-md-5"
>
{% endif %}
<h1>
{{ title }}
</h1>
<p
class=
"text"
>
Validation effectuée {{ validation_date }}
</p>
<p>
Validation effectuée {{ validation_date }}
</p>
{% if print_mode %}
</div>
<div
class=
"col-md-7"
>
...
...
@@ -30,7 +30,11 @@
</div>
{% endif %}
{% if source.type == 'url' %}
<p
class=
"text hidden-print"
>
Obtenir le rapport au format
<a
href=
"{{ url_for('pdf_report', val_code=val_info.code) }}?url={{source.name|urlencode}}"
>
PDF
</a>
<p
class=
"hidden-print"
>
<a
href=
"{{ url_for('pdf_report', val_code=val_info.code) }}?url={{source.name|urlencode}}"
>
Télécharger en PDF
</a>
</p>
{% endif %}
{# Schema info #}
<div
class=
"row"
>
...
...
@@ -43,7 +47,7 @@
</h5>
<h6
class=
"card-subtitle mb-2 text-muted"
>
{{ val_info.description }}
</h6>
{% if val_info.author or val_info.contributor %}
<p
class=
"text"
>
<p>
{% if val_info.author %}
Auteur : {{ val_info.author }}
{% endif %}
...
...
@@ -56,24 +60,19 @@
<a
href=
"{{ val_info.doc_url }}"
target=
"_blank"
class=
"card-link"
>
Documentation
</a>
</p>
<hr
/>
<
p
class=
"text alert alert-secondary"
style=
"margin-bottom: 0;"
>
Source
<
div
>
Fichier traité :
{% if source_type == 'file' %}
(fichier) :
<em>
{{ source.name }}
</em>
{{ source.name }}
{% endif %}
{% if source_type == 'url' %}
(URL) :
<em><a
href=
"{{source.name}}"
target=
"_blank"
title=
"{{source.name}}"
>
{% if print_mode %}
<a
href=
"{{source.name}}"
target=
"_blank"
>
{{source.name}}
{% else %}
{{source.name | truncate(60)}}
{% endif %}
</a></em>
</a>
{% endif %}
<br
/>
Dimensions :
<em>
{{ report.table.col_count }} colonnes et {{ report.table.row_count }}
lignes
</em>
</p>
Dimensions : {{ report.table.col_count }} colonnes et {{ report.table.row_count }} lignes
</div>
</div>
</div>
</div>
...
...
@@ -91,7 +90,7 @@
<h2>
La table est invalide
</h2>
<p
class=
"text"
>
{{ report.table['error-stats']['count'] }} erreur(s) détectée(s).
</p>
<p>
{{ report.table['error-stats']['count'] }} erreur(s) détectée(s).
</p>
{{ macros.error_statistics(report) }}
...
...
@@ -115,7 +114,7 @@
{# Afficher un tableau de comparaison des colonnes #}
{% if report.table.column_comparison_needed %}
<table
class=
"table table-bordered table-sm table-striped"
>
<table
class=
"table table-bordered table-sm table-striped
table-hover
"
>
<thead
class=
"thead-light"
>
<tr>
<th
scope=
"col"
>
Colonnes du fichier
</th>
...
...
@@ -131,12 +130,12 @@
{% endfor %}
</tbody>
</table>
{% endif %}
{% else %}
<p
class=
"text"
>
Aucune erreur de structure
</p>
<p>
Aucune erreur de structure
</p>
{% endif %}
{# We do display body errors! #}
...
...
@@ -145,21 +144,21 @@
{# No errors - display preview #}
{% if not report.table.errors.body %}
<p
class=
"text"
>
<p>
Aucune erreur de contenu
</p>
{{ macros.preview(source_data) }}
{% else %}
{# display errors #}
{{ macros.body_errors(report, source_data) }}
{% endif %}
{# do not display errors #}
{% else %}
<p
class=
"text"
>
<p>
Veuillez corriger ce(s) erreur(s) pour visualiser les éventuels problèmes de contenu.
</p>
{% endif %}
...
...
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