Updated riso.app with Site Configuration Parameter

This commit is contained in:
Surya Paolo
2022-11-29 00:16:25 +01:00
parent 58dc1dfdcc
commit 9d32f92589
107 changed files with 738 additions and 1851 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="q-ma-sm">
<div class="bg-white column cursor-pointer" @click="copytoclip">
<div :class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` column cursor-pointer`" @click="copytoclip">
<q-field outlined :label="title" stack-label class="text-center cursor-pointer" label-color="blue">
<template v-slot:prepend v-if="!tools.isMobile()">
<q-btn round dense flat icon="far fa-copy"/>

View File

@@ -22,7 +22,6 @@ $graytext: #555;
}
.flex-container {
background-color: #ccc;
padding: 10px;
display: flex;
flex-direction: row;
@@ -33,12 +32,12 @@ $graytext: #555;
background-color: #9f9f9f;
padding: 10px;
margin: 10px;
color: #fff;
// color: #fff;
font-size: 1rem;
}
.cal {
color: black;
// color: black;
font-size: 0.75rem;
font-weight: 400;
line-height: 1.25rem;
@@ -118,14 +117,12 @@ $graytext: #555;
}
.listaev {
color: black;
font-size: 0.75rem;
font-weight: 400;
line-height: 1.25rem;
letter-spacing: 0.03333em;
&__date {
color: #061220;
font-size: 1rem;
}
@@ -139,6 +136,10 @@ $graytext: #555;
color: black;
}
&__details_darktheme {
color: white;
}
&__tdimg {
width: 150px;
height: 150px;
@@ -164,7 +165,7 @@ $graytext: #555;
}
&__table tr:hover {
background-color: #deecef;
// background-color: #deecef;
}
&__align_center_mobile {
@@ -287,7 +288,7 @@ $graytext: #555;
}
.mysel {
color: white;
color: skyblue;
}
.myflex {

View File

@@ -1021,6 +1021,7 @@ export default defineComponent({
editEvent,
EState,
CancelBookingEvent,
site: globalStore.site,
}
}
})

View File

@@ -62,7 +62,7 @@
class="shadow-5 q-mb-md" dense>
{{ myevent.title }}
</q-chip>
<div class="cal__details" v-html="myevent.details"></div>
<div :class="`cal__details`+ ($q.dark.isActive ? `_darktheme`: ``)" v-html="myevent.details"></div>
<div v-if="myevent.teacher" class="cal__teacher">
<span class="cal__teacher-title">{{ $t('cal.teacher') }}: <span
class="margin_with"></span></span>
@@ -820,7 +820,7 @@
<div style="margin: 10px;"></div>
<p class="listaev__details" v-html="event.details"></p>
<p :class="`listaev__details` + $q.dark.isActive ? `_darktheme`: ``" v-html="event.details"></p>
<div v-if="event.teacher" class="">
<span class="cal__teacher-title">{{ $t('cal.teacher') }}: <span
class="margin_with"></span></span>

View File

