fix indenting

This commit is contained in:
Kenneth SOARES 2025-02-17 15:13:38 +01:00 committed by Sli
parent 8cb53ceba2
commit 86c68eeb32
3 changed files with 15 additions and 15 deletions

View File

@ -1,13 +1,13 @@
{% macro download_button() %} {% macro download_button() %}
<div x-show="pictures.length > 0" x-cloak> <div x-show="pictures.length > 0" x-cloak>
<button <button
:disabled="isDownloading" :disabled="isDownloading"
class="btn btn-blue" class="btn btn-blue"
@click="downloadZip()" @click="downloadZip()"
> >
<i class="fa fa-download"></i> <i class="fa fa-download"></i>
{% trans %}Download all pictures{% endtrans %} {% trans %}Download all pictures{% endtrans %}
</button> </button>
<progress x-ref="progress" x-show="isDownloading"></progress> <progress x-ref="progress" x-show="isDownloading"></progress>
</div> </div>
{% endmacro %} {% endmacro %}

View File

@ -15,9 +15,9 @@
{% block content %} {% block content %}
<main x-data="user_pictures"> <main x-data="user_pictures">
{% if user.id == object.id %} {% if user.id == object.id %}
{{ download_button() }} {{ download_button() }}
{% endif %} {% endif %}
<template x-for="[album, pictures] in Object.entries(albums)" x-cloak> <template x-for="[album, pictures] in Object.entries(albums)" x-cloak>
<section> <section>

View File

@ -65,7 +65,7 @@
{% endif %} {% endif %}
<div x-data="user_pictures"> <div x-data="user_pictures">
{{ download_button() }} {{ download_button() }}
</div> </div>
<div x-data="pictures"> <div x-data="pictures">