Small html style changes on import pages

This commit is contained in:
Mouse Reeve 2020-11-12 12:09:47 -08:00
parent 2f0b91d843
commit 4ccf1c4818
2 changed files with 11 additions and 11 deletions

View file

@ -14,7 +14,8 @@
</label> </label>
</div> </div>
<div class="field"> <div class="field">
<label class="label">Privacy setting for imported reviews <label class="label">
<p>Privacy setting for imported reviews:</p>
{% include 'snippets/privacy_select.html' with no_label=True %} {% include 'snippets/privacy_select.html' with no_label=True %}
</label> </label>
</div> </div>

View file

@ -6,25 +6,24 @@
<h1 class="title">Import Status</h1> <h1 class="title">Import Status</h1>
<p> <p>
Import started: {{ job.created_date | naturaltime }} Import started: {{ job.created_date | naturaltime }}
<p> </p>
{% if task.ready %} {% if task.ready %}
Import completed: {{ task.date_done | naturaltime }}
{% if task.failed %}
<h3><span style="background-color: #ffaaaa;">TASK FAILED</span></h3>
<p> <p>
Import completed: {{ task.date_done | naturaltime }}
</p>
{% elif task.failed %}
<div class="notification is-danger">TASK FAILED</div>
{{ task.info }} {{ task.info }}
{% endif %} {% endif %}
</div> </div>
<div class="block"> <div class="block">
{% if job.import_status %} {% if not task.ready and not task.failed %}
{% include 'snippets/status.html' with status=job.import_status %}
{% endif %}
{% else %}
Import still in progress. Import still in progress.
<p> <p>
(Hit reload to update!) (Hit reload to update!)
</p>
{% endif %} {% endif %}
</div> </div>