2023-03-29 23:59:28 +02:00
|
|
|
{% apply spaceless %}
|
2013-07-18 17:34:04 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
2013-12-25 17:46:13 +01:00
|
|
|
<script type='text/javascript'>
|
2016-05-05 14:38:24 +02:00
|
|
|
var active_page = "catalog"
|
|
|
|
, board_name = "{{ board }}";
|
2013-12-25 17:46:13 +01:00
|
|
|
</script>
|
|
|
|
{% include 'header.html' %}
|
2014-09-28 19:01:17 +02:00
|
|
|
<title>{{ board }} - Catalog</title>
|
2013-07-18 17:34:04 +02:00
|
|
|
</head>
|
2015-09-25 17:17:05 +02:00
|
|
|
<body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %} theme-catalog active-catalog" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
|
2013-07-18 17:34:04 +02:00
|
|
|
{{ boardlist.top }}
|
|
|
|
<header>
|
|
|
|
<h1>{{ settings.title }} (<a href="{{link}}">/{{ board }}/</a>)</h1>
|
2022-06-20 20:09:55 +02:00
|
|
|
<div class="subtitle">{{ settings.subtitle }}
|
|
|
|
{% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
|
|
|
|
</div>
|
2013-07-18 17:34:04 +02:00
|
|
|
</header>
|
2014-05-05 17:29:34 +02:00
|
|
|
|
2024-04-03 17:18:52 +02:00
|
|
|
<span>{% trans 'Sort by' %}: </span>
|
|
|
|
<select id="sort_by" style="display: inline-block">
|
|
|
|
<option selected value="bump:desc">{% trans 'Bump order' %}</option>
|
|
|
|
<option value="time:desc">{% trans 'Creation date' %}</option>
|
|
|
|
<option value="reply:desc">{% trans 'Reply count' %}</option>
|
|
|
|
<option value="random:desc">{% trans 'Random' %}</option>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<span>{% trans 'Image size' %}: </span>
|
|
|
|
<select id="image_size" style="display: inline-block">
|
|
|
|
<option value="vsmall">{% trans 'Very small' %}</option>
|
|
|
|
<option selected value="small">{% trans 'Small' %}</option>
|
|
|
|
<option value="large">{% trans 'Large' %}</option>
|
|
|
|
</select>
|
|
|
|
<div class="threads">
|
|
|
|
<div id="Grid">
|
|
|
|
{% for post in recent_posts %}
|
|
|
|
<div class="mix"
|
2014-08-08 22:48:38 +02:00
|
|
|
data-reply="{{ post.reply_count }}"
|
2014-10-22 06:06:34 +02:00
|
|
|
data-bump="{{ post.bump }}"
|
|
|
|
data-time="{{ post.time }}"
|
2015-02-01 08:30:59 +01:00
|
|
|
data-id="{{ post.id }}"
|
2015-03-06 11:01:53 +01:00
|
|
|
data-sticky="{% if post.sticky %}true{% else %}false{% endif %}"
|
|
|
|
data-locked="{% if post.locked %}true{% else %}false{% endif %}"
|
2014-08-08 22:48:38 +02:00
|
|
|
>
|
2024-04-03 17:18:52 +02:00
|
|
|
<div class="thread grid-li grid-size-small">
|
|
|
|
<a href="{{post.link}}">
|
2014-05-05 17:29:34 +02:00
|
|
|
{% if post.youtube %}
|
2024-04-03 17:18:52 +02:00
|
|
|
<img src="//img.youtube.com/vi/{{ post.youtube }}/0.jpg"
|
2014-05-05 17:29:34 +02:00
|
|
|
{% else %}
|
2024-04-03 17:18:52 +02:00
|
|
|
<img src="{{post.file}}"
|
2014-05-05 17:29:34 +02:00
|
|
|
{% endif %}
|
2024-04-03 17:14:49 +02:00
|
|
|
id="img-{{ post.id }}" data-subject="{% if post.subject %}{{ post.subject|e }}{% endif %}" data-name="{{ post.name|e }}" data-muhdifference="{{ post.muhdifference }}" class="{{post.board}} thread-image" title="{{post.bump|date('M d H:i')}}">
|
2024-04-03 17:18:52 +02:00
|
|
|
</a>
|
|
|
|
<div class="replies">
|
|
|
|
<strong>R: {{ post.reply_count }} / I: {{ post.image_count }}{% if post.sticky %} (sticky){% endif %}</strong>
|
|
|
|
{% if post.subject %}
|
2015-01-23 11:29:55 +01:00
|
|
|
<p class="intro">
|
|
|
|
<span class="subject">
|
|
|
|
{{ post.subject|e }}
|
|
|
|
</span>
|
|
|
|
</p>
|
|
|
|
{% else %}
|
|
|
|
<br />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{{ post.body }}
|
2024-04-03 17:18:52 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-07-18 17:34:04 +02:00
|
|
|
<hr/>
|
2022-12-06 20:55:26 +01:00
|
|
|
{% include 'footer.html' %}
|
2021-11-04 03:45:01 +01:00
|
|
|
<script type="text/javascript">{% verbatim %}
|
2014-10-05 17:49:27 +02:00
|
|
|
var styles = {
|
2021-11-04 03:45:01 +01:00
|
|
|
{% endverbatim %}
|
|
|
|
{% for name, uri in config.stylesheets %}{% verbatim %}'{% endverbatim %}{{ name|addslashes }}{% verbatim %}' : '{% endverbatim %}/stylesheets/{{ uri|addslashes }}{% verbatim %}',
|
|
|
|
{% endverbatim %}{% endfor %}{% verbatim %}
|
2014-10-05 17:49:27 +02:00
|
|
|
}; onready(init);
|
2021-11-04 03:45:01 +01:00
|
|
|
{% endverbatim %}</script>
|
2014-10-05 17:49:27 +02:00
|
|
|
|
2021-11-04 03:45:01 +01:00
|
|
|
<script type="text/javascript">{% verbatim %}
|
2014-10-05 17:49:27 +02:00
|
|
|
ready();
|
2021-11-04 03:45:01 +01:00
|
|
|
{% endverbatim %}</script>
|
2013-07-18 17:34:04 +02:00
|
|
|
</body>
|
|
|
|
</html>
|
2023-03-29 23:59:28 +02:00
|
|
|
{% endapply %}
|