mirror of
https://github.com/ae-utbm/sith.git
synced 2025-02-25 17:07:13 +00:00
Improve download user album button
This commit is contained in:
parent
a87016a23f
commit
2918048b16
@ -272,9 +272,12 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
i {
|
&:not(.btn-no-text) {
|
||||||
margin-right: 4px;
|
i {
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
<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 {% if name == "" %}btn-no-text{% endif %}"
|
||||||
@click="downloadZip()"
|
@click="downloadZip()"
|
||||||
>
|
>
|
||||||
<i class="fa fa-download"></i>{{ name }}
|
<i class="fa fa-download"></i>{{ name }}
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<h4 x-text="album"></h4>
|
<h4 x-text="album"></h4>
|
||||||
{% if user.id == object.id %}
|
{% if user.id == object.id %}
|
||||||
{{ download_button("") }}
|
{{ download_button("") }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="photos">
|
<div class="photos">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user