mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-07-16 00:37:21 +02:00
136 lines
3.9 KiB
Vue
136 lines
3.9 KiB
Vue
<template>
|
|
<DefaultLayout>
|
|
<v-container>
|
|
<!-- ALPR Verification Dialog -->
|
|
<ALPRVerificationDialog />
|
|
|
|
<v-row justify="center" class="mb-4">
|
|
<v-col cols="12" md="8">
|
|
<h2 class="text-center text-h4 font-weight-bold">Choose Your Reporting Method</h2>
|
|
<p class="text-center text-body-1 mt-4">
|
|
Choose a method below to add to our map.
|
|
</p>
|
|
</v-col>
|
|
</v-row>
|
|
|
|
<!-- ALPR Identification Warning -->
|
|
<v-row justify="center" class="mb-8">
|
|
<v-col cols="12" class="text-center">
|
|
<v-btn
|
|
color="blue"
|
|
variant="tonal"
|
|
to="/identify"
|
|
prepend-icon="mdi-image-search"
|
|
size="large"
|
|
>
|
|
View ALPR Gallery
|
|
</v-btn>
|
|
</v-col>
|
|
</v-row>
|
|
|
|
<v-row justify="center">
|
|
<v-col cols="12" md="5" class="pa-4">
|
|
<div class="app-card-container">
|
|
<v-card
|
|
class="mx-auto h-100 d-flex flex-column"
|
|
elevation="4"
|
|
hover
|
|
to="/app"
|
|
>
|
|
<v-card-item class="bg-green-darken-3">
|
|
<v-card-title class="text-h5 font-weight-bold text-white">
|
|
DeFlock App
|
|
</v-card-title>
|
|
<v-card-subtitle class="pt-2">
|
|
for iOS and Android
|
|
</v-card-subtitle>
|
|
</v-card-item>
|
|
|
|
<v-img cover :aspect-ratio="1.5" class="mx-auto mt-5" src="/app-screenshots/df-app.webp" style="width: 90%; border-radius: 8px;" />
|
|
|
|
<v-card-text class="text-body-1">
|
|
<p class="mb-4 sans-serif">The <b>DeFlock App</b> provides a simple mobile interface that's easy to use while walking around.</p>
|
|
</v-card-text>
|
|
|
|
<v-card-actions class="pa-4">
|
|
<v-btn
|
|
block
|
|
color="green-darken-2"
|
|
variant="elevated"
|
|
size="large"
|
|
>
|
|
Download App
|
|
<v-icon icon="mdi-arrow-right" end></v-icon>
|
|
</v-btn>
|
|
</v-card-actions>
|
|
</v-card>
|
|
</div>
|
|
</v-col>
|
|
|
|
<v-col cols="12" md="5" class="pa-4">
|
|
<v-card
|
|
class="mx-auto h-100 d-flex flex-column"
|
|
elevation="4"
|
|
hover
|
|
to="/report/id"
|
|
>
|
|
<v-card-item class="bg-blue-darken-3">
|
|
<v-card-title class="text-h5 font-weight-bold text-white">
|
|
Legacy Editor
|
|
</v-card-title>
|
|
<v-card-subtitle class="pt-2">
|
|
Using the <b>OSM Web Editor</b>
|
|
</v-card-subtitle>
|
|
</v-card-item>
|
|
|
|
<v-img cover :aspect-ratio="1.5" class="mx-auto mt-5" src="/id.webp" style="width: 90%; border-radius: 8px;" />
|
|
|
|
<v-card-text class="text-body-1">
|
|
<p class="mb-4 sans-serif">The <b>OSM Web Editor</b> provides a more advanced interface for detailed reporting in your browser.</p>
|
|
</v-card-text>
|
|
|
|
<v-card-actions class="pa-4">
|
|
<v-btn
|
|
block
|
|
color="blue-darken-1"
|
|
variant="elevated"
|
|
to="/report/id"
|
|
size="large"
|
|
>
|
|
How to Edit
|
|
<v-icon icon="mdi-arrow-right" end></v-icon>
|
|
</v-btn>
|
|
</v-card-actions>
|
|
</v-card>
|
|
</v-col>
|
|
</v-row>
|
|
</v-container>
|
|
</DefaultLayout>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import DefaultLayout from '@/layouts/DefaultLayout.vue';
|
|
import ALPRVerificationDialog from '@/components/ALPRVerificationDialog.vue';
|
|
</script>
|
|
|
|
<style scoped>
|
|
.verification-alert {
|
|
border-left-width: 6px !important;
|
|
}
|
|
|
|
.verification-alert .v-alert-title {
|
|
font-weight: 600;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* App card disabled styling */
|
|
.app-card-container {
|
|
position: relative;
|
|
}
|
|
|
|
/* Ensure the banner shows above card content */
|
|
.app-card-container .v-card {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
</style> |