Files
bamort/frontend/src/components/EquipmentView.vue
T

50 lines
1.2 KiB
Vue
Raw Normal View History

<template>
2025-08-08 09:22:42 +02:00
<div class="fullwidth-container">
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-->
</div> <!--- end character -datasheet-->
</template>
2025-01-18 20:59:35 +01:00
<style>
</style>
<script>
export default {
name: "EquipmentView",
props: {
character: {
type: Object,
required: true
}
}
};
</script>