Style changes

This commit is contained in:
Yusur 2023-05-18 08:47:06 +02:00
parent ba3ed04b44
commit d53677ea66
25 changed files with 389 additions and 371 deletions

View file

@ -9,30 +9,32 @@
{% block content %}
<h1>Best pages</h1>
<table>
<thead>
<tr>
<th>#</th>
<th>Page Name</th>
<th>Score</th>
<th><abbr title="Length in bytes">Len</abbr></th>
<th><abbr title="Backlinks">BL</abbr></th>
<th><abbr title="Forward links">FL</abbr></th>
</tr>
</thead>
<tbody>
{% set counters = namespace(row = 0) %}
{% for p, score, bklinks, fwlinks, length in pages %}
<tr>
{% set counters.row = counters.row + 1 %}
<th style="text-align: right">{{ counters.row }}</th>
<td><a href="{{ p.get_url() }}">{{ p.title }}</a> (#{{ p.id }})</td>
<td><strong>{{ score }}</strong></td>
<td>{{ length }}</td>
<td>{{ bklinks }}</td>
<td>{{ fwlinks }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<div class="inner-content">
<table>
<thead>
<tr>
<th>#</th>
<th>Page Name</th>
<th>Score</th>
<th><abbr title="Length in bytes">Len</abbr></th>
<th><abbr title="Backlinks">BL</abbr></th>
<th><abbr title="Forward links">FL</abbr></th>
</tr>
</thead>
<tbody>
{% set counters = namespace(row = 0) %}
{% for p, score, bklinks, fwlinks, length in pages %}
<tr>
{% set counters.row = counters.row + 1 %}
<th style="text-align: right">{{ counters.row }}</th>
<td><a href="{{ p.get_url() }}">{{ p.title }}</a> (#{{ p.id }})</td>
<td><strong>{{ score }}</strong></td>
<td>{{ length }}</td>
<td>{{ bklinks }}</td>
<td>{{ fwlinks }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}