mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
initial commit
This commit is contained in:
parent
e7a6126fbd
commit
4b0dff4102
40 changed files with 13635 additions and 0 deletions
26
webclientvue/src/components/BuddyList.vue
Normal file
26
webclientvue/src/components/BuddyList.vue
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<template>
|
||||
<q-item clickable tag="a" target="_blank" :href="link">
|
||||
<q-item-section avatar>
|
||||
<q-icon name="people" color="purple" />
|
||||
</q-item-section>
|
||||
|
||||
<q-item-section>
|
||||
<q-item-label>{{ name }}</q-item-label>
|
||||
<q-item-label caption class="justify-start items-start row text-justify"
|
||||
><q-icon name="circle" class="q-pr-sm" :color="online ? 'green' : 'grey'" />{{
|
||||
online ? 'Online' : 'Offline'
|
||||
}}</q-item-label
|
||||
>
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-separator />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
export interface BuddyListProps {
|
||||
name: string;
|
||||
link: string;
|
||||
online: boolean;
|
||||
}
|
||||
withDefaults(defineProps<BuddyListProps>(), {});
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue