[templates] Clean up tables
This commit is contained in:
@ -63,7 +63,6 @@
|
||||
{% for scrobble in object.scrobble_set.all|dictsortreversed:"timestamp" %}
|
||||
<tr>
|
||||
<td>{{scrobble.timestamp}}</td>
|
||||
<td>{{scrobble.logdata}}</td>
|
||||
<td>{{scrobble.media_obj.publisher}}</td>
|
||||
<td>{% if scrobble.screenshot%}<img src="{{scrobble.screenshot.url}}" width=250 />{% endif %}</td>
|
||||
</tr>
|
||||
|
||||
@ -52,17 +52,16 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Date</th>
|
||||
<th scope="col">Title</th>
|
||||
<th scope="col">Distance</th>
|
||||
<th scope="col">Source</th>
|
||||
<th scope="col">ID</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for scrobble in object.scrobble_set.all|dictsortreversed:"timestamp" %}
|
||||
<tr>
|
||||
<td>{{scrobble.timestamp}}</td>
|
||||
<td>{{scrobble.logdata}}</td>
|
||||
<td>{{scrobble.media_obj.publisher}}</td>
|
||||
<td>{% if scrobble.screenshot%}<img src="{{scrobble.screenshot.url}}" width=250 />{% endif %}</td>
|
||||
<td>{{scrobble.media_obj.source}}</td>
|
||||
<td><a href="{{scrobble.source_url_for_user}}">{{scrobble.logdata.source_url_pattern.label}}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
{% extends "base_list.html" %} {% block title %}Tasks{% endblock %} {% block
|
||||
head_extra %}
|
||||
{% extends "base_list.html" %}
|
||||
{% block title %}Tasks{% endblock %}
|
||||
{% block head_extra %}
|
||||
<style>
|
||||
dl {
|
||||
width: 210px;
|
||||
@ -20,7 +21,9 @@ head_extra %}
|
||||
float: right;
|
||||
}
|
||||
</style>
|
||||
{% endblock %} {% block lists %}
|
||||
{% endblock %}
|
||||
|
||||
{% block lists %}
|
||||
<div class="row">
|
||||
<div class="col-md">
|
||||
<div class="table-responsive">{% include "_scrobblable_list.html" %}</div>
|
||||
|
||||
@ -52,17 +52,12 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Date</th>
|
||||
<th scope="col">Title</th>
|
||||
<th scope="col">Distance</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for scrobble in object.scrobble_set.all|dictsortreversed:"timestamp" %}
|
||||
<tr>
|
||||
<td>{{scrobble.timestamp}}</td>
|
||||
<td>{{scrobble.logdata}}</td>
|
||||
<td>{{scrobble.media_obj.publisher}}</td>
|
||||
<td>{% if scrobble.screenshot%}<img src="{{scrobble.screenshot.url}}" width=250 />{% endif %}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user