add debugbar & change link

This commit is contained in:
Romulus21
2021-02-14 12:20:35 +01:00
parent 07eeecd4f2
commit 7d4687ba81
7 changed files with 230 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ export default {
{ name: 'MotionEye', link: 'http://192.168.1.32:8765'},
{ name: 'TT-RSS', link: 'https://tt-rss.bricooli.fr'},
{ name: 'Datus', link: 'https://192.168.1.24:5001'},
{ name: 'Pi-Hole', link: 'http://192.168.1.32/admin/index.php'},
{ name: 'Pi-Hole', link: 'http://192.168.1.38:8089/admin/index.php'},
{ name: 'RaspAp', link: 'http://192.168.1.32/raspap'},
{ name: 'Kodi', link: 'http://192.168.1.19:8080/'},
{ name: 'RaspiWeb Adminer', link: 'http://192.168.1.32/adminer.php'},

View File

@@ -9,10 +9,10 @@
<span class="tinline-block bg-gray-400 text-white text-center rounded-full px-3 py-1 text-sm font-semibold">{{ dateIt(captor.date_meteo) }}</span>
</div>
<div class="flex flex-no-wrap text-sm -m-1">
<span v-if="captor.temperature" class="mx-1 w-1/4">{{ floated(captor.temperature) }} <span class="font-semibold text-xs">°C</span></span>
<span v-if="captor.humidite" class="mx-1 w-1/4">{{ floated(captor.humidite) }} <span class="font-semibold text-xs">%</span></span>
<span v-if="captor.pression" class="mx-1 w-1/4">{{ floated(captor.pression) }} <span class="font-semibold text-xs">hPa</span></span>
<span v-if="captor.lumiere" class="mx-1 w-1/4">{{ captor.lumiere }}</span>
<span v-if="captor.temperature" class="px-1 w-1/4">{{ floated(captor.temperature) }} <span class="font-semibold text-xs">°C</span></span>
<span v-if="captor.humidite" class="px-1 w-1/4">{{ floated(captor.humidite) }} <span class="font-semibold text-xs">%</span></span>
<span v-if="captor.pression" class="px-1 w-1/4">{{ floated(captor.pression) }} <span class="font-semibold text-xs">hPa</span></span>
<span v-if="captor.lumiere" class="px-1 w-1/4">{{ captor.lumiere }}</span>
</div>
</li>
</ul>