Illustrations/web/templates/import_result.html
Joshua Laymon 2fb9e7c39c Update
2025-08-12 21:53:03 -05:00

24 lines
949 B
HTML

{% extends "base.html" %}
{% block title %}Import Result - Illustrations DB{% endblock %}
{% block content %}
<div class="panel">
<h2 style="margin-top:0;">Import {{ "Preview" if dry_run else "Result" }}</h2>
<ul>
<li>Total rows: <strong>{{ report.rows }}</strong></li>
<li>Inserted: <strong>{{ report.inserted }}</strong></li>
<li>Updated: <strong>{{ report.updated }}</strong></li>
<li>Skipped: <strong>{{ report.skipped }}</strong></li>
<li>Scripture parsed: <strong>{{ report.scripture_parsed }}</strong></li>
<li>Scripture failed: <strong>{{ report.scripture_failed }}</strong></li>
</ul>
{% if report.errors and report.errors|length %}
<h3>Errors</h3>
<pre>{{ report.errors|join("\n") }}</pre>
{% endif %}
<div style="margin-top:16px;">
<a class="btn" href="/import/">Run again</a>
<a class="btn" href="/search/">Done</a>
</div>
</div>
{% endblock %}