From eb3c54c54b4f852187bd043060f3b955fff1f60a Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 30 Oct 2022 22:35:06 +0100 Subject: [PATCH] Improve button controls --- src/character/templates/character/view.html | 122 ++++++++++---------- 1 file changed, 59 insertions(+), 63 deletions(-) diff --git a/src/character/templates/character/view.html b/src/character/templates/character/view.html index bb63781..c6a2630 100644 --- a/src/character/templates/character/view.html +++ b/src/character/templates/character/view.html @@ -68,7 +68,7 @@ Initiative {{ character.initiative }} @@ -76,7 +76,7 @@ Att. contact {{ character.attack_melee|modifier }} @@ -84,7 +84,7 @@ Att. distance {{ character.attack_range|modifier }} @@ -92,7 +92,7 @@ Att. magique {{ character.attack_magic|modifier }} @@ -100,7 +100,7 @@ Défense {{ character.defense }} @@ -114,144 +114,140 @@ Énergie - - PV max - {{ character.health_max }} - - PV restants -
+ PV +
+ class="btn btn-outline-danger"> + class="btn btn-danger"> + class="btn btn-success"> + class="btn btn-outline-success">
- {{ character.health_remaining }} - - - PM max - - {{ character.mana_max }} - + {{ character.health_remaining }} / {{ character.health_max }} - PM restants -
+ PM +
+ class="btn btn-outline-danger"> + class="btn btn-danger"> + class="btn btn-success"> + class="btn btn-outline-success">
- {{ character.mana_remaining }} + + {{ character.mana_remaining }} / {{ character.mana_max }} + - PR max - {{ character.recovery_points_max }} - - - - PR restants -
+ + PR +
+ + class="btn btn-danger"> + class="btn btn-success"> +
- {{ character.recovery_points_remaining }} + + {{ character.recovery_points_remaining }} / {{ character.recovery_points_max }} - PC max - {{ character.luck_points_max }} - - - - PC restants -
+ + PC +
+ + class="btn btn-danger"> + class="btn btn-success"> + class="btn btn-outline-success">
- {{ character.luck_points_remaining }} + + {{ character.luck_points_remaining }} / {{ character.luck_points_max }} +