mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 22:48:03 +01:00
Rework tables display
This commit is contained in:
parent
8e4ec595e1
commit
4564e71d7d
1 changed files with 45 additions and 45 deletions
|
@ -17,49 +17,6 @@
|
||||||
{{ character.get_gender_display }}, {{ character.age }} ans, {{ character.height_m }}m, {{ character.weight }}kg (IMC: {{ character.imc|floatformat }})
|
{{ character.get_gender_display }}, {{ character.age }} ans, {{ character.height_m }}m, {{ character.weight }}kg (IMC: {{ character.imc|floatformat }})
|
||||||
</p>
|
</p>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 col-md-6 col-lg-6 col-xl">
|
|
||||||
<table class="table table-hover table-sm">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th scope="col">Carac</th>
|
|
||||||
<th scope="col">Valeur</th>
|
|
||||||
<th scope="col">Mod.</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody class="table-group-divider">
|
|
||||||
<tr>
|
|
||||||
<th scope="row">FOR</th>
|
|
||||||
<td>{{ character.value_strength }}</td>
|
|
||||||
<td>{{ character.modifier_strength|modifier }}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">DEX</th>
|
|
||||||
<td>{{ character.value_dexterity }}</td>
|
|
||||||
<td>{{ character.modifier_dexterity|modifier }}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">CON</th>
|
|
||||||
<td>{{ character.value_constitution }}</td>
|
|
||||||
<td>{{ character.modifier_constitution|modifier }}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">INT</th>
|
|
||||||
<td>{{ character.value_intelligence }}</td>
|
|
||||||
<td>{{ character.modifier_intelligence|modifier }}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">SAG</th>
|
|
||||||
<td>{{ character.value_wisdom }}</td>
|
|
||||||
<td>{{ character.modifier_wisdom|modifier }}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">CHA</th>
|
|
||||||
<td>{{ character.value_charisma }}</td>
|
|
||||||
<td>{{ character.modifier_charisma|modifier }}</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-12 col-md-6 col-lg-6 col-xl">
|
<div class="col-sm-12 col-md-6 col-lg-6 col-xl">
|
||||||
<table id="fight-table" class="table table-hover table-sm">
|
<table id="fight-table" class="table table-hover table-sm">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -250,7 +207,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-12 col-lg-6 col-xl">
|
<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>
|
||||||
|
@ -397,7 +354,50 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col-md-4">
|
||||||
|
<table class="table table-hover table-sm">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th scope="col">Carac</th>
|
||||||
|
<th scope="col">Valeur</th>
|
||||||
|
<th scope="col">Mod.</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody class="table-group-divider">
|
||||||
|
<tr>
|
||||||
|
<th scope="row">FOR</th>
|
||||||
|
<td>{{ character.value_strength }}</td>
|
||||||
|
<td>{{ character.modifier_strength|modifier }}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">DEX</th>
|
||||||
|
<td>{{ character.value_dexterity }}</td>
|
||||||
|
<td>{{ character.modifier_dexterity|modifier }}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">CON</th>
|
||||||
|
<td>{{ character.value_constitution }}</td>
|
||||||
|
<td>{{ character.modifier_constitution|modifier }}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">INT</th>
|
||||||
|
<td>{{ character.value_intelligence }}</td>
|
||||||
|
<td>{{ character.modifier_intelligence|modifier }}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">SAG</th>
|
||||||
|
<td>{{ character.value_wisdom }}</td>
|
||||||
|
<td>{{ character.modifier_wisdom|modifier }}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">CHA</th>
|
||||||
|
<td>{{ character.value_charisma }}</td>
|
||||||
|
<td>{{ character.modifier_charisma|modifier }}</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-8">
|
||||||
<table class="table table-hover table-sm">
|
<table class="table table-hover table-sm">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in a new issue