This commit is contained in:
Gabriel Augendre 2022-10-30 23:11:59 +01:00
parent 414de4ad03
commit 9969644129

View file

@ -16,7 +16,7 @@
{{ character.get_gender_display }}, {{ character.age }} ans, {{ character.height_m }}m, {{ character.weight }}kg (IMC: {{ character.imc }})
</p>
<div class="row">
<div class="col-sm-6 col-md">
<div class="col-sm-6 col-lg-6 col-xl">
<table class="table table-hover table-sm">
<thead>
<tr>
@ -59,7 +59,7 @@
</tbody>
</table>
</div>
<div class="col-sm-6 col-md">
<div class="col-sm-6 col-lg-6 col-xl">
<table class="table table-hover table-sm">
<thead>
<tr><th scope="col" colspan="2">Combat</th></tr>
@ -108,7 +108,7 @@
</tbody>
</table>
</div>
<div class="col-sm-6 col-md">
<div class="col-sm-12 col-md-8 col-lg-6 col-xl">
<table class="table table-hover table-sm">
<thead>
<tr><th scope="col" colspan="2">Énergie</th></tr>
@ -116,7 +116,7 @@
<tbody class="table-group-divider">
<tr>
<th scope="row">
PV
Points de vie
<div class="btn-group btn-group-sm float-end" role="group">
<button
hx-get="{% url "character:health_change" pk=character.pk %}?value=ko"
@ -148,7 +148,7 @@
</tr>
<tr>
<th scope="row">
PM
Points de mana
<div class="btn-group btn-group-sm float-end" role="group">
<button
hx-get="{% url "character:mana_change" pk=character.pk %}?value=ko"
@ -182,12 +182,14 @@
data-bs-title="{{ character.level }} (niveau) + {{ character.modifier_magic }} (mod. {{ character.profile.magical_strength }})"
{% elif character.profile.mana_max_compute == 2 %}
data-bs-title="2 x {{ character.level }} (niveau) + {{ character.modifier_magic }} (mod. {{ character.profile.magical_strength }})"
{% endif %}>
{% endif %}
>
<span id="mana-remaining">{{ character.mana_remaining }}</span> / {{ character.mana_max }}
</td>
</tr>
<tr>
<th scope="row">
PR
Points de récup.
<div class="btn-group btn-group-sm float-end" role="group">
<button
type="button"
@ -213,9 +215,10 @@
</th>
<td>
<span id="recovery-points-remaining">{{ character.recovery_points_remaining }}</span> / {{ character.recovery_points_max }}</td>
</tr>
<tr>
<th scope="row">
PC
Points de chance
<div class="btn-group btn-group-sm float-end" role="group">
<button
type="button"