From 4ccf1c4818f2a1524c66d61848d309c2a7254f19 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 12 Nov 2020 12:09:47 -0800 Subject: [PATCH] Small html style changes on import pages --- bookwyrm/templates/import.html | 3 ++- bookwyrm/templates/import_status.html | 19 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bookwyrm/templates/import.html b/bookwyrm/templates/import.html index c3644812..8e3f5eb4 100644 --- a/bookwyrm/templates/import.html +++ b/bookwyrm/templates/import.html @@ -14,7 +14,8 @@
-
diff --git a/bookwyrm/templates/import_status.html b/bookwyrm/templates/import_status.html index 7db2ba3d..ffd1fa50 100644 --- a/bookwyrm/templates/import_status.html +++ b/bookwyrm/templates/import_status.html @@ -6,25 +6,24 @@

Import Status

- Import started: {{ job.created_date | naturaltime }} -

+ Import started: {{ job.created_date | naturaltime }} +

{% if task.ready %} - Import completed: {{ task.date_done | naturaltime }} - {% if task.failed %} -

TASK FAILED

+ Import completed: {{ task.date_done | naturaltime }} +

+ {% elif task.failed %} +
TASK FAILED
{{ task.info }} {% endif %}
- {% if job.import_status %} - {% include 'snippets/status.html' with status=job.import_status %} - {% endif %} - {% else %} + {% if not task.ready and not task.failed %} Import still in progress.

- (Hit reload to update!) + (Hit reload to update!) +

{% endif %}