mirror of
https://github.com/ilri/csv-metadata-quality-web.git
synced 2024-11-30 02:18:20 +01:00
Alan Orth
e13d63bf6b
Refactor the templates to include a header, use csv-metadata-quality in a subshell instead of trying to import and pass args to it (which I actually managed to do, but then trying to capture the output was an issue), and use ansi2html to prepare the CLI output as the HTML.
24 lines
557 B
HTML
24 lines
557 B
HTML
<!doctype html>
|
|
<html lang="en" class="h-100">
|
|
{% include 'head.html' %}
|
|
<body class="d-flex flex-column h-100">
|
|
{% include 'header.html' %}
|
|
<main class="flex-shrink-0">
|
|
<div class="container">
|
|
<h1 class="mt-3 fs-2">Results</h1>
|
|
<p>Processing <code>{{ filename }}</code>.</p>
|
|
</div>
|
|
</main>
|
|
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-10">
|
|
<blockquote>
|
|
{{ stdout | safe }}
|
|
</blockquote>
|
|
</div>
|
|
</div>
|
|
|
|
{% include 'footer.html' %}
|
|
</body>
|
|
</html>
|