Major refactor

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.
This commit is contained in:
2021-03-12 19:14:49 +02:00
parent ed747b2cef
commit e13d63bf6b
6 changed files with 50 additions and 6 deletions

7
templates/header.html Normal file
View File

@ -0,0 +1,7 @@
<header>
<div class="navbar navbar-dark bg-dark shadow-sm">
<div class="container">
<span class="navbar-brand text-white text-decoration-none">DSpace CSV Metadata Quality Checker</span>
</div>
</div>
</header>