mirror of
https://github.com/ae-utbm/sith.git
synced 2025-02-26 01:17:13 +00:00
fix indenting
This commit is contained in:
parent
8cb53ceba2
commit
86c68eeb32
@ -1,13 +1,13 @@
|
||||
{% macro download_button() %}
|
||||
<div x-show="pictures.length > 0" x-cloak>
|
||||
<button
|
||||
:disabled="isDownloading"
|
||||
class="btn btn-blue"
|
||||
@click="downloadZip()"
|
||||
>
|
||||
<i class="fa fa-download"></i>
|
||||
{% trans %}Download all pictures{% endtrans %}
|
||||
</button>
|
||||
<progress x-ref="progress" x-show="isDownloading"></progress>
|
||||
</div>
|
||||
<div x-show="pictures.length > 0" x-cloak>
|
||||
<button
|
||||
:disabled="isDownloading"
|
||||
class="btn btn-blue"
|
||||
@click="downloadZip()"
|
||||
>
|
||||
<i class="fa fa-download"></i>
|
||||
{% trans %}Download all pictures{% endtrans %}
|
||||
</button>
|
||||
<progress x-ref="progress" x-show="isDownloading"></progress>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
@ -15,9 +15,9 @@
|
||||
|
||||
{% block content %}
|
||||
<main x-data="user_pictures">
|
||||
{% if user.id == object.id %}
|
||||
{{ download_button() }}
|
||||
{% endif %}
|
||||
{% if user.id == object.id %}
|
||||
{{ download_button() }}
|
||||
{% endif %}
|
||||
|
||||
<template x-for="[album, pictures] in Object.entries(albums)" x-cloak>
|
||||
<section>
|
||||
|
@ -65,7 +65,7 @@
|
||||
{% endif %}
|
||||
|
||||
<div x-data="user_pictures">
|
||||
{{ download_button() }}
|
||||
{{ download_button() }}
|
||||
</div>
|
||||
|
||||
<div x-data="pictures">
|
||||
|
Loading…
x
Reference in New Issue
Block a user