mirror of
https://github.com/ilri/csv-metadata-quality-web.git
synced 2024-11-16 11:57:04 +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.
20 lines
708 B
HTML
20 lines
708 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 py-3">
|
|
<p class="lead">The DSpace CSV Metadata Quality Checker is a pipeline of sanity checks and automated fixes for a number of common issues in metadata files.</p>
|
|
<p>Select a CSV file to process.</p>
|
|
<form method="POST" action="" enctype="multipart/form-data">
|
|
<p><input type="file" name="file" accept=".csv"></p>
|
|
<p><input type="submit" value="Submit"></p>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
|
|
{% include 'footer.html' %}
|
|
</body>
|
|
</html>
|