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