mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 14:38:03 +01:00
Fix HTML
This commit is contained in:
parent
414de4ad03
commit
9969644129
1 changed files with 152 additions and 149 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue