diff --git a/src/frontend/templates/characters/view_character.html.tera b/src/frontend/templates/characters/view_character.html.tera index 3d64c55..03de3db 100644 --- a/src/frontend/templates/characters/view_character.html.tera +++ b/src/frontend/templates/characters/view_character.html.tera @@ -33,8 +33,9 @@ margin: 0; } - .basics-entry input { - display: inline; + .basics-entry span { + width: 15em; + overflow: hidden; padding: 8px; border: none; background-color: lightgray; @@ -164,65 +165,101 @@ } -

Core Sheet

-

Character {{name}}

-

User: {{username}}

-

System: {{data_type}} +

+

+ {{name}} +

+ + + +

Basics

+
System: {{data_type}}
+ +
+
+
+ + {{sheet.gender}} +
+ +
+ + {{sheet.age}} +
+
+ +
+
+ + {{sheet.concept}} +
+ +
+ + {{sheet.chronicle}} +
+
+
+
+ + +
+

Attributes

+
+
+ {{ macros::attribute(name="Intelligence", value=sheet.intelligence) }} + {{ macros::attribute(name="Wits", value=sheet.wits) }} + {{ macros::attribute(name="Resolve", value=sheet.resolve) }} +
+ +
+ {{ macros::attribute(name="Strength", value=sheet.strength) }} + {{ macros::attribute(name="Dexterity", value=sheet.dexterity) }} + {{ macros::attribute(name="Stamina", value=sheet.stamina) }} +
+ +
+ {{ macros::attribute(name="Presence", value=sheet.presence) }} + {{ macros::attribute(name="Manipulation", value=sheet.manipulation) }} + {{ macros::attribute(name="Composure", value=sheet.composure) }} +
+
+
+ +
+

Skills

+
+
+ {% for skill_name, skill in sheet.mentalSkills %} + {{ macros::skill(name=skill_name, value=skill.dots) }} + {% endfor %} +
+ +
+ {% for skill_name, skill in sheet.physicalSkills %} + {{ macros::skill(name=skill_name, value=skill.dots) }} + {% endfor %} +
+ +
+ {% for skill_name, skill in sheet.socialSkills %} + {{ macros::skill(name=skill_name, value=skill.dots) }} + {% endfor %} +
+
+
+ +
+

Merits

+
+ {% for merit in sheet.merits %} + {{ macros::merit(name=merit.name, value=merit.dots) }} + {% endfor %} +
+
- -
-

Core Sheet

-
-

Name:

-

System: {{data_type}}

-
-
-
- {{ macros::attribute(name="Intelligence", value=sheet.intelligence) }} - {{ macros::attribute(name="Wits", value=sheet.wits) }} - {{ macros::attribute(name="Resolve", value=sheet.resolve) }} -
- -
- {{ macros::attribute(name="Strength", value=sheet.strength) }} - {{ macros::attribute(name="Dexterity", value=sheet.dexterity) }} - {{ macros::attribute(name="Stamina", value=sheet.stamina) }} -
- -
- {{ macros::attribute(name="Presence", value=sheet.presence) }} - {{ macros::attribute(name="Manipulation", value=sheet.manipulation) }} - {{ macros::attribute(name="Composure", value=sheet.composure) }} -
-
-
- -
-

Skills

-
-
- {% for skill_name, skill in sheet.mentalSkills %} - {{ macros::skill(name=skill_name, value=skill.dots) }} - {% endfor %} -
- -
- {% for skill_name, skill in sheet.physicalSkills %} - {{ macros::skill(name=skill_name, value=skill.dots) }} - {% endfor %} -
- -
- {% for skill_name, skill in sheet.socialSkills %} - {{ macros::skill(name=skill_name, value=skill.dots) }} - {% endfor %} -
-
-
-
- -
- Edit Character -
{% endblock content %} diff --git a/src/frontend/templates/characters/view_character_macros.html.tera b/src/frontend/templates/characters/view_character_macros.html.tera index 5101aee..1b1e8a3 100644 --- a/src/frontend/templates/characters/view_character_macros.html.tera +++ b/src/frontend/templates/characters/view_character_macros.html.tera @@ -11,3 +11,10 @@ {{value}}
{% endmacro skill %} + +{% macro merit(name, value) %} +
+ {{name}} + {{value}} Dots +
+{% endmacro merit %}