2025-01-11 07:36:33 +01:00
|
|
|
<template>
|
2025-08-08 08:44:39 +02:00
|
|
|
<div class="fullwidth-container cd-view">
|
2025-01-11 23:10:48 +01:00
|
|
|
<h2>{{ character.name }}'s Ausrüstung</h2>
|
2025-01-18 20:59:35 +01:00
|
|
|
<div class="cd-list">
|
|
|
|
|
<table class="cd-table">
|
2025-01-11 23:10:48 +01:00
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>{{ $t('equipment.name') }}</th>
|
|
|
|
|
<th>{{ $t('equipment.description') }}</th>
|
|
|
|
|
<th>{{ $t('equipment.weight') }}</th>
|
|
|
|
|
<th>{{ $t('equipment.value') }}</th>
|
|
|
|
|
<th>{{ $t('equipment.amount') }}</th>
|
|
|
|
|
<th>{{ $t('equipment.contained_in') }}</th>
|
|
|
|
|
<th>{{ $t('equipment.bonus') }}</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<template v-for="equipment in character.ausruestung">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{{ equipment.name || '-' }}</td>
|
|
|
|
|
<td>{{ equipment.beschreibung || '-' }}</td>
|
|
|
|
|
<td>{{ equipment.gewicht || '-' }}</td>
|
|
|
|
|
<td>{{ equipment.wert || '-' }}</td>
|
|
|
|
|
<td>{{ equipment.anzahl || '-' }}</td>
|
|
|
|
|
<td>{{ equipment.beinhaltet_in || '-' }}</td>
|
|
|
|
|
<td>{{ equipment.bonus || '-' }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2025-01-18 20:59:35 +01:00
|
|
|
</div> <!--- end cd-list-->
|
2025-01-11 07:36:33 +01:00
|
|
|
</div> <!--- end character -datasheet-->
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
2025-01-18 20:59:35 +01:00
|
|
|
<style>
|
2025-01-11 07:36:33 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
name: "EquipmentView",
|
|
|
|
|
props: {
|
|
|
|
|
character: {
|
|
|
|
|
type: Object,
|
|
|
|
|
required: true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
</script>
|