Remove wrong HTML ids

This commit is contained in:
Gabriel Augendre 2023-01-18 21:12:02 +01:00
parent 9f2cd849bd
commit fab2e38b3f
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{% load character_extras %}
<div class="progress" id="health-bar"
<div class="progress"
{% if character|managed_by:user %}
hx-get="{% url "character:get_health_bar" pk=character.pk %}"
hx-trigger="refresh_health_bar from:body"

View file

@ -1,5 +1,5 @@
{% load character_extras %}
<div class="progress" id="mana-bar"
<div class="progress"
{% if character|managed_by:user %}
hx-get="{% url "character:get_mana_bar" pk=character.pk %}"
hx-trigger="refresh_mana_bar from:body"

View file

@ -26,7 +26,7 @@
{% if rounds == 0 %}
Terminé !
{% else %}
<div class="progress" id="health-bar">
<div class="progress">
<div class="progress-bar {% if effect.remaining_percent >= 60 %}bg-success{% elif effect.remaining_percent >= 30 %}bg-warning{% else %}bg-danger{% endif %}"
style="width: {{ effect.remaining_percent|floatformat:"0" }}%">
{% if rounds == -1 %}