Initial import
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
|
||||
{% 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 style="white-space:pre-wrap;">{{ 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 %}
|
||||
Reference in New Issue
Block a user