Dockerize Project
This commit is contained in:
commit
e679d02b41
205 changed files with 17941 additions and 0 deletions
12
templates/partials/home/__gallery.html.twig
Executable file
12
templates/partials/home/__gallery.html.twig
Executable file
|
@ -0,0 +1,12 @@
|
|||
{% block gallery %}
|
||||
<div class="image-grid">
|
||||
{% for file in files %}
|
||||
<div class="image-container">
|
||||
<a href="{{ path('app_serve_file', {'filename': file.name}) }}">
|
||||
<img draggable="false" src="{{ asset('uploads/' ~ file.user.id ~ '/' ~ file.name) }}" class=""
|
||||
alt="{{ file.name }}">
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue