more cleanup

This commit is contained in:
Will Freeman
2024-12-27 15:13:30 -07:00
parent 47f5696403
commit 75e12f43a4
5 changed files with 147 additions and 83 deletions
+4
View File
@@ -46,6 +46,10 @@ code {
overflow-x: scroll;
}
code {
white-space: nowrap;
}
.copy-button {
position: absolute;
right: 0;
+3 -9
View File
@@ -14,6 +14,8 @@
hide-details
></v-select>
<v-img
:aspect-ratio="3/2"
cover
v-if="selectedBrand"
:src="selectedBrand.exampleImage"
:alt="selectedBrand.nickname"
@@ -40,15 +42,6 @@
operator=<span class="highlight">(Police Dept/Owner)</span><br>
operator:wikidata=<span class="highlight">(WikiData ID)</span><br>
</DFCode>
<v-alert
v-if="selectedBrand.nickname === 'Other'"
class="mt-4"
variant="tonal"
type="info"
>
Please provide additional details about the ALPR.
</v-alert>
</v-col>
</v-row>
</template>
@@ -87,6 +80,7 @@ const alprBrands: WikidataItem[] = [
name: '(brand goes here)',
nickname: 'Other',
wikidata: '(wikidata goes here)',
exampleImage: '/other-1.jpeg',
}
];
const selectedBrand: Ref<WikidataItem> = ref(alprBrands[0]);