2021-04-30 04:51:13 +09:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2020-12-02 02:56:31 +09:00
|
|
|
|
2022-01-02 06:52:30 +09:00
|
|
|
{% block title %}{{ title }}{% endblock %}
|
2020-12-02 02:56:31 +09:00
|
|
|
|
|
|
|
{% block body %}
|
2022-01-22 03:02:27 +09:00
|
|
|
<div class="frame-section frame-section-padding">
|
|
|
|
<h1 class="frame-section-title">{{ title }}</h1>
|
2021-09-18 05:51:55 +09:00
|
|
|
|
2022-01-22 03:02:27 +09:00
|
|
|
<details class="frame-section section-details-title">
|
|
|
|
<summary class="details-summary-title">
|
|
|
|
<strong>
|
|
|
|
{% trans %}Ordering rules{% endtrans %}
|
|
|
|
</strong>
|
|
|
|
</summary>
|
|
|
|
<form method="GET" class="section-form">
|
|
|
|
<div class="container-grid">
|
|
|
|
<section class="frame-section frame-section-padding">
|
|
|
|
<strong>{% trans %}Sort by{% endtrans %}</strong>
|
|
|
|
<hr>
|
|
|
|
<div class="container-block">
|
|
|
|
{% for field in sort_form_fields %}
|
|
|
|
<span class="container-block">
|
|
|
|
<label for="order_by_{{ field.value }}">{{ field.label }}</label>
|
|
|
|
<input id="order_by_{{ field.value }}" type="radio" name="order_by" value="{{ field.value }}" {% if field.checked %}checked="checked"{% endif %}>
|
|
|
|
</span>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section class="frame-section frame-section-padding">
|
|
|
|
<strong class="section-title">{% trans %}Order{% endtrans %}</strong>
|
|
|
|
<hr>
|
|
|
|
<section class="container-block">
|
|
|
|
<span class="container-block">
|
|
|
|
<label for="order_op_asc">{% trans %}Ascending{% endtrans %}</label>
|
|
|
|
<input id="order_op_asc" type="radio" name="order_op" value="ASC">
|
|
|
|
</span>
|
|
|
|
<span class="container-block">
|
|
|
|
<label for="order_op_desc">{% trans %}Descending{% endtrans %}</label>
|
|
|
|
<input id="order_op_desc" type="radio" name="order_op" value="DESC" checked="checked">
|
|
|
|
</span>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<button type="submit">{% trans %}Order{% endtrans %}</button>
|
2022-01-03 05:11:44 +09:00
|
|
|
</form>
|
2022-01-22 03:02:27 +09:00
|
|
|
</details>
|
2022-01-02 07:17:26 +09:00
|
|
|
|
2022-01-22 03:02:27 +09:00
|
|
|
<section class="frame-section-padding">
|
2021-09-18 04:33:02 +09:00
|
|
|
{% if actors is defined and actors is not empty %}
|
|
|
|
{% for actor in actors %}
|
2021-09-22 22:10:36 +09:00
|
|
|
{% block profile_view %}{% include 'cards/profile/view.html.twig' %}{% endblock profile_view %}
|
2021-12-26 02:59:49 +09:00
|
|
|
<hr>
|
2021-09-18 04:33:02 +09:00
|
|
|
{% endfor %}
|
2022-01-02 06:52:30 +09:00
|
|
|
<p>{% trans %}Page: %page%{% endtrans %}</p>
|
2021-09-18 04:33:02 +09:00
|
|
|
{% else %}
|
2022-01-20 03:21:51 +09:00
|
|
|
<h2>{{ empty_message }}</h2>
|
2020-12-02 02:56:31 +09:00
|
|
|
{% endif %}
|
2022-01-22 03:02:27 +09:00
|
|
|
</section>
|
|
|
|
</div>
|
2022-01-02 06:52:30 +09:00
|
|
|
{% endblock body %}
|