show base station

This commit is contained in:
pypy
2020-01-13 01:47:13 +09:00
parent 88e7b6531d
commit 92ac7fc7e6
2 changed files with 11 additions and 1 deletions

View File

@@ -105,6 +105,11 @@
<img v-else-if="device[2] < 20" src="images/controller_status_ready_low.png" style="width:32px;height:32px">
<img v-else src="images/controller_status_ready.png" style="width:32px;height:32px">
</template>
<template v-else-if="device[0] === 'base'">
<img v-if="device[1] !== 'connected'" src="images/base_status_off.png" style="width:32px;height:32px">
<img v-else-if="device[2] < 20" src="images/base_status_ready_low.png" style="width:32px;height:32px">
<img v-else src="images/base_status_ready.png" style="width:32px;height:32px">
</template>
<template v-else>
<img v-if="device[1] !== 'connected'" src="images/other_status_off.png" style="width:32px;height:32px">
<img v-else-if="device[2] < 20" src="images/other_status_ready_low.png" style="width:32px;height:32px">