Update all changes before rebase and push
This commit is contained in:
@@ -110,27 +110,36 @@
|
|||||||
|
|
||||||
<ul class="list-group sortable-list" id="groupMediaList">
|
<ul class="list-group sortable-list" id="groupMediaList">
|
||||||
{% for media in content %}
|
{% for media in content %}
|
||||||
<li class="list-group-item d-flex align-items-center {{ 'dark-mode' if theme == 'dark' else '' }}"
|
<li class="list-group-item d-flex align-items-center {{ 'dark-mode' if theme == 'dark' else '' }}"
|
||||||
draggable="true"
|
draggable="true"
|
||||||
data-id="{{ media.id }}"
|
data-id="{{ media.id }}"
|
||||||
data-position="{{ loop.index0 }}">
|
data-position="{{ loop.index0 }}">
|
||||||
<!-- Checkbox for bulk selection -->
|
<!-- Checkbox for bulk selection -->
|
||||||
<div class="me-2">
|
<div class="me-2">
|
||||||
<input class="form-check-input media-checkbox"
|
<input class="form-check-input media-checkbox"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
name="selected_content"
|
name="selected_content"
|
||||||
value="{{ media.id }}">
|
value="{{ media.id }}">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Drag handle -->
|
<!-- Drag handle -->
|
||||||
<div class="drag-handle me-2" title="Drag to reorder">
|
<div class="drag-handle me-2" title="Drag to reorder">
|
||||||
<i class="bi bi-grip-vertical"></i>
|
<i class="bi bi-grip-vertical"></i>
|
||||||
☰
|
☰
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex-grow-1">
|
<!-- Media Thumbnail and Name -->
|
||||||
|
<div class="flex-grow-1 mb-2 mb-md-0 d-flex align-items-center">
|
||||||
|
<img src="{{ url_for('static', filename='uploads/' ~ media.file_name) }}"
|
||||||
|
alt="thumbnail"
|
||||||
|
style="width: 48px; height: 48px; object-fit: cover; margin-right: 10px; border-radius: 4px;"
|
||||||
|
onerror="this.style.display='none';">
|
||||||
<p class="mb-0"><strong>Media Name:</strong> {{ media.file_name }}</p>
|
<p class="mb-0"><strong>Media Name:</strong> {{ media.file_name }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
|
||||||
|
>>>>>>> 2255cc2 (Show media thumbnails in manage group page, matching player page style)
|
||||||
<form action="{{ url_for('edit_group_media_route', group_id=group.id, content_id=media.id) }}" method="post" class="d-flex align-items-center">
|
<form action="{{ url_for('edit_group_media_route', group_id=group.id, content_id=media.id) }}" method="post" class="d-flex align-items-center">
|
||||||
<div class="input-group me-2">
|
<div class="input-group me-2">
|
||||||
<span class="input-group-text">seconds</span>
|
<span class="input-group-text">seconds</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user