Uprava setovani 404 (asi porad nefunguje), ruzne podminky, priprava na zapomenute heslo, sjednoceni nacitani letu v profilu
This commit is contained in:
@@ -1,30 +1,49 @@
|
||||
<script setup></script>
|
||||
<script setup>
|
||||
import {ref} from "vue";
|
||||
|
||||
const date = new Date();
|
||||
const year = ref(date.getFullYear());
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<q-footer class="q-pa-lg">
|
||||
<q-footer class="q-pa-lg q-mt-xl">
|
||||
<div class="row justify-center">
|
||||
<div class="col-4">
|
||||
|
||||
<div class="col-4 text-center">
|
||||
<q-img fit="contain" width="32px" src="/icons/favicon-32x32.png" />
|
||||
|
||||
<div class="text-h5">Polétání.cz</div>
|
||||
Vytvořeno s ♥ nejen pro létání.
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<q-list>
|
||||
<q-item><router-link :to="{name: 'about'}">O projektu</router-link></q-item>
|
||||
<q-item><router-link :to="{name: 'contact'}">Kontakt</router-link></q-item>
|
||||
<q-item><router-link :to="{name: 'features'}">Funkce</router-link></q-item>
|
||||
</q-list>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<q-list>
|
||||
<q-item><router-link :to="{name: 'login'}">Login</router-link></q-item>
|
||||
<q-item><router-link :to="{name: 'registration'}">Registrace</router-link></q-item>
|
||||
<q-item><router-link :to="{name: 'forgottenPassword'}">Zapomenuté heslo</router-link></q-item>
|
||||
</q-list>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="col-2">
|
||||
<q-list>
|
||||
<q-item><router-link :to="{name: 'about'}">Podmínky použití</router-link></q-item>
|
||||
<q-item><router-link :to="{name: 'about'}">Správa osobních údajů</router-link></q-item>
|
||||
<q-item><router-link :to="{name: 'termsAndConditions'}">Podmínky použití</router-link></q-item>
|
||||
<q-item><router-link :to="{name: 'personalInformation'}">Správa osobních údajů</router-link></q-item>
|
||||
</q-list>
|
||||
</div>
|
||||
<div class="col-4 text-right">
|
||||
<div class="text-h6">Polétání.cz</div>
|
||||
Vytvořeno s ♥ nejen pro létání.
|
||||
</div>
|
||||
<!-- <div class="col">-->
|
||||
<!-- © 2023 Polétání.cz-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<div class="row q-mt-lg">
|
||||
<div class="col text-center">
|
||||
© {{ year }} Polétání.cz
|
||||
</div>
|
||||
</div>
|
||||
</q-footer>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -63,6 +63,7 @@ const loadMoreCount = computed(() => {
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<AvatarFromPhoto :size="120" v-if="flight.titlePhoto" :src="flight.titlePhoto.thumbnailUrl"/>
|
||||
<q-avatar v-else size="120px" icon="flight" text-color="grey-7" color="grey-4"></q-avatar>
|
||||
</q-item-section>
|
||||
<q-item-section>
|
||||
<div class="text-h5 q-mb-md">{{ flightName(flight) }}</div>
|
||||
@@ -93,9 +94,15 @@ const loadMoreCount = computed(() => {
|
||||
</div>
|
||||
</q-item-section>
|
||||
|
||||
<q-item-section side top v-if="flight.isPublic && !props.public">
|
||||
<q-item-section side top v-if="!props.public">
|
||||
<!-- Zobraz jen v adminu -->
|
||||
<q-icon name="visibility"></q-icon>
|
||||
<q-icon name="visibility" v-if="flight.isPublic"/>
|
||||
|
||||
<q-icon name="warning" color="orange" v-if="flight.isPublic && flight.urlSlug === ''">
|
||||
<q-tooltip>
|
||||
Let je sice publikovaný, nemá ale nastavenou URL adresu!
|
||||
</q-tooltip>
|
||||
</q-icon>
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
|
||||
Reference in New Issue
Block a user