Added icons
This commit is contained in:
parent
94773e52bf
commit
093c7f3a7e
|
@ -36,8 +36,29 @@
|
||||||
{{ user.displayName }}
|
{{ user.displayName }}
|
||||||
</div>
|
</div>
|
||||||
<template #actions>
|
<template #actions>
|
||||||
{{ user.wifiDevices.length }}
|
<v-badge
|
||||||
{{ user.wifiDevices.length > 1 ? 'dispositivos' : 'disposivo' }}
|
color="green"
|
||||||
|
bottom
|
||||||
|
:content="
|
||||||
|
user.wifiDevices
|
||||||
|
.filter(wifiDevice => wifiDevice.status === 'ONLINE')
|
||||||
|
.length.toString()
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<v-icon color="green">mdi-cellphone-wireless</v-icon>
|
||||||
|
</v-badge>
|
||||||
|
<v-badge
|
||||||
|
class="mx-4"
|
||||||
|
color="grey"
|
||||||
|
bottom
|
||||||
|
:content="
|
||||||
|
user.wifiDevices
|
||||||
|
.filter(wifiDevice => wifiDevice.status === 'OFFLINE')
|
||||||
|
.length.toString()
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<v-icon color="grey">mdi-cellphone-wireless</v-icon>
|
||||||
|
</v-badge>
|
||||||
</template>
|
</template>
|
||||||
</v-expansion-panel-header>
|
</v-expansion-panel-header>
|
||||||
<v-expansion-panel-content>
|
<v-expansion-panel-content>
|
||||||
|
@ -94,6 +115,7 @@ export default {
|
||||||
hostname
|
hostname
|
||||||
firstSeen
|
firstSeen
|
||||||
lastSeen
|
lastSeen
|
||||||
|
status
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user