Stuff i guess ?

This commit is contained in:
Lars Behrends
2025-10-31 00:24:17 +01:00
parent db0fd4e728
commit 04140786a7
40 changed files with 5411 additions and 525 deletions

View File

@@ -4,17 +4,28 @@
<div class="px-4 py-3">
<div class="d-flex justify-content-between align-items-center mb-4">
<div>
<h1 class="h3 fw-bold text-dark mb-1">Adult Performers</h1>
<h1 class="h3 fw-bold text-dark mb-1">Performers</h1>
<p class="text-muted mb-0">{{ actors|length }} performer{{ actors|length != 1 ? 's' : '' }}</p>
</div>
</div>
<div class="items">
{% if actors %}
<div class="row g-3">
{% for actor in actors %}
<div class="col-md-6 col-lg-4 col-xl-2">
<div class="card h-100">
<div class="card-body text-center">
<figure class="item" style="padding:0px">
<a href="{{ path_for('actors.show', {'id': actor.id}) }}" class="text-decoration-none">
<img src="{{ actor.thumbnail_path }}" />
<figcaption>{{ actor.name }}</figcaption>
</a>
</figure>
<!--
div class="col-md-6 col-lg-4 col-xl-2">
<div class="item h-100">
<div class="item-body text-center">
<a href="{{ path_for('actors.show', {'id': actor.id}) }}" class="text-decoration-none">
{% if actor.thumbnail_path %}
<img src="{{ actor.thumbnail_path }}" alt="{{ actor.name }}" class="rounded-circle mb-3" style="width: 80px; height: 80px; object-fit: cover;">
@@ -26,8 +37,8 @@
</div>
{% endif %}
<h5 class="card-title mb-2">{{ actor.name }}</h5>
<p class="card-text small text-muted">
<h5 class="item-title mb-2">{{ actor.name }}</h5>
<p class="item-text small text-muted">
{{ actor.total_media_count }} scene{{ actor.total_media_count != 1 ? 's' : '' }}
</p>
@@ -39,9 +50,11 @@
</a>
</div>
</div>
</div>
</div
-->
{% endfor %}
</div>
</div>
{% else %}
<div class="text-center py-5">
<svg class="text-muted mb-3" width="64" height="64" fill="none" viewBox="0 0 24 24" stroke="currentColor">