Alisa/web/src/components/ListViewElement.vue

68 lines
1.3 KiB
Vue
Raw Normal View History

<template>
<v-sheet
2024-07-09 13:07:33 +02:00
elevation="4"
width="93vw"
rounded="lg"
>
2024-07-08 14:44:50 +02:00
<div class="values ml-2 py-3">
<div class="mr-3">
{{ props.licenseName }}
</div>
<div class="mr-3">
<span style="display: flex;">
2024-07-09 13:07:33 +02:00
<KeyRound class="transform mr-1"/>
{{ props.licenseKey }}
2024-07-08 14:44:50 +02:00
</span>
</div>
<div class="mr-3">
<span style="display: flex;">
<Check class="mr-1"/>
2024-07-09 13:07:33 +02:00
{{ props.startDate }}
2024-07-08 14:44:50 +02:00
</span>
</div>
<div class="mr-3">
<span style="display: flex;">
<Skull class="mr-1"/>
2024-07-09 13:07:33 +02:00
{{ props.endDate }}
2024-07-08 14:44:50 +02:00
</span>
</div>
<div class="mr-3">
<span style="display: flex;">
<img src="../assets/doublekey.svg" alt="logo" class="logo mr-1" width="24" />
2024-07-09 13:07:33 +02:00
{{ props.amount }}
2024-07-08 14:44:50 +02:00
</span>
</div>
</div>
</v-sheet>
</template>
<script setup lang="ts">
2024-07-08 14:44:50 +02:00
import { KeyRound } from 'lucide-vue-next';
import { Check } from 'lucide-vue-next';
import { Skull } from 'lucide-vue-next';
const props = defineProps({
licenseName: String,
licenseKey: String,
startDate: String,
endDate: String,
amount: Number,
notes: String,
})
</script>
<style scoped>
2024-07-08 14:44:50 +02:00
.values {
display: flex;
align-items: center;
}
2024-07-08 14:44:50 +02:00
transform {
transform: scale(0.85);
transform-origin: left;
}
</style>