mirror of
https://github.com/ae-utbm/sith.git
synced 2025-02-26 09:27:09 +00:00
fix indenting
This commit is contained in:
parent
8cb53ceba2
commit
86c68eeb32
@ -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 %}
|
||||||
|
@ -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>
|
||||||
|
@ -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">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user