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,11 +272,14 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.btn-no-text) {
|
||||
i {
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* A spacer below an element. Somewhat cleaner than putting <br/> everywhere.
|
||||
*/
|
||||
|
@ -53,7 +53,7 @@
|
||||
<div x-show="pictures.length > 0" x-cloak>
|
||||
<button
|
||||
:disabled="isDownloading"
|
||||
class="btn btn-blue"
|
||||
class="btn btn-blue {% if name == "" %}btn-no-text{% endif %}"
|
||||
@click="downloadZip()"
|
||||
>
|
||||
<i class="fa fa-download"></i>{{ name }}
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="row">
|
||||
<h4 x-text="album"></h4>
|
||||
{% if user.id == object.id %}
|
||||
{{ download_button("") }}
|
||||
{{ download_button("") }}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="photos">
|
||||
|
Loading…
x
Reference in New Issue
Block a user