@@ -145,13 +145,13 @@
<q-space/>
<q-btn dense flat icon="minimize" @click="maximizedToggle = false" :disable="!maximizedToggle">
<q-tooltip v-if="maximizedToggle" class="bg-white text-primary">Minimize</q-tooltip>
<q-tooltip v-if="maximizedToggle" :class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`">Minimize</q-tooltip>
</q-btn>
<q-btn dense flat icon="crop_square" @click="maximizedToggle = true" :disable="maximizedToggle">
<q-tooltip v-if="!maximizedToggle" class="bg-white text-primary">Maximize</q-tooltip>
<q-tooltip v-if="!maximizedToggle" :class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`">Maximize</q-tooltip>
</q-btn>
<q-btn dense flat icon="close" v-close-popup>
<q-tooltip class="bg-white text-primary">Close</q-tooltip>
<q-tooltip :class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`">Close</q-tooltip>
</q-btn>
</q-bar>

View File

@@ -520,7 +520,7 @@ export default defineComponent({
}
}
console.log('sortBy', sortBy)
// console.log('sortBy', sortBy)
const filtersearch: any[] = []
const filtersearch2: any[] = []
@@ -563,7 +563,7 @@ export default defineComponent({
if (searchList.value) {
recSkill = searchList.value.find((item: ISearchList) => item.table === toolsext.TABSKILLS)
idSkill = recSkill ? recSkill.value : 0
console.log('recSkill', idSkill)
// console.log('recSkill', idSkill)
}
@@ -993,7 +993,7 @@ export default defineComponent({
if (startsearch.value)
return false
console.log('REFRESH!')
// console.log('REFRESH!')
startsearch.value = true
@@ -1065,9 +1065,7 @@ export default defineComponent({
}
function tableClass() {
if (dark) {
return 'bg-black'
}
return ($q.dark.isActive ? 'bg-black' : 'bg-white')
}
function selItem(item: any, col: IColGridTable, inmodif?: boolean) {
@@ -1476,7 +1474,7 @@ export default defineComponent({
}
function changeTable(mysel: any) {
console.log('changeTable', tablesel.value)
// console.log('changeTable', tablesel.value)
changetable.value = true
if (tablesel.value === undefined || tablesel.value === '')
return
@@ -1576,12 +1574,12 @@ export default defineComponent({
}
}
console.log('REFRR - changetable')
// console.log('REFRR - changetable')
refresh()
}
function doSearch() {
console.log('REFRR - doSearch')
// console.log('REFRR - doSearch')
refresh()
}
@@ -1916,7 +1914,7 @@ export default defineComponent({
function onLoadScroll (index: number, done: any) {
if (index > 1) {
console.log('onLoadScroll', index, 'RECLOAD', numRecLoaded.value, 'ROWS: ', pagination.value.rowsNumber)
// console.log('onLoadScroll', index, 'RECLOAD', numRecLoaded.value, 'ROWS: ', pagination.value.rowsNumber)
if (numRecLoaded.value < pagination.value.rowsNumber || (pagination.value.rowsNumber <= 0 && clickbuttsearch.value)) {
if (pagination.value.rowsNumber === 0) {
pagination.value.page = 0

View File

@@ -782,7 +782,7 @@
<div v-if="showColCheck(mycol, tools.TIPOVIS_SHOW_RECORD, false)">
<div class="row items-center justify-center q-gutter-md q-ma-xs">
<div class="q-ma-xs">
<q-field rounded outlined :bg-color="$q.dark.isActive ? '' : 'orange-3'" dense>
<q-field rounded outlined :bg-color="($q.dark.isActive ? '' : 'orange-3')" dense>
<template v-slot:control>
<div class="self-center full-width no-outline" tabindex="0">{{ mycol.label }}</div>
</template>

View File

@@ -1,6 +1,6 @@
<template>
<div>
<section class="padding_testo bg-white text-grey-10 text-justify"> <!-- v-scroll-reveal.reset -->
<section :class="`padding_testo ` + ($q.dark.isActive ? `bg-black`: `bg-white`) + ` text-grey-10 text-justify`"> <!-- v-scroll-reveal.reset -->
<div :class="myclass">
<div :class="clrowcol + ` q-px-xs`">
<q-img v-if="src" :src="src" class="" :style="style1" :alt="alt1"></q-img>

View File

@@ -3,7 +3,7 @@
<div class="row items-center justify-center q-gutter-md q-ma-xs">
<div class="q-ma-xs">
<q-field rounded outlined :bg-color="$q.dark.isActive ? '' : 'blue-4'" dense style="min-width:110px;">
<q-field rounded outlined :bg-color="($q.dark.isActive ? '' : 'blue-4')" dense style="min-width:110px;">
<template v-slot:control>
<div class="centermydiv">
<div class="self-center full-width no-outline text-center" tabindex="0">{{ mykey }}</div>

View File

@@ -5,7 +5,7 @@
<q-card class="dialog_card q-mb-lg" v-if="myrec">
<q-footer
class="bg-white small-screen-only text-center"
:class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` small-screen-only text-center`"
bordered
>
<q-btn push rounded color="primary" icon="close" label="Chiudi" v-close-popup></q-btn>

View File

@@ -4,7 +4,7 @@
<q-footer
v-if="!nopopup"
class="bg-white small-screen-only text-center"
:class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` small-screen-only text-center`"
bordered
>
<q-btn push rounded color="primary" icon="close" label="Chiudi" v-close-popup></q-btn>

View File

@@ -58,7 +58,7 @@ export default defineComponent({
const filtroutente = ref(<any[]>[])
const listcircuitsfiltered = computed(() => {
console.log('list modif')
// console.log('list modif')
return updateListCircuit()
})

View File

@@ -287,7 +287,7 @@
</div>
</div>
<div v-else-if="myel.type === shared_consts.ELEMTYPE.CAROUSEL_IMGS">
<section class="padding_gallery bg-white text-grey-10 text-center">
<section :class="($q.dark.isActive ? `bg-black text-white` : `bg-white text-grey-10`) + ` padding_gallery text-center`">
<div
:class="myel.class + (editOn ? ` clEdit` : ``) + getClass()"
@click="clickOnElem"

View File

@@ -3,7 +3,7 @@
<div class="row items-center justify-center q-gutter-md q-ma-xs">
<div v-if="title" class="q-ma-xs">
<q-field rounded outlined :bg-color="$q.dark.isActive ? '' : 'blue-4'" dense style="min-width:110px;">
<q-field rounded outlined :bg-color="($q.dark.isActive ? '' : 'blue-4')" dense style="min-width:110px;">
<template v-slot:control>
<div class="centermydiv">
<div v-if="myimg" class="text-center">

View File

@@ -171,7 +171,7 @@ export default defineComponent({
if (arrk.length > 2)
mysubsubkey.value = arrk[2]
}
console.log('### table', props.table, 'col.value', col.value, 'field', props.field, 'mykey', mykey.value)
// console.log('### table', props.table, 'col.value', col.value, 'field', props.field, 'mykey', mykey.value)
}

View File

@@ -1,7 +1,7 @@
<template>
<div v-if="visuElem()" :class="mytitle ? `row items-center justify-center q-ma-xs text-center` : ``">
<div v-if="mytitle" class="q-ma-xs">
<q-field rounded outlined :bg-color="$q.dark.isActive ? '' : 'blue-4'" dense style="min-width:110px;">
<q-field rounded outlined :bg-color="($q.dark.isActive ? '' : 'blue-4')" dense style="min-width:110px;">
<template v-slot:control>
<div class="centermydiv">
<div v-if="myimg" class="text-center">

View File

@@ -203,8 +203,10 @@ export default defineComponent({
default: '',
},
},
components: { CMyChipList, CDateTime, CDate, CMyToggleList, CMySelect, CMyEditor, CGallery,
CCurrencyValue, CLabel, CAccomodation, CSelectImage },
components: {
CMyChipList, CDateTime, CDate, CMyToggleList, CMySelect, CMyEditor, CGallery,
CCurrencyValue, CLabel, CAccomodation, CSelectImage
},
setup(props, { emit }) {
const $q = useQuasar()
const { t } = useI18n()
@@ -244,10 +246,10 @@ export default defineComponent({
const myrow = ref(<any>null)
/* const myrow = computed(() => {
return props.rec && props.isrec ? props.rec : props.row
})
*/
/* const myrow = computed(() => {
return props.rec && props.isrec ? props.rec : props.row
})
*/
function crea() {
// console.log('crea', isFieldDb(), 'props.mycol', props.mycol)
@@ -398,7 +400,7 @@ export default defineComponent({
function mounted() {
myrow.value = props.rec && props.isrec ? {...props.rec} : {...props.row}
myrow.value = props.rec && props.isrec ? { ...props.rec } : { ...props.row }
try {
@@ -496,6 +498,20 @@ export default defineComponent({
console.log('SaveValueInt', newVal, valinitial)
if (props.tablesel) {
if (true) {
let mystrcol = '_id'
const mycol = fieldsTable.getColByTable(props.tablesel, mystrcol);
if (mycol) {
if (newVal)
newVal = newVal[mystrcol]
}
}
}
if (isFieldDb()) {
savefield(newVal, valinitial, $q)
} else {
@@ -515,11 +531,12 @@ export default defineComponent({
}
}
}
emit('save', newVal, valinitial)
}
function savefield(value: any, initialval: any, myq: any) {
if (!props.insertMode) {
myvalue.value = value
@@ -694,7 +711,7 @@ export default defineComponent({
}
}
function selectcountry({ name, iso2, dialCode }: {name: string, iso2: string, dialCode: string}) {
function selectcountry({ name, iso2, dialCode }: { name: string, iso2: string, dialCode: string }) {
// console.log(name, iso2, dialCode)
myvalueprec.value = myvalue.value
myvalue.value = iso2

View File

@@ -2,7 +2,8 @@
<template>
<div class="q-py-xs centermydiv cardrec"
:style="`max-width: `+ (tools.getwidth($q) - 20) +`px; ` + ($q.screen.lt.sm ? (`min-width: `+ (tools.getwidth($q) - 20) +`px;`) : ``)">
<q-item v-if="myrec" clickable v-ripple class="shadow-2 q-btn--rounded bg-teal-1">
<q-item v-if="myrec" clickable v-ripple :class="`shadow-2 q-btn--rounded ` + ($q.dark.isActive ? `bg-black`: `bg-teal-1`)">
<q-item-section v-if="(shared_consts.TABLES_VISU_IMG.includes(table)) && (myrec.photos && myrec.photos.length > 0)" avatar

View File

@@ -2,7 +2,7 @@
<div class="q-py-xs centermydiv cardrec"
:style="`max-width: `+ (tools.getwidth($q) - 20) +`px; ` + ($q.screen.lt.sm ? (`min-width: `+ (tools.getwidth($q) - 20) +`px;`) : ``)">
<q-item v-if="circuit" clickable v-ripple class="shadow-2 q-btn--rounded bg-teal-1">
<q-item v-if="circuit" clickable v-ripple :class="`shadow-2 q-btn--rounded ` + ($q.dark.isActive ? `bg-black`: `bg-teal-1`)">
<q-item-section v-if="circuit.photos" avatar
@click="cmdExt(costanti.CMD_OPEN_PAGE, circuit)">

View File

@@ -2,7 +2,7 @@
<div class="q-py-xs centermydiv cardrec"
:style="`max-width: `+ (tools.getwidth($q) - 20) +`px; ` + ($q.screen.lt.sm ? (`min-width: `+ (tools.getwidth($q) - 20) +`px;`) : ``)">
<q-item v-if="myrec" clickable v-ripple class="shadow-2 q-btn--rounded bg-teal-1">
<q-item v-if="myrec" clickable v-ripple :class="`shadow-2 q-btn--rounded `+ ($q.dark.isActive ? `bg-black`: `bg-teal-1`)">
<q-item-section v-if="(shared_consts.TABLES_VISU_IMG.includes(table)) && (myrec.photos && myrec.photos.length > 0)" avatar
@click="cmdExt(costanti.CMD_OPEN_PAGE, myrec)">

View File

@@ -22,6 +22,10 @@ $graytext: #555;
color: black;
}
&__details_darktheme {
color: white;
}
&__tdimg {
width: 150px;
height: 150px;
@@ -107,6 +111,10 @@ $graytext: #555;
color: black;
}
&__details_darktheme {
color: white;
}
&__hours {
color: blue;
&-title {

View File

@@ -92,9 +92,8 @@
<div style="margin: 10px;"></div>
<p v-if="myevent.bodytext" class="listaev__details text-left q-mb-md" v-html="myevent.bodytext"></p>
<p v-else class="listaev__details" v-html="myevent.details"></p>
<p v-if="myevent.bodytext" :class="`listaev__details`+ ($q.dark.isActive ? '_darktheme' : ``) + ` text-left q-mb-md`" v-html="myevent.bodytext"></p>
<p v-else :class="`listaev__details`+ ($q.dark.isActive ? '_darktheme' : ``)" v-html="myevent.details"></p>
<div v-for="(mypage, index) in myevent.pagefooter" :key="index">
<CMyPage v-if="!!mypage" :mypath="`/`+ mypage">

View File

@@ -25,6 +25,8 @@ export default defineComponent({
const slide = ref('first')
const animare = ref(0)
const globalStore = useGlobalStore()
function initprompt() {
window.addEventListener('beforeinstallprompt', (event) => {
// console.log('******************************** beforeinstallprompt fired')
@@ -127,6 +129,7 @@ export default defineComponent({
tools,
static_data,
animare,
site: globalStore.site,
}
},
})

View File

@@ -1,5 +1,5 @@
<template>
<q-page class="text-blue-6">
<q-page :class="`text-white`">
<div class="landing">
<section>
@@ -24,16 +24,16 @@
</div>
<div class="flex justify-end">
<div class="q-gutter-xs testo-banda clgutter">
<div class="text-h1"><span class="shadow-3 bg-white">{{ t('msg.myAppName') }}</span></div>
<div class="text-h1"><span :class="`shadow-3 `+ $q.dark.isActive ? `bg-black` : `bg-white`">{{ t('msg.myAppName') }}</span></div>
<div class="text-subtitle1 text-italic q-pl-sm">
<span class="shadow-3 bg-white">{{ t('msg.sottoTitoloApp') }}</span>
<span :class="`shadow-3 `+ $q.dark.isActive ? `bg-black` : `bg-white`">{{ t('msg.sottoTitoloApp') }}</span>
</div>
<div class="text-subtitle1 big text-italic q-pl-sm background-white"><strong>
<span class="shadow-3 bg-white">{{t('msg.sottoTitoloApp2')}}</span>
<span :class="`shadow-3 `+ $q.dark.isActive ? `bg-black` : `bg-white`">{{t('msg.sottoTitoloApp2')}}</span>
</strong>
</div>
<div class="text-subtitle2 text-italic q-pl-sm">
<span class="shadow-3 bg-white">{{ t('msg.sottoTitoloApp3') }}</span>
<span :class="`shadow-3 `+ $q.dark.isActive ? `bg-black` : `bg-white`">{{ t('msg.sottoTitoloApp3') }}</span>
</div>
<div>
@@ -99,16 +99,13 @@
</div>
<div class="flex justify-end">
<div class="q-gutter-xs testo-banda clgutter">
<div class="text-h1 shadow-max">{{ t('msg.myAppName') }}</div>
<div class="text-h1 shadow-max"></div>
<div class="text-subtitle1 shadow text-italic q-pl-sm">
<span class="shadow-3 bg-white">{{ t('msg.sottoTitoloApp') }}</span>
</div>
<div class="text-subtitle1 shadow-max big text-italic q-pl-sm"><strong>
<span class="shadow-3 bg-white">{{t('msg.sottoTitoloApp2')}}</span>
</strong>
<div class="text-subtitle1 shadow-max big text-italic q-pl-sm">
</div>
<div class="text-subtitle2 shadow text-italic q-pl-sm">
<span class="shadow-3 bg-white">{{ t('msg.sottoTitoloApp3') }}</span>
</div>
<div>
@@ -174,16 +171,13 @@
</div>
<div class="flex justify-end">
<div class="q-gutter-xs testo-banda clgutter">
<div class="text-h1 shadow-max">{{ t('msg.myAppName') }}</div>
<div class="text-h1 shadow-max"></div>
<div class="text-subtitle1 shadow text-italic q-pl-sm">
{{ t('msg.sottoTitoloApp') }}
</div>
<div class="text-subtitle1 shadow-max big text-italic q-pl-sm"><strong>{{
t('msg.sottoTitoloApp2')
}}</strong>
</div>
<div class="text-subtitle2 shadow text-italic q-pl-sm">
{{ t('msg.sottoTitoloApp3') }}
</div>
<div>
@@ -244,7 +238,7 @@
</div>
</section>
<section class="padding bg-white text-grey-10 text-center">
<section :class="`padding `+ ($q.dark.isActive ? `text-white bg-black ` : `text-grey-10 bg-white`) + ` text-center`">
<div class="landing__features row items-start q-col-gutter-sm">
<div class="col-12 text-center">
<div class="feature-item q-mx-md">

View File

@@ -144,13 +144,13 @@
<q-space/>
<q-btn dense flat icon="minimize" @click="maximizedToggle = false" :disable="!maximizedToggle">
<q-tooltip v-if="maximizedToggle" class="bg-white text-primary">Minimize</q-tooltip>
<q-tooltip v-if="maximizedToggle" :class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`">Minimize</q-tooltip>
</q-btn>
<q-btn dense flat icon="crop_square" @click="maximizedToggle = true" :disable="maximizedToggle">
<q-tooltip v-if="!maximizedToggle" class="bg-white text-primary">Maximize</q-tooltip>
<q-tooltip v-if="!maximizedToggle" :class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`">Maximize</q-tooltip>
</q-btn>
<q-btn dense flat icon="close" v-close-popup>
<q-tooltip class="bg-white text-primary">Close</q-tooltip>
<q-tooltip :class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`">Close</q-tooltip>
</q-btn>
</q-bar>

