leftypol/templates/themes/categories/news.html

112 lines
3.2 KiB
HTML
Raw Normal View History

2012-02-14 10:26:08 +00:00
{% filter remove_whitespace %}
<div class="introduction">
2021-07-04 01:31:43 +00:00
<style style="display:none;">
.home-logo {
display: block;
margin: auto;
min-width: 100px;
width: 15%;
}
.home-description {
margin: 20px auto 0 auto;
text-align: center;
max-width: 700px;"
}
</style>
2021-01-17 22:57:28 +00:00
{{ boardlist.top }}
2012-04-22 06:52:24 +00:00
<header>
<h1>{{ settings.title }}</h1>
<img src="{{ config.logo }}" alt="logo" class="home-logo">
2012-04-22 06:52:24 +00:00
<div class="subtitle">{{ settings.subtitle }}</div>
2021-01-17 23:08:09 +00:00
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
<link rel="stylesheet" media="screen" href="/stylesheets/dark_red.css">
2021-07-04 01:31:43 +00:00
<p class="home-description" >{{ description }}</p>
2012-04-22 06:52:24 +00:00
</header>
</div>
<div class="content">
2012-02-14 10:26:08 +00:00
<div class="ban">
{% if not news %}
2013-07-27 05:43:09 +00:00
<p style="text-align:center" class="unimportant">{% trans %}(No news to show.){% endtrans %}</p>
2012-02-14 10:26:08 +00:00
{% else %}
{% for entry in news %}
<h2 id="{{ entry.id }}">
{% if entry.subject %}
{{ entry.subject }}
{% else %}
2013-07-27 05:43:09 +00:00
<em>{% trans %}no subject{% endtrans %}</em>
2012-02-14 10:26:08 +00:00
{% endif %}
2013-07-27 05:43:09 +00:00
<span class="unimportant"> &mdash; {% trans %}by{% endtrans %} {{ entry.name }} {% trans %}at{% endtrans %} {{ entry.time|date(config.post_date) }}</span>
2012-02-14 10:26:08 +00:00
</h2>
<p>{{ entry.body }}</p>
{% endfor %}
{% endif %}
</div>
2021-01-20 02:27:00 +00:00
{% if stats %}
2021-01-20 03:47:53 +00:00
<div class="ban" style="border: none; background: none;">
2021-01-20 03:49:43 +00:00
<h1 id="post-statistics">
2021-01-20 02:27:00 +00:00
{% trans "Post Statistics" %}
2021-01-20 03:49:43 +00:00
</h1>
2021-01-20 03:47:53 +00:00
</div>
<table class="modlog">
2021-01-20 03:47:53 +00:00
<thead>
<tr>
<th>{% trans "Board" %}</th>
<th>{% trans "PPH" %}</th>
2021-02-21 22:18:26 +00:00
<th>{% trans "IPs last hour" %}</th>
2021-02-22 01:04:36 +00:00
<th>{% trans "IPs last day" %}</th>
<th>{% trans "IPs last week" %}</th>
2021-01-20 03:47:53 +00:00
</tr>
</thead>
<tbody>
<tr>
<td class="minimal">
<span>{% trans "Total" %}</span>
</td>
<td class="minimal">
<span>{{ stats.pph }}</span>
</td>
<td class="minimal">
2021-02-21 22:36:09 +00:00
<span>{{ stats.hourly_ips }}</span>
2021-01-20 03:47:53 +00:00
</td>
2021-02-21 22:18:26 +00:00
<td class="minimal">
<span>{{ stats.daily_ips }}</span>
</td>
2021-02-21 22:36:09 +00:00
<td class="minimal">
2021-02-22 01:04:36 +00:00
<span>{{ stats.weekly_ips }}</span>
2021-02-21 22:18:26 +00:00
</td>
2021-01-20 03:47:53 +00:00
</tr>
{% for boardStat in stats.boards %}
2021-01-20 02:27:00 +00:00
<tr>
<td class="minimal">
2021-01-20 03:47:53 +00:00
<span>{{ boardStat.title }}</span>
2021-01-20 02:27:00 +00:00
</td>
<td class="minimal">
2021-01-20 03:47:53 +00:00
<span>{{ boardStat.pph }}</span>
2021-01-20 02:27:00 +00:00
</td>
<td class="minimal">
2021-02-21 22:36:09 +00:00
<span>{{ boardStat.hourly_ips }}</span>
2021-01-20 02:27:00 +00:00
</td>
2021-02-21 22:18:26 +00:00
<td class="minimal">
2021-02-21 22:38:00 +00:00
<span>{{ boardStat.daily_ips }}</span>
2021-02-21 22:18:26 +00:00
</td>
2021-02-21 22:36:09 +00:00
<td class="minimal">
2021-02-22 01:04:36 +00:00
<span>{{ boardStat.weekly_ips }}</span>
2021-02-21 22:18:26 +00:00
</td>
2021-01-20 02:27:00 +00:00
</tr>
2021-01-20 03:47:53 +00:00
{% endfor %}
2021-01-20 02:27:00 +00:00
</tbody>
2021-01-20 03:47:53 +00:00
</table>
2021-01-20 02:27:00 +00:00
{% endif %}
<footer>
2021-01-20 02:27:00 +00:00
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2016 vichan-devel
2021-01-18 04:38:18 +00:00
<br><br>
<br><b>Leftypol.org is not currently under investigation by any Federal, State, or Local Authorities.</b></p>
</footer>
</div>
2012-02-14 10:26:08 +00:00
{% endfilter %}