From 10764aaf98fd418a9a39bb2f0ee1ea0d66859563 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 1 Nov 2022 11:35:26 +0100 Subject: [PATCH] Display capabilities and paths as accordions to reduce clutter --- .../templates/character/capability.html | 25 ++++++++++++------- src/character/templates/character/path.html | 4 +-- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/character/templates/character/capability.html b/src/character/templates/character/capability.html index 47923ab..cbbfd0f 100644 --- a/src/character/templates/character/capability.html +++ b/src/character/templates/character/capability.html @@ -1,9 +1,16 @@ -
  • - - {{ capability.rank }}. - {{ capability.name }} - {% if capability.spell %}{% endif %} - {% if capability.limited %}{% endif %} -
    - {{ capability.description }} -
  • +
    +

    + +

    +
    +
    + {{ capability.description }} +
    +
    +
    diff --git a/src/character/templates/character/path.html b/src/character/templates/character/path.html index 99cf0d2..1316af1 100644 --- a/src/character/templates/character/path.html +++ b/src/character/templates/character/path.html @@ -23,10 +23,10 @@ {% if path.notes %}
    {{ path.notes }}
    {% endif %} - +