mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 14:38:03 +01:00
Remove wrong HTML ids
This commit is contained in:
parent
9f2cd849bd
commit
fab2e38b3f
3 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue