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