Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bmesuere committed Jul 28, 2023
1 parent b676684 commit 7e1f59d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 22 deletions.
1 change: 1 addition & 0 deletions dashboard/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@
</style>

<script setup lang="ts">
const version = '1.3.0';
</script>
6 changes: 2 additions & 4 deletions dashboard/src/components/GraphCard.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<template>
<v-card :loading="loading" v-show="hasData">
<v-list-item lines="two">
<v-list-item-content>
<v-list-item-title class="mb-0">{{ weatherProperty.name }}</v-list-item-title>
<v-list-item-subtitle>{{ weatherProperty.unit }}</v-list-item-subtitle>
</v-list-item-content>
<v-list-item-title class="mb-0">{{ weatherProperty.name }}</v-list-item-title>
<v-list-item-subtitle>{{ weatherProperty.unit }}</v-list-item-subtitle>
</v-list-item>
<div :id="consolidatedGraphId" class="mt-n3">
</div>
Expand Down
34 changes: 16 additions & 18 deletions dashboard/src/components/TooltipCard.vue
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
<template>
<v-card elevation=10>
<v-list-item lines="two">
<v-list-item-content class="pb-0">
<div class="text-overline" style="line-height: 1rem; font-size: 0.625rem !important;">
{{ station.name }}
<span v-if="measurements['status'] == 'Offline'"> &middot; offline</span>
</div>
<v-list-item-title class="mb-1">{{ station.city }} &middot; {{ station.given_name }}</v-list-item-title>
<v-list-item-subtitle style="white-space: nowrap; text-overflow: ellipsis; display: block;">
<span v-if="station.sponsor !== ''" title="sponsor">
<v-icon size="small" icon="mdi-heart-outline"></v-icon>
{{ station.sponsor }}
&middot;
</span>
<span title="school">
<v-icon size="small" icon="mdi-school-outline"></v-icon>
{{ station.school }}
</span>
</v-list-item-subtitle>
</v-list-item-content>
<div class="text-overline" style="line-height: 1rem; font-size: 0.625rem !important;">
{{ station.name }}
<span v-if="measurements['status'] == 'Offline'"> &middot; offline</span>
</div>
<v-list-item-title class="mb-1">{{ station.city }} &middot; {{ station.given_name }}</v-list-item-title>
<v-list-item-subtitle style="white-space: nowrap; text-overflow: ellipsis; display: block;">
<span v-if="station.sponsor !== ''" title="sponsor">
<v-icon size="small" icon="mdi-heart-outline"></v-icon>
{{ station.sponsor }}
&middot;
</span>
<span title="school">
<v-icon size="small" icon="mdi-school-outline"></v-icon>
{{ station.school }}
</span>
</v-list-item-subtitle>
</v-list-item>

<v-list density="compact" class="mb-3">
Expand Down

0 comments on commit 7e1f59d

Please sign in to comment.