import_detail.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {% extends "base_detail.html" %}
  2. {% block title %}{{title}}{% endblock %}
  3. {% block details %}
  4. <div class="row">
  5. <div class="col-md">
  6. <p>Import started: {{object.processing_started}}</p>
  7. <p>Import finished: {{object.processed_finished}}</p>
  8. <p>Imported {{object.process_count}} scrobbles</p>
  9. <h3>Scrobbles</h3>
  10. <div class="table-responsive">
  11. <table class="table table-striped table-sm">
  12. <thead>
  13. <tr>
  14. <th scope="col">Date</th>
  15. <th scope="col">Media Type</th>
  16. <th scope="col">Media</th>
  17. </tr>
  18. </thead>
  19. <tbody>
  20. {% for scrobble in object.scrobbles %}
  21. <tr>
  22. <td><a href="{{scrobble.get_absolute_url}}">{{scrobble.timestamp}}</a></td>
  23. <td>{{scrobble.media_type}}</td>
  24. <td>{{scrobble.media_obj}}
  25. </tr>
  26. {% endfor %}
  27. </tbody>
  28. </table>
  29. </div>
  30. </div>
  31. </div>
  32. {% endblock %}