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 {
height: 40px;
margin-right: 5px;
}
.video img {
height: 80px;
margin-right: 5px;
}

View file

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