Update list preview icon color

This commit is contained in:
Sergio Brighenti 2024-01-14 14:15:16 +01:00
parent 59c6691585
commit dd5e30abe2
3 changed files with 393 additions and 271 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "sergix44/xbackbone", "name": "sergix44/xbackbone",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"version": "3.6.3", "version": "3.7.0",
"description": "A lightweight ShareX PHP backend", "description": "A lightweight ShareX PHP backend",
"type": "project", "type": "project",
"require": { "require": {

660
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -33,7 +33,7 @@
{% for media in medias %} {% for media in medias %}
<tr id="media_{{ media.id }}" class="bulk-selector" data-id="{{ media.id }}"> <tr id="media_{{ media.id }}" class="bulk-selector" data-id="{{ media.id }}">
<td class="text-center"> <td class="text-center">
<a href="{{ urlFor('/' ~ media.user_code ~ '/' ~ media.code ~ '.' ~ media.extension) }}" target="_blank"> <a href="{{ urlFor('/' ~ media.user_code ~ '/' ~ media.code ~ '.' ~ media.extension) }}" target="_blank" class="text-dark">
{% if isDisplayableImage(media.mimetype) %} {% if isDisplayableImage(media.mimetype) %}
{% if media.username is not null %} {% if media.username is not null %}
<img src="{{ urlFor('/' ~ media.user_code ~ '/' ~ media.code ~ '.' ~ media.extension ~ '/raw?width=84&height=42') }}" class="img-fluid rounded"> <img src="{{ urlFor('/' ~ media.user_code ~ '/' ~ media.code ~ '.' ~ media.extension ~ '/raw?width=84&height=42') }}" class="img-fluid rounded">