Browse Source

Fixes style. I18s table headers

pull/40/head
nonmakina 3 years ago
parent
commit
4eab810a3b
  1. 56
      templates/themes/categories/news.html

56
templates/themes/categories/news.html

@ -25,46 +25,46 @@
{% endif %} {% endif %}
</div> </div>
{% if stats %} {% if stats %}
<div class="ban post"> <div class="ban" style="border: none; background: none;">
<h2 id="post-statistics"> <h2 id="post-statistics">
{% trans "Post Statistics" %} {% trans "Post Statistics" %}
</h2> </h2>
<table class="modlog" style="width: 50%; text-align: left;"> </div>
<thead> <table class="modlog" style="width: 50%; text-align: left;">
<tr> <thead>
<th>Board</th> <tr>
<th>PPH</th> <th>{% trans "Board" %}</th>
<th>Recent IPs</th> <th>{% trans "PPH" %}</th>
</tr> <th>{% trans "Recent IPs" %}</th>
</thead> </tr>
<tbody> </thead>
<tbody>
<tr>
<td class="minimal">
<span>{% trans "Total" %}</span>
</td>
<td class="minimal">
<span>{{ stats.pph }}</span>
</td>
<td class="minimal">
<span>{{ stats.recent_ips }}</span>
</td>
</tr>
{% for boardStat in stats.boards %}
<tr> <tr>
<td class="minimal"> <td class="minimal">
<span>{% trans "Total" %}</span> <span>{{ boardStat.title }}</span>
</td> </td>
<td class="minimal"> <td class="minimal">
<span>{{ stats.pph }}</span> <span>{{ boardStat.pph }}</span>
</td> </td>
<td class="minimal"> <td class="minimal">
<span>{{ stats.recent_ips }}</span> <span>{{ boardStat.recent_ips }}</span>
</td> </td>
</tr> </tr>
{% for boardStat in stats.boards %} {% endfor %}
<tr>
<td class="minimal">
<span>{{ boardStat.title }}</span>
</td>
<td class="minimal">
<span>{{ boardStat.pph }}</span>
</td>
<td class="minimal">
<span>{{ boardStat.recent_ips }}</span>
</td>
</tr>
{% endfor %}
</tbody> </tbody>
</table> </table>
</div>
{% endif %} {% endif %}
<footer> <footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard + <p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +

Loading…
Cancel
Save