| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <!DOCTYPE html>
- <html lang="fr">
- <head>
- <title>{{ report.title }}</title>
- <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='font-awesome-4.7.0/css/font-awesome.min.css') }}">
- <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='jquery-ui/jquery-ui.min.css') }}"/>
- <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='DataTables/datatables.min.css') }}"/>
- <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='datachecker.css') }}"/>
-
- <script type="text/javascript" src="{{ url_for('static', filename='jquery-3.3.1.min.js') }}"></script>
- <script type="text/javascript" src="{{ url_for('static', filename='jquery-ui/jquery-ui.min.js') }}"></script>
- <script type="text/javascript" src="{{ url_for('static', filename='DataTables/datatables.min.js') }}"></script>
- <script type="text/javascript" src="{{ url_for('static', filename='datachecker.js') }}"> </script>
- </head>
- <body>
- <header>
- <h1>Rapport du Contrôle</h1>
- </header>
-
- <a id="logo" href="\" title="Retour à l'accueil">
- <img src="{{ url_for('static', filename='mn_logo_mini.png') }}" />
- </a>
-
- <section id=main>
- {% for reportfile in report.report_files %}
-
- <h2><i class="fa fa-file"></i> {{ reportfile.file }}</h2>
-
- {%- if reportfile.errors -%}
- <ul>
- {% for err in reportfile.errors %}
- <li class="fa fa-exclamation-circle error"> {{ err }}</li>
- {% endfor %}
- </ul>
- {% endif %}
-
- <table class="datatable cell-border display compact stripe">
- <thead>
- <tr>
- <th>N°</th>
- <th>Valide</th>
- {% for header in reportfile.headers %}
- <th>{{ header }}</th>
- {% endfor %}
- </tr>
- </thead>
- <tbody>
- {% for record in reportfile.records %}
- <tr>
- <td>{{ record.index }}</td>
- <td>
- {%- if record.valid -%}
- <i class="fa fa-check valid"></i>
- {% else %}
- <i class="fa fa-times error"></i>
- {% endif %}
- </td>
- {% for field in record.fields %}
- {%- if field.valid -%}
- <td>{{ field.value }}</td>
- {% else %}
- <td class="error" title="{{ field.error }}"><i class="fa fa-exclamation-circle"></i> <span>{{ field.value }}</span></td>
- {% endif %}
- {% endfor %}
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {% endfor %}
- </section>
-
- </body>
- </html>
|