View File

@@ -22,7 +22,7 @@
<div class="self-center no-outline" tabindex="0" >{{ order.quantity }}</div>
</template>
</q-field>-->
<div class="q-mx-sm text-blue-14">{{ order.quantity }}</div>
<div :class="`q-mx-sm text-blue-14`">{{ order.quantity }}</div>
<q-btn
v-if="showall && !nomodif" round size="xs" text-color="grey" icon="fas fa-plus"
@click="addsubqty(true, false)"></q-btn>

View File

@@ -1,15 +1,15 @@
<template>
<q-footer
v-if="tools.isUserOk() && site"
class="bg-white small-screen-only"
v-if="tools.isUserOk() && site && site.confpages"
:class="($q.dark.isActive ? `bg-black` : `bg-white`) + `small-screen-only`"
bordered
>
<q-tabs
dense
class="text-grey-10 mylabfooter mysmalltabs"
:class="($q.dark.isActive ? `text-white bg-black` : `text-grey-10 bg-white`) + ` mylabfooter mysmalltabs`"
style="padding: 0px !important;"
content-class="mysmalltabs"
active-color="primary"
:active-color="$q.dark.isActive ? `primary`: `primary`"
no-caps
indicator-color="transparent"
>

View File

@@ -281,7 +281,7 @@ export default defineComponent({
const lang = computed({
get: () => $q.lang.isoName,
set: mylang => {
console.log('set lang', $q.lang.getLocale(), 'passato', mylang)
// console.log('set lang', $q.lang.getLocale(), 'passato', mylang)
$q.lang.set(snakeToCamel(mylang))
// tools.showNotif($q, 'IMPOSTA LANG= ' + $i18n.locale)
// console.log('IMPOSTA LANG= ' + $i18n.locale)

View File

@@ -1,6 +1,7 @@
<template>
<div>
<q-header
v-if="site"
reveal
elevated
:class="getClassColorHeader"
@@ -67,13 +68,13 @@
</div>
-->
<div v-if="site.confpages.show_darkopt" class="text-h7">
<div v-if="site.confpages && site.confpages.show_darkopt" class="text-h7">
<q-toggle :icon="'fas fa-moon'" v-model="dark"> </q-toggle>
</div>
<q-btn
v-if="
!isonline() &&
site.confpages.showConnected
site.confpages && site.confpages.showConnected
"
flat
dense
@@ -109,13 +110,13 @@
</q-list>
</q-btn-dropdown>
<div v-if="site.confpages.showMsgs">
<div v-if="site.confpages && site.confpages.showMsgs">
<message-popover></message-popover>
</div>
<div v-if="site.confpages.showCoins">
<div v-if="site.confpages && site.confpages.showCoins">
<coinsPopover v-model="rightCoinsOpen"></coinsPopover>
</div>
<div v-if="site.confpages.showNotif">
<div v-if="site.confpages && site.confpages.showNotif">
<notifPopover v-model="rightNotifOpen"></notifPopover>
</div>
@@ -128,7 +129,7 @@
<q-btn
class="q-mx-xs"
v-if="site.confpages.enableEcommerce && tools.isLogged()"
v-if="site.confpages && site.confpages.enableEcommerce && tools.isLogged()"
round
dense
flat
@@ -148,7 +149,7 @@
<q-btn
class="q-mx-xs"
v-if="
site.confpages.enableEcommerce &&
site.confpages && site.confpages.enableEcommerce &&
tools.isLogged() &&
getnumOrdersCart() > 0
"
@@ -170,7 +171,7 @@
<q-btn
class="q-mx-xs"
v-if="site.confpages.showUserMenu && !tools.isLogged()"
v-if="site.confpages && site.confpages.showUserMenu && !tools.isLogged()"
dense
flat
round
@@ -180,7 +181,7 @@
</q-btn>
<q-avatar
v-else-if="
site.confpages.showUserMenu &&
site.confpages && site.confpages.showUserMenu &&
tools.isLogged() &&
getMyImg()
"
@@ -226,7 +227,7 @@
<!-- USER BAR -->
<q-drawer
v-if="site.confpages.enableEcommerce"
v-if="site.confpages && site.confpages.enableEcommerce"
v-model="rightCartOpen"
side="right"
elevated
@@ -248,7 +249,7 @@
</q-drawer>
<!-- USER BAR -->
<q-drawer
v-if="site.confpages.showUserMenu"
v-if="site.confpages && site.confpages.showUserMenu"
v-model="rightDrawerOpen"
side="right"
elevated
@@ -387,7 +388,7 @@
<div v-show="!tools.isLogged()">
<div class="q-ma-md" style="">
<CSigninNoreg
:showregbutt="site.confpages.showRegButton"
:showregbutt="site.confpages && site.confpages.showRegButton"
>
</CSigninNoreg>
</div>