From 9ed5d5dc1a775d85deadc0a356b78d4264d9c74f Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 26 Apr 2023 14:03:14 -0400 Subject: [PATCH] Add columsn to list import --- vrobbler/templates/scrobbles/import_list.html | 78 ++++++++++++++----- 1 file changed, 57 insertions(+), 21 deletions(-) diff --git a/vrobbler/templates/scrobbles/import_list.html b/vrobbler/templates/scrobbles/import_list.html index 6705caf..fac11dd 100644 --- a/vrobbler/templates/scrobbles/import_list.html +++ b/vrobbler/templates/scrobbles/import_list.html @@ -1,47 +1,83 @@ {% extends "base_list.html" %} {% block title %}Scrobble Imports{% endblock %} + {% block lists %}
+ {% if tsv_imports %}
+

Audioscrobbler

- - - + + {% for obj in tsv_imports %} - - - - {% endfor %} - {% for obj in lastfm_imports %} - - - - - - {% endfor %} - {% for obj in koreader_imports %} - - - - - {% endfor %}
TypeDateScrobbles ImportedStarted FinishedScrobbles
{{obj.import_type}} {{obj.human_start}}{{obj.process_count}} {{obj.processed_finished}}
{{obj.import_type}}{{obj.human_start}} {{obj.process_count}}{{obj.processed_finished}}
{{obj.import_type}}{{obj.human_start}}{{obj.process_count}}{{obj.processed_finished}}
+ {% endif %} + + {% if lastfm_imports %} +
+

LastFM

+
+ + + + + + + + + {% for obj in lastfm_imports %} + + + + + + {% endfor %} + +
StartedFinishedScrobbles
{{obj.human_start}}{{obj.processed_finished}}{{obj.process_count}}
+
+
+ {% endif %} + + {% if koreader_imports %} +
+

KOReader

+
+ + + + + + + + + {% for obj in koreader_imports %} + + + + + + {% endfor %} + +
StartedFinishedScrobbles
{{obj.human_start}}{{obj.processed_finished}}{{obj.process_count}}
+
+
+ {% endif %}
-{% endblock %} \ No newline at end of file +{% endblock %}