Others Elements for the Pages
This commit is contained in:
@@ -1,100 +1,33 @@
|
||||
<template>
|
||||
<q-page class="">
|
||||
<CNotifAtTop />
|
||||
|
||||
<span>{{
|
||||
setmeta({
|
||||
title: $t('ws.sitename'),
|
||||
description: $t('ws.siteshortname'),
|
||||
keywords: $t('ws.keywords'),
|
||||
})
|
||||
}}
|
||||
</span>
|
||||
|
||||
<!--<CChartMap
|
||||
title="Mappa"
|
||||
subtitle="cartina..."
|
||||
serie1="Serie 1"
|
||||
>
|
||||
|
||||
</CChartMap>-->
|
||||
|
||||
<!--<CMapsEsempio></CMapsEsempio>-->
|
||||
|
||||
<q-banner
|
||||
v-if="globalStore.isNewVersionAvailable"
|
||||
rounded
|
||||
dense
|
||||
class="bg-green text-white"
|
||||
color="primary q-title"
|
||||
style="text-align: center;">
|
||||
<template v-slot:avatar>
|
||||
<q-icon name="fas fa-exclamation-triangle" color="yellow" size="xs" />
|
||||
</template>
|
||||
<span class="mybanner">Per Aggiornare alla nuova versione, chiudere e riaprire la APP (o il browser)</span>
|
||||
|
||||
</q-banner>
|
||||
|
||||
<q-banner
|
||||
v-if="tools.isTest()"
|
||||
rounded
|
||||
dense
|
||||
class="bg-negative text-white"
|
||||
color="primary q-title"
|
||||
style="text-align: center;">
|
||||
<template v-slot:avatar>
|
||||
<q-icon name="fas fa-exclamation-triangle" color="yellow" size="xs" />
|
||||
</template>
|
||||
<span class="mybanner">Questo è l'AMBIENTE DI TEST !<br> Solo per prove.</span>
|
||||
|
||||
</q-banner>
|
||||
<span
|
||||
>{{
|
||||
setmeta({
|
||||
title: $t('ws.sitename'),
|
||||
description: $t('ws.siteshortname'),
|
||||
keywords: $t('ws.keywords'),
|
||||
})
|
||||
}}
|
||||
</span>
|
||||
|
||||
<div v-if="tools.isLogged()">
|
||||
<div v-if="!tools.isUserOk()">
|
||||
<CUserNonVerif></CUserNonVerif>
|
||||
</div>
|
||||
<div v-else>
|
||||
|
||||
<CDashboard></CDashboard>
|
||||
<CMainView></CMainView>
|
||||
|
||||
<div class="row justify-evenly items-center q-pa-sm q-ma-sm">
|
||||
<q-btn
|
||||
icon="fas fa-share-alt"
|
||||
color="blue" type="a"
|
||||
size="md"
|
||||
rounded
|
||||
:label="$t('reg.link_reg_and_msg')"
|
||||
@click="tools.sendMsgTelegramCmd($q, $t, shared_consts.MsgTeleg.SHARE_MSGREG, true)">
|
||||
</q-btn>
|
||||
<div v-if="isfinishLoading">
|
||||
<CMyPageElem title="Home" mypath="home"> </CMyPageElem>
|
||||
</div>
|
||||
|
||||
<CEventsCalendar :mysingleevent="null" :showfirstN="getValDb('SHOW_LAST_EVENTS', false, 3)">
|
||||
|
||||
</CEventsCalendar>
|
||||
|
||||
<!--<CCopyBtn v-if="userStore.my.username" :title="$t('reg.link_reg')" :texttocopy="getRefLink(userStore.my.username)">
|
||||
|
||||
</CCopyBtn>-->
|
||||
|
||||
<CStatusReg>
|
||||
|
||||
</CStatusReg>
|
||||
|
||||
<div>Versione: {{tools.getvers()}}</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div v-else>
|
||||
<CPresentazione></CPresentazione>
|
||||
<CCheckIfIsLogged></CCheckIfIsLogged>
|
||||
|
||||
<div v-if="isfinishLoading">
|
||||
<CMyPageElem title="Home" mypath="home_logout"> </CMyPageElem>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<LandingFooter></LandingFooter>
|
||||
</q-page>
|
||||
|
||||
</template>
|
||||
<script lang="ts" src="./mainview.ts">
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user