From 1479a4fe53bb085971de12398e128abcc35a8a23 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 30 Oct 2022 23:46:51 +0100 Subject: [PATCH] Align equipment update with damage reduction --- .../character/equipment_display.html | 35 ++++++++++++------- .../templates/character/equipment_update.html | 35 ++++++++++++------- src/character/templates/character/view.html | 13 +------ 3 files changed, 47 insertions(+), 36 deletions(-) diff --git a/src/character/templates/character/equipment_display.html b/src/character/templates/character/equipment_display.html index 1f7e6fd..fa4b71a 100644 --- a/src/character/templates/character/equipment_display.html +++ b/src/character/templates/character/equipment_display.html @@ -1,12 +1,23 @@ -

- - Edit - -

-

- {{ character.equipment|linebreaksbr|default:"Rien ici..." }} -

+
+
+ Équipement + + Edit + +
+
+

+ {{ character.equipment|linebreaksbr|default:"Rien ici..." }} +

+
+ +
diff --git a/src/character/templates/character/equipment_update.html b/src/character/templates/character/equipment_update.html index 31ab5aa..6b56966 100644 --- a/src/character/templates/character/equipment_update.html +++ b/src/character/templates/character/equipment_update.html @@ -1,13 +1,24 @@ -
-

- - Save - -

- {% csrf_token %} - + +
+
+ Équipement + + Save + +
+
+ {% csrf_token %} + +
+ +
diff --git a/src/character/templates/character/view.html b/src/character/templates/character/view.html index 2adb167..94c3e00 100644 --- a/src/character/templates/character/view.html +++ b/src/character/templates/character/view.html @@ -329,18 +329,7 @@ {% include "character/damage_reduction_display.html" %}
-
-
Équipement
-
- {% include "character/equipment_display.html" %} -
- -
+ {% include "character/equipment_display.html" %}

Voies & Capacités