mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-13 08:11:12 +01:00
ecfe072a4f
- Increased memory management in all of my recent work. - board-search.php Fetches activity from board_stats and now includes timestamp as a search option. - boards.php Correctly fetches board activity and formats numbers. - inc/functions.php Completely reworked activity fetching. - inc/functions Wrote updateStatisticsForPost() which streams new posts in statistics. - post.php Writes into updateStatisticsForPost() for streaming new posts. - Added styling for tags (in progress work). - tools/migrate_board_stats.php Now correcty defines author_ip_count. Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
11 lines
878 B
HTML
11 lines
878 B
HTML
{% for board in boards %}
|
|
<tr>
|
|
<td class="board-meta">{{ board.img|raw }} {% if board['sfw'] %}<img src="/static/sfw.png" title="Safe for work">{% else %}<img src="/static/nsfw.png" title="Not safe for work">{% endif %}</td>
|
|
<td class="board-uri"><div class="board-list-wrapper uri"><a href='/{{board['uri']}}/'>/{{board['uri']}}/</a>{{lock|raw}}</div></td>
|
|
<td class="board-title"><div class="board-cell" title="Created {{board['time']}} ({{board['ago']}} ago)">{{ board['title'] }}</div></td>
|
|
<td class="board-pph"><div class="board-cell">{{board['pph']}}</td>
|
|
<td class="board-max"><div class="board-cell">{{board['posts_total']}}</td>
|
|
<td class="board-unique"><div class="board-cell">{{board['active']}}</td>
|
|
<td class="board-tags"><div class="board-cell">{% for tag in board.tags %}<a class="tag-link" href="#">{{ tag }}</a>{% endfor %}</div></td>
|
|
</tr>
|
|
{% endfor %} |