Separated tool, weapon, armor, and language proficiencies into separate cards

This commit is contained in:
Thaum Rystra
2020-05-15 16:43:37 +02:00
parent 2d788f0c07
commit 79e03e0e63

View File

@@ -150,12 +150,12 @@
</div>
<div
v-if="weapons.length || tools.length || languages.length"
class="proficiencies"
v-if="weapons.length"
class="weapon-proficiencies"
>
<v-card>
<v-list>
<v-subheader v-if="weapons.length">
<v-subheader>
Weapons
</v-subheader>
<skill-list-tile
@@ -166,7 +166,16 @@
:data-id="weapon._id"
@click="clickProperty({_id: weapon._id})"
/>
<v-subheader v-if="armors.length">
</v-list>
</v-card>
</div>
<div
v-if="armors.length"
class="weapon-proficiencies"
>
<v-card>
<v-list>
<v-subheader>
Armor
</v-subheader>
<skill-list-tile
@@ -177,7 +186,16 @@
:data-id="armor._id"
@click="clickProperty({_id: armor._id})"
/>
<v-subheader v-if="tools.length">
</v-list>
</v-card>
</div>
<div
v-if="tools.length"
class="weapon-proficiencies"
>
<v-card>
<v-list>
<v-subheader>
Tools
</v-subheader>
<skill-list-tile
@@ -188,6 +206,15 @@
:data-id="tool._id"
@click="clickProperty({_id: tool._id})"
/>
</v-list>
</v-card>
</div>
<div
v-if="languages.length"
class="language-proficiencies"
>
<v-card>
<v-list>
<v-subheader v-if="languages.length">
Languages
</v-subheader>