74 lines
No EOL
1.7 KiB
HTML
74 lines
No EOL
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
{% include 'parts/head.html' %}
|
|
|
|
<style>
|
|
/* Longer name hidden by default */
|
|
span.long {
|
|
display: none;
|
|
}
|
|
|
|
/* On hover, hide the short name */
|
|
.expanded:hover span.short {
|
|
display: none;
|
|
}
|
|
|
|
/* On hover, display the longer name. */
|
|
.expanded:hover span.long {
|
|
display: block;
|
|
}
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<div class="table-responsive">
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Detection time</th>
|
|
<th>Source</th>
|
|
<th>Diff</th>
|
|
<th>Original</th>
|
|
<th>Changed</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for diff in diffs %}
|
|
<tr>
|
|
<td>{{ diff.diff_time }}</td>
|
|
<td><a href='{{ diff.article_url }}' target="_blank">{{ diff.feed_name }}</a></td>
|
|
<td>{{ diff.diff_html|safe }}</td>
|
|
<td class="expanded">
|
|
<span class="short">{{ diff.title_orig|truncate(15) }} </span>
|
|
<span class="long">{{ diff.title_orig }} </span>
|
|
</td>
|
|
<td class="expanded">
|
|
<span class="short">{{ diff.title_new|truncate(15) }} </span>
|
|
<span class="long">{{ diff.title_new}} </span>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="container text-center">
|
|
<div class="row">
|
|
<div class="col">
|
|
{{ pagination.links }}
|
|
</div>
|
|
<div class="col">
|
|
{{ pagination.info }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% include 'parts/footer.html' %}
|
|
</body>
|
|
|
|
</html> |