small style changed for new link page

This commit is contained in:
overflowerror 2021-01-08 14:45:55 +01:00
parent 41c94e17e9
commit 7abd3ee56a
2 changed files with 17 additions and 5 deletions

View file

@ -4,4 +4,9 @@
.links img { .links img {
height: 40px; height: 40px;
margin-right: 5px; margin-right: 5px;
}
.video img {
height: 80px;
margin-right: 5px;
} }

View file

@ -6,11 +6,18 @@
{% endblock %} {% endblock %}
{% block body %} {% block body %}
<img alt="Thumbnail" src="{{ path("app_watch_thumbnail", { <div class="video">
linkId: constant("App\\Controller\\WatchController::OWNER_LINK_ID"), <a href="{{ path("app_watch_page", {
videoId: video.customId linkId: constant("App\\Controller\\WatchController::OWNER_LINK_ID"),
}) }}"/> videoId: video.customId
{{ video.name }} }) }}" target="_blank">
<img alt="Thumbnail" src="{{ path("app_watch_thumbnail", {
linkId: constant("App\\Controller\\WatchController::OWNER_LINK_ID"),
videoId: video.customId
}) }}"/>
{{ video.name }}
</a>
</div>
{{ form(form) }} {{ form(form) }}
{% endblock %} {% endblock %}