Skip to content

Commit

Permalink
fix: spinners
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Sep 30, 2024
1 parent 04fe158 commit 43da41c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,27 @@
class="btn btn-outline-secondary mr-1"
href="{% url 'uni_ticket:manage_unassigned_ticket_url' structure_slug=structure.slug %}">
<span class="badge badge-light" v-if="unassigned != null">[[ unassigned ]]</span>
<div class="progress progress-indeterminate progress-color" v-else>
<div class="spinner-border spinner-border-sm" role="status" v-else>
<span class="sr-only">In elaborazione...</span>
<div class="progress-bar bg-info" role="progressbar"></div>
</div>
{% trans 'Aperte' %}
</a>
<a role="button" class="btn btn-outline-secondary mr-1" href="{% url 'uni_ticket:manage_opened_ticket_url' structure_slug=structure.slug %}">
<span class="badge badge-light" v-if="open != null">
[[ open ]]
</span>
<div class="progress progress-indeterminate progress-color" v-else>
<span class="sr-only">In elaborazione...</span>
<div class="progress-bar bg-info" role="progressbar"></div>
</div> {% trans 'Assegnate' %}
<div class="spinner-border spinner-border-sm" role="status" v-else>
<span class="sr-only">Loading...</span>
</div>
{% trans 'Assegnate' %}
<span class="badge badge-light" v-if="my_open != null">([[ my_open ]] {% trans 'a me' %})</span>
</a>
<a role="button" class="btn btn-outline-secondary mr-1" href="{% url 'uni_ticket:manage_closed_ticket_url' structure_slug=structure.slug %}">
{% trans 'Chiuse' %}
</a>
<a role="button" class="btn btn-outline-secondary" href="{% url 'uni_ticket:manager_messages' structure_slug=structure.slug %}">
<div class="progress progress-indeterminate progress-color" v-if="new_messages == null">
<div class="spinner-border spinner-border-sm" role="status" v-if="new_messages == null">
<span class="sr-only">In elaborazione...</span>
<div class="progress-bar bg-info" role="progressbar"></div>
</div>
<svg class="icon icon-xs">
<use xlink:href="{% static 'svg/sprite.svg' %}#it-comment"></use>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,27 @@
class="btn btn-outline-secondary mr-1"
href="{% url 'uni_ticket:manage_unassigned_ticket_url' structure_slug=structure.slug %}">
<span class="badge badge-light" v-if="unassigned != null">[[ unassigned ]]</span>
<div class="progress progress-indeterminate progress-color" v-else>
<div class="spinner-border spinner-border-sm" role="status" v-else>
<span class="sr-only">In elaborazione...</span>
<div class="progress-bar bg-info" role="progressbar"></div>
</div>
{% trans 'Aperte' %}
</a>
<a role="button" class="btn btn-outline-secondary mr-1" href="{% url 'uni_ticket:manage_opened_ticket_url' structure_slug=structure.slug %}">
<span class="badge badge-light" v-if="open != null">
[[ open ]]
</span>
<div class="progress progress-indeterminate progress-color" v-else>
<div class="spinner-border spinner-border-sm" role="status" v-else>
<span class="sr-only">In elaborazione...</span>
<div class="progress-bar bg-info" role="progressbar"></div>
</div> {% trans 'Assegnate' %}
</div>
{% trans 'Assegnate' %}
<span class="badge badge-light" v-if="my_open != null">([[ my_open ]] {% trans 'a me' %})</span>
</a>
<a role="button" class="btn btn-outline-secondary mr-1" href="{% url 'uni_ticket:manage_closed_ticket_url' structure_slug=structure.slug %}">
{% trans 'Chiuse' %}
</a>
<a role="button" class="btn btn-outline-secondary" href="{% url 'uni_ticket:operator_messages' structure_slug=structure.slug %}">
<div class="progress progress-indeterminate progress-color" v-if="new_messages == null">
<div class="spinner-border spinner-border-sm" role="status" v-if="new_messages == null">
<span class="sr-only">In elaborazione...</span>
<div class="progress-bar bg-info" role="progressbar"></div>
</div>
<svg class="icon icon-xs">
<use xlink:href="{% static 'svg/sprite.svg' %}#it-comment"></use>
Expand Down

0 comments on commit 43da41c

Please sign in to comment.