- fix: ris da inviare al gruppo (nuovamente) e immagini rimaste ancora "images/" anzichè "/images/".

This commit is contained in:
Surya Paolo
2025-03-13 18:58:17 +01:00
parent f5b0e693d0
commit 0f8721b144
72 changed files with 1288 additions and 3708 deletions

View File

@@ -1,15 +1,10 @@
<template>
<CMyPage title="Bot" imgbackground="images/bot.jpg" sizes="max-height: 120px">
<CMyPage title="Bot" imgbackground="/images/bot.jpg" sizes="max-height: 120px">
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Bot"></CTitleBanner>
<CGridTableRec
prop_mytable="bots"
prop_mytitle="Configura Bot"
:prop_mycolumns="colmybot"
prop_colkey="_id"
nodataLabel="Nessun Bot Configurato"
:defaultnewrec="getdefaultnewrec()"
<CGridTableRec prop_mytable="bots" prop_mytitle="Configura Bot" :prop_mycolumns="colmybot" prop_colkey="_id"
nodataLabel="Nessun Bot Configurato" :defaultnewrec="getdefaultnewrec()"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Categorie AI" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Categorie AI',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Categorie AI" imgbackground="/images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Categorie AI',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Categorie AI"></CTitleBanner>
<CGridTableRec
prop_mytable="catais"
prop_mytitle="Categorie AI"
:prop_mycolumns="colTableCatAI"
prop_colkey="name"
nodataLabel="Nessuna Categoria AI"
<CGridTableRec prop_mytable="catais" prop_mytitle="Categorie AI" :prop_mycolumns="colTableCatAI"
prop_colkey="name" nodataLabel="Nessuna Categoria AI"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Categorie" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Categorie',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Categorie" imgbackground="/images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Categorie',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Categorie"></CTitleBanner>
<CGridTableRec
prop_mytable="categorys"
prop_mytitle="Categorie"
:prop_mycolumns="colTablecategories"
prop_colkey="name"
nodataLabel="Nessuna Categoria"
<CGridTableRec prop_mytable="categorys" prop_mytitle="Categorie" :prop_mycolumns="colTablecategories"
prop_colkey="name" nodataLabel="Nessuna Categoria"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Categorie" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Categorie',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Categorie" imgbackground="/images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Categorie',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Categorie"></CTitleBanner>
<CGridTableRec
prop_mytable="catprods"
prop_mytitle="Categorie"
:prop_mycolumns="colTableCatProd"
prop_colkey="name"
nodataLabel="Nessuna Categoria"
<CGridTableRec prop_mytable="catprods" prop_mytitle="Categorie" :prop_mycolumns="colTableCatProd"
prop_colkey="name" nodataLabel="Nessuna Categoria"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,23 +1,18 @@
<template>
<CMyPage title="Collane" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Collane',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Collane" imgbackground="/images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Collane',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Collane"></CTitleBanner>
<CGridTableRec
prop_mytable="collanas"
prop_mytitle="Collane"
:prop_mycolumns="colTableCollane"
prop_colkey="name"
nodataLabel="Nessuna Collana"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
<CGridTableRec prop_mytable="collanas" prop_mytitle="Collane" :prop_mycolumns="colTableCollane" prop_colkey="name"
nodataLabel="Nessuna Collana" noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>
</div>

File diff suppressed because it is too large Load Diff

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Uffici" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Uffici',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Uffici" imgbackground="/images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Uffici',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Uffici"></CTitleBanner>
<CGridTableRec
prop_mytable="departments"
prop_mytitle="Lista Uffici"
:prop_mycolumns="colTabledepartments"
prop_colkey="name"
nodataLabel="Nessun Ufficio"
<CGridTableRec prop_mytable="departments" prop_mytitle="Lista Uffici" :prop_mycolumns="colTabledepartments"
prop_colkey="name" nodataLabel="Nessun Ufficio"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Discipline" imgbackground="images/calendario_eventi.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'disciplines',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Discipline" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'disciplines',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Discipline"></CTitleBanner>
<CGridTableRec
prop_mytable="disciplines"
prop_mytitle="Lista Discipline"
:prop_mycolumns="fieldsTable.colDisciplines()"
prop_colkey="_id"
nodataLabel="Nessuna Disciplina"
<CGridTableRec prop_mytable="disciplines" prop_mytitle="Lista Discipline"
:prop_mycolumns="fieldsTable.colDisciplines()" prop_colkey="_id" nodataLabel="Nessuna Disciplina"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,29 +1,22 @@
ù<template>
<CMyPage title="Elementi Pagine" imgbackground="images/calendario_eventi.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Pagina Home',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Elementi Pagine" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Pagina Home',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Elementi Pagine"></CTitleBanner>
<q-select rounded outlined v-model="pageSel"
:options="arrPages"
label="Pagina" emit-value map-options>
<q-select rounded outlined v-model="pageSel" :options="arrPages" label="Pagina" emit-value map-options>
</q-select>
<CGridTableRec
prop_mytable="myelems"
prop_mytitle="Elementi Pagina"
:prop_mycolumns="colmyelems"
:filtercustom="filtercustom"
prop_colkey="title"
nodataLabel="Nessun elemento di Modifica Elementi"
<CGridTableRec prop_mytable="myelems" prop_mytitle="Elementi Pagina" :prop_mycolumns="colmyelems"
:filtercustom="filtercustom" prop_colkey="title" nodataLabel="Nessun elemento di Modifica Elementi"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,16 +1,8 @@
<template>
<CMyPage
:title="gettitle()"
keywords=""
description=""
imgbackground="images/calendario_eventi.jpg"
sizes="max-height: 120px"
>
<CMyPage :title="gettitle()" keywords="" description="" imgbackground="/images/calendario_eventi.jpg"
sizes="max-height: 120px">
<div class="q-ma-sm q-pa-xs">
<div
v-if="!showall()"
class="text-h6 bg-red text-white text-center q-pa-xs shadow-max"
>
<div v-if="!showall()" class="text-h6 bg-red text-white text-center q-pa-xs shadow-max">
Lista delle tue prenotazioni agli Eventi:
</div>
@@ -21,12 +13,7 @@
</div>
<div>
<q-markup-table
wrap-cells
bordered
separator="horizontal"
class="listaev__table"
>
<q-markup-table wrap-cells bordered separator="horizontal" class="listaev__table">
<thead>
<tr>
<th>{{ $t('cal.data') }}</th>
@@ -50,11 +37,7 @@
</thead>
<tbody>
<tr
v-for="(event, index) in getEventList()"
:key="index"
class="listaev listaev__table"
>
<tr v-for="(event, index) in getEventList()" :key="index" class="listaev listaev__table">
<td>
<div class="text-center text-blue">
{{ func_tools.getDateStr(event.dateTimeStart) }}
@@ -67,14 +50,11 @@
<div class="text-center">
{{ getTeacherByUsername(event.teacher) }}
<span v-if="isValidUsername(event.teacher2)">
- {{ getTeacherByUsername(event.teacher2) }}</span
>
- {{ getTeacherByUsername(event.teacher2) }}</span>
<span v-if="isValidUsername(event.teacher3)">
- {{ getTeacherByUsername(event.teacher3) }}</span
>
- {{ getTeacherByUsername(event.teacher3) }}</span>
<span v-if="isValidUsername(event.teacher4)">
- {{ getTeacherByUsername(event.teacher4) }}</span
>
- {{ getTeacherByUsername(event.teacher4) }}</span>
</div>
</td>
<td v-if="showall()">
@@ -123,36 +103,21 @@
</td>
<td class="text-center">
<q-btn
v-if="
calendarStore.getNumParticipants(
event,
showall,
tools.peopleWhere.participants
) > 0
"
flat
dense
color="positive"
rounded
icon="fas fa-user-check"
@click="
<q-btn v-if="
calendarStore.getNumParticipants(
event,
showall,
tools.peopleWhere.participants
) > 0
" flat dense color="positive" rounded icon="fas fa-user-check" @click="
showpeople = true;
eventsel = event;
"
>
eventsel = event;
">
</q-btn>
<q-btn
dense
flat
rounded
:color="!!event.note ? 'positive' : 'dark'"
icon="fas fa-pencil-alt"
@click="
shownote = true;
eventsel = event;
"
>
<q-btn dense flat rounded :color="!!event.note ? 'positive' : 'dark'" icon="fas fa-pencil-alt" @click="
shownote = true;
eventsel = event;
">
</q-btn>
</td>
</tr>
@@ -165,18 +130,8 @@
<q-btn flat round color="white" icon="close" v-close-popup></q-btn>
</q-toolbar>
<q-card-section class="q-pa-xs inset-shadow">
<q-input
v-model="eventsel.note"
style="min-height: 50px"
label="Note:"
filled
dense
autogrow
type="textarea"
debounce="500"
input-class="myinput-area"
@update:model-value="change_rec(eventsel)"
>
<q-input v-model="eventsel.note" style="min-height: 50px" label="Note:" filled dense autogrow
type="textarea" debounce="500" input-class="myinput-area" @update:model-value="change_rec(eventsel)">
</q-input>
</q-card-section>
</q-card>
@@ -190,12 +145,7 @@
<q-btn flat round color="white" icon="close" v-close-popup></q-btn>
</q-toolbar>
<q-card-section class="q-pa-xs inset-shadow">
<q-markup-table
wrap-cells
bordered
separator="horizontal"
class="listaev__table"
>
<q-markup-table wrap-cells bordered separator="horizontal" class="listaev__table">
<thead>
<tr>
<th>Data</th>
@@ -206,16 +156,12 @@
</thead>
<tbody>
<tr
v-for="(
eventbook, index
<tr v-for="(
eventbook, index
) in calendarStore.getEventsBookedByIdEvent(
eventsel._id,
showall
)"
:key="index"
class="listaev listaev__table"
>
eventsel._id,
showall
)" :key="index" class="listaev listaev__table">
<td class="text-center">
<div>
{{ func_tools.getDateTimeShortStr(eventbook.datebooked) }}
@@ -224,42 +170,27 @@
<td class="text-center">
<strong>{{
userStore.getNameSurnameByUserId(eventbook.userId)
}}</strong>
}}</strong>
<span v-if="eventbook.msgbooking">
{{ $t('sendmsg.write') }}: </span
><br />
{{ $t('sendmsg.write') }}: </span><br />
{{ eventbook.msgbooking }}
</td>
<td class="text-center">
<span v-if="eventbook.numpeople > 0"
>Partecipanti: {{ eventbook.numpeople }}<br
/></span>
<span v-if="eventbook.numpeopleLunch > 0"
>Pranzo: {{ eventbook.numpeopleLunch }}<br
/></span>
<span v-if="eventbook.numpeopleDinner > 0"
>Cena: {{ eventbook.numpeopleDinner }}<br
/></span>
<span v-if="eventbook.numpeopleDinnerShared > 0"
>Cena Condivisa: {{ eventbook.numpeopleDinnerShared }}<br
/></span>
<span v-if="eventbook.numpeople > 0">Partecipanti: {{ eventbook.numpeople }}<br /></span>
<span v-if="eventbook.numpeopleLunch > 0">Pranzo: {{ eventbook.numpeopleLunch }}<br /></span>
<span v-if="eventbook.numpeopleDinner > 0">Cena: {{ eventbook.numpeopleDinner }}<br /></span>
<span v-if="eventbook.numpeopleDinnerShared > 0">Cena Condivisa: {{ eventbook.numpeopleDinnerShared
}}<br /></span>
</td>
<td class="text-center">
<q-btn
flat
round
color="red"
icon="fas fa-trash-alt"
size="sm"
@click="
tools.CancelBookingEvent(
$q,
eventsel,
eventbook._id,
false
)
"
></q-btn>
<q-btn flat round color="red" icon="fas fa-trash-alt" size="sm" @click="
tools.CancelBookingEvent(
$q,
eventsel,
eventbook._id,
false
)
"></q-btn>
</td>
</tr>
</tbody>

View File

@@ -1,15 +1,10 @@
<template>
<CMyPage title="Gallerie" imgbackground="images/calendario_eventi.jpg" sizes="max-height: 120px">
<CMyPage title="Gallerie" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px">
<div class="q-ma-sm q-gutter-sm">
<CTitleBanner title="Gallerie"></CTitleBanner>
<CGridTableRec
prop_mytable="gallery"
prop_mytitle=""
:prop_mycolumns="colgallery"
prop_colkey="_id"
nodataLabel="Nessuna Galleria"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
<CGridTableRec prop_mytable="gallery" prop_mytitle="" :prop_mycolumns="colgallery" prop_colkey="_id"
nodataLabel="Nessuna Galleria" noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>
</div>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Gas Ordini" imgbackground="images/fornitori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Gas Ordini',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Gas Ordini" imgbackground="/images/fornitori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Gas Ordini',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Gas Ordini"></CTitleBanner>
<CGridTableRec
prop_mytable="gasordines"
prop_mytitle="Lista Gas Ordini"
:prop_mycolumns="colTableGasordine"
prop_colkey="name"
nodataLabel="Nessun Gas Ordine"
<CGridTableRec prop_mytable="gasordines" prop_mytitle="Lista Gas Ordini" :prop_mycolumns="colTableGasordine"
prop_colkey="name" nodataLabel="Nessun Gas Ordine"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,24 +1,19 @@
<template>
<CMyPage title="Info Prodotti" imgbackground="images/prodotti.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Info Prodotti',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Info Prodotti" imgbackground="/images/prodotti.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Info Prodotti',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Info Prodotti"></CTitleBanner>
<CGridTableRec
prop_mytable="orders"
prop_mytitle="Gestore Ordini"
:prop_mycolumns="colTableGestoreOrdini"
:filtercustom="filtroOrdini"
prop_colkey="name"
nodataLabel="Nessun Ordine"
<CGridTableRec prop_mytable="orders" prop_mytitle="Gestore Ordini" :prop_mycolumns="colTableGestoreOrdini"
:filtercustom="filtroOrdini" prop_colkey="name" nodataLabel="Nessun Ordine"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,24 +1,19 @@
<template>
<CMyPage title="Gruppi" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Organizzazioni',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Gruppi" imgbackground="/images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Organizzazioni',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Organizzazioni"></CTitleBanner>
<CGridTableRec
prop_mytable="groups"
prop_mytitle="Gruppi"
:prop_mycolumns="colTablegroups"
:defaultnewrec="getdefaultnewrec()"
prop_colkey="descr"
nodataLabel="Nessun Gruppo"
<CGridTableRec prop_mytable="groups" prop_mytitle="Gruppi" :prop_mycolumns="colTablegroups"
:defaultnewrec="getdefaultnewrec()" prop_colkey="descr" nodataLabel="Nessun Gruppo"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,24 +1,18 @@
<template>
<CMyPage
title="Template Messaggi" imgbackground="images/calendario_eventi.jpg"
sizes="max-height: 100px">
<span>{{
setmeta({
title: 'Template Messaggi',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Template Messaggi" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 100px">
<span>{{
setmeta({
title: 'Template Messaggi',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Template Messaggi"></CTitleBanner>
<CGridTableRec
prop_mytable="msg_templates"
prop_mytitle="Lista Messaggi"
:prop_mycolumns="colmsg_templates"
prop_colkey="title"
nodataLabel="Nessun Messaggio"
<CGridTableRec prop_mytable="msg_templates" prop_mytitle="Lista Messaggi" :prop_mycolumns="colmsg_templates"
prop_colkey="title" nodataLabel="Nessun Messaggio"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,227 +1,106 @@
<template>
<CMyPage
title="Newsletter"
keywords=""
description=""
imgbackground="images/calendario_eventi.jpg"
sizes="max-height: 120px"
>
<q-toggle
v-model="globalStore.editOn"
color="green"
icon="fas fa-pencil-alt"
dense
>
<CMyPage title="Newsletter" keywords="" description="" imgbackground="/images/calendario_eventi.jpg"
sizes="max-height: 120px">
<q-toggle v-model="globalStore.editOn" color="green" icon="fas fa-pencil-alt" dense>
</q-toggle>
<q-card>
<div v-show="false">
<q-tabs
v-model="tab"
dense
class="text-grey"
active-color="primary"
indicator-color="primary"
align="justify"
narrow-indicator
>
<q-tabs v-model="tab" dense class="text-grey" active-color="primary" indicator-color="primary" align="justify"
narrow-indicator>
<q-tab name="settings" label="Impostazioni"></q-tab>
<q-tab name="main_settings" label="Impostaz. Primarie"></q-tab>
<q-tab name="templemail" label="Template Email"></q-tab>
<q-tab name="newnewsletter" label="Invia"></q-tab>
<q-tab name="check" label="Controlla"></q-tab>
<q-tab name="newslist" label="Già Inviate"></q-tab>
<q-tab
name="mailinglist"
label="Lista Contatti (MailingList)"
></q-tab>
<q-tab name="mailinglist" label="Lista Contatti (MailingList)"></q-tab>
<q-tab name="events" label="Altre"></q-tab>
</q-tabs>
</div>
<q-tab-panels v-model="tab" animated @transition="changetabnews">
<q-tab-panel name="settings">
<div
class="q-ma-xs q-pa-xs text-center rounded-borders q-list--bordered"
>
<div class="q-ma-xs q-pa-xs text-center rounded-borders q-list--bordered">
<CTitleBanner title="Impostazioni:"></CTitleBanner>
<div class="row">
<CMyFieldDb
title="Altezza Logo"
mykey="HEIGHT_LOGO"
:serv="true"
:type="costanti.FieldType.number"
>
<CMyFieldDb title="Altezza Logo" mykey="HEIGHT_LOGO" :serv="true" :type="costanti.FieldType.number">
</CMyFieldDb>
<CMyFieldDb
title="Titolo Discipline"
mykey="DISC_TITLE"
:serv="true"
:type="costanti.FieldType.string"
>
<CMyFieldDb title="Titolo Discipline" mykey="DISC_TITLE" :serv="true" :type="costanti.FieldType.string">
</CMyFieldDb>
</div>
<CMyFieldDb
title="Testo Promozione"
mykey="TEXT_PROMO"
:serv="true"
:type="costanti.FieldType.html"
>
<CMyFieldDb title="Testo Promozione" mykey="TEXT_PROMO" :serv="true" :type="costanti.FieldType.html">
</CMyFieldDb>
<div class="row">
<CMyFieldDb
title="Numero di Eventi da mostrare"
mykey="SHOW_LAST_N_EV"
:serv="true"
:type="costanti.FieldType.number"
>
<CMyFieldDb title="Numero di Eventi da mostrare" mykey="SHOW_LAST_N_EV" :serv="true"
:type="costanti.FieldType.number">
</CMyFieldDb>
<CMyFieldDb
title="Testo dopo gli Eventi"
mykey="TEXT_AFTER_EV"
:serv="true"
:type="costanti.FieldType.html"
>
<CMyFieldDb title="Testo dopo gli Eventi" mykey="TEXT_AFTER_EV" :serv="true"
:type="costanti.FieldType.html">
</CMyFieldDb>
</div>
<div class="row">
<CMyFieldDb
title="Pagina Twitter"
mykey="URL_TWITTER"
:type="costanti.FieldType.string"
>
<CMyFieldDb title="Pagina Twitter" mykey="URL_TWITTER" :type="costanti.FieldType.string">
</CMyFieldDb>
<CMyFieldDb
title="Pagina Facebook"
mykey="URL_FACEBOOK"
:type="costanti.FieldType.string"
>
<CMyFieldDb title="Pagina Facebook" mykey="URL_FACEBOOK" :type="costanti.FieldType.string">
</CMyFieldDb>
<CMyFieldDb
title="Pagina YouTube"
mykey="URL_YOUTUBE"
:type="costanti.FieldType.string"
>
<CMyFieldDb title="Pagina YouTube" mykey="URL_YOUTUBE" :type="costanti.FieldType.string">
</CMyFieldDb>
<CMyFieldDb
title="Pagina Instagram"
mykey="URL_INSTAGRAM"
:type="costanti.FieldType.string"
>
<CMyFieldDb title="Pagina Instagram" mykey="URL_INSTAGRAM" :type="costanti.FieldType.string">
</CMyFieldDb>
</div>
<CMyFieldDb
title="Firma"
mykey="TEXT_SIGN"
:serv="true"
:type="costanti.FieldType.html"
>
<CMyFieldDb title="Firma" mykey="TEXT_SIGN" :serv="true" :type="costanti.FieldType.html">
</CMyFieldDb>
<CMyFieldDb
title="Testo Disclaimer"
mykey="TEXT_DISCLAIMER"
:serv="true"
:type="costanti.FieldType.html"
>
<CMyFieldDb title="Testo Disclaimer" mykey="TEXT_DISCLAIMER" :serv="true" :type="costanti.FieldType.html">
</CMyFieldDb>
<CMyFieldDb
title="Testo a piè pagina"
mykey="TEXT_DISC_BOTTOM"
:serv="true"
:type="costanti.FieldType.html"
>
<CMyFieldDb title="Testo a piè pagina" mykey="TEXT_DISC_BOTTOM" :serv="true"
:type="costanti.FieldType.html">
</CMyFieldDb>
</div>
</q-tab-panel>
<q-tab-panel name="main_settings">
<div
class="q-ma-xs q-pa-xs text-center rounded-borders q-list--bordered"
>
<div class="q-ma-xs q-pa-xs text-center rounded-borders q-list--bordered">
<CTitleBanner title="Impostazioni Server:"></CTitleBanner>
<CMyFieldDb
title="Email da cui Inviare la Newsletter"
mykey="EMAIL_FROM"
:serv="true"
:type="costanti.FieldType.string"
>
<CMyFieldDb title="Email da cui Inviare la Newsletter" mykey="EMAIL_FROM" :serv="true"
:type="costanti.FieldType.string">
</CMyFieldDb>
<CMyFieldDb
title="Email di Reply"
mykey="EMAIL_REPLY"
:serv="true"
:type="costanti.FieldType.string"
>
<CMyFieldDb title="Email di Reply" mykey="EMAIL_REPLY" :serv="true" :type="costanti.FieldType.string">
</CMyFieldDb>
<CMyFieldDb
title="Password email"
mykey="PWD_FROM"
:serv="true"
:type="costanti.FieldType.password"
>
<CMyFieldDb title="Password email" mykey="PWD_FROM" :serv="true" :type="costanti.FieldType.password">
</CMyFieldDb>
<CMyFieldDb
title="Servizio SMTP Email ('gmail' per inviare email da Gmail)"
mykey="EMAIL_SERVICE_SEND"
:serv="true"
:type="costanti.FieldType.string"
>
<CMyFieldDb title="Servizio SMTP Email ('gmail' per inviare email da Gmail)" mykey="EMAIL_SERVICE_SEND"
:serv="true" :type="costanti.FieldType.string">
</CMyFieldDb>
<CMyFieldDb
title="Porta SMTP"
mykey="EMAIL_PORT"
:serv="true"
:type="costanti.FieldType.number"
>
<CMyFieldDb title="Porta SMTP" mykey="EMAIL_PORT" :serv="true" :type="costanti.FieldType.number">
</CMyFieldDb>
<CMyFieldDb
title="Millisecondi di pausa tra una email e l'altra"
mykey="MSEC_PAUSE_SEND"
:serv="true"
:type="costanti.FieldType.number"
>
<CMyFieldDb title="Millisecondi di pausa tra una email e l'altra" mykey="MSEC_PAUSE_SEND" :serv="true"
:type="costanti.FieldType.number">
</CMyFieldDb>
</div>
</q-tab-panel>
<q-tab-panel name="events">
<CTitleBanner title="Altre Impostazioni:"></CTitleBanner>
<CMyFieldDb
title="Messaggio dopo che l'utente ha Prenotato un Evento"
mykey="MSG_REPLY_AFTER_BOOKING"
:serv="true"
:type="costanti.FieldType.string"
>
<CMyFieldDb title="Messaggio dopo che l'utente ha Prenotato un Evento" mykey="MSG_REPLY_AFTER_BOOKING"
:serv="true" :type="costanti.FieldType.string">
</CMyFieldDb>
</q-tab-panel>
<q-tab-panel name="templemail">
<CTitleBanner title="Modelli Email:"></CTitleBanner>
<CGridTableRec
prop_mytitle=""
prop_mytable="templemail"
:prop_mycolumns="getcoltemplemail()"
<CGridTableRec prop_mytitle="" prop_mytable="templemail" :prop_mycolumns="getcoltemplemail()"
:prop_colkey="fieldsTable.getKeyByTable('templemail')"
nodataLabel="Nessuna Email Template attualmente creata"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato"
>
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>
</q-tab-panel>
<q-tab-panel name="newnewsletter">
<div
class="q-ma-md q-pa-sm text-center rounded-borders q-list--bordered"
>
<div class="q-ma-md q-pa-sm text-center rounded-borders q-list--bordered">
<CTitleBanner title="Test Invio Newsletter:"></CTitleBanner>
<div class="q-pa-xs q-ma-md q-gutter-md">
<q-btn
v-if="tools.isDebug()"
:loading="myloadingprew"
rounded
outline
@click="sendNewsletterTest(true)"
color="primary"
icon="fas fa-desktop"
>
<q-btn v-if="tools.isDebug()" :loading="myloadingprew" rounded outline @click="sendNewsletterTest(true)"
color="primary" icon="fas fa-desktop">
<span class="q-px-sm">Anteprima</span>
<template v-slot:loading>
<q-spinner-hourglass class="on-left" />
@@ -229,21 +108,10 @@
</template>
</q-btn>
<div class="text-center">
<CMyFieldDb
title="Email di Test"
mykey="EMAIL_TEST"
:serv="true"
:type="costanti.FieldType.string"
>
<CMyFieldDb title="Email di Test" mykey="EMAIL_TEST" :serv="true" :type="costanti.FieldType.string">
</CMyFieldDb>
<q-btn
:loading="myloading"
rounded
outline
@click="sendNewsletterTest(false)"
color="primary"
icon="email"
>
<q-btn :loading="myloading" rounded outline @click="sendNewsletterTest(false)" color="primary"
icon="email">
<span class="q-px-sm">Invia Email di Test</span>
<template v-slot:loading>
<q-spinner-hourglass class="on-left" />
@@ -252,66 +120,35 @@
</q-btn>
</div>
</div>
<div
class="q-ma-xs q-pa-sm text-center rounded-borders q-list--bordered"
>
<div class="q-ma-xs q-pa-sm text-center rounded-borders q-list--bordered">
<CTitleBanner title="Invia Newsletter:"></CTitleBanner>
<div class="q-pa-xs q-ma-md q-gutter-md">
<CMyFieldDb
title="Template Email da Inviare"
mykey="TEMPLEMAIL_ID"
:serv="true"
:type="costanti.FieldType.select"
jointable="templemail"
>
<CMyFieldDb title="Template Email da Inviare" mykey="TEMPLEMAIL_ID" :serv="true"
:type="costanti.FieldType.select" jointable="templemail">
</CMyFieldDb>
<q-btn
:loading="myloading2"
rounded
outline
@click="createNewsletter(3, myloading2)"
color="primary"
icon="fas fa-file-alt"
>
<span class="q-px-sm"
>Crea Nuovo Invio Newsletter Schedulato tra 3 minuti</span
>
<q-btn :loading="myloading2" rounded outline @click="createNewsletter(3, myloading2)" color="primary"
icon="fas fa-file-alt">
<span class="q-px-sm">Crea Nuovo Invio Newsletter Schedulato tra 3 minuti</span>
<template v-slot:loading>
<q-spinner-hourglass class="on-left" />
Creazione Newsletter...
</template>
</q-btn>
<br />
<q-btn
:loading="myloading3"
rounded
outline
@click="createNewsletter(10, myloading3)"
color="primary"
icon="fas fa-clock"
>
<span class="q-px-sm"
>Crea Nuovo Invio Newsletter Schedulato tra 10 minuti</span
>
<q-btn :loading="myloading3" rounded outline @click="createNewsletter(10, myloading3)" color="primary"
icon="fas fa-clock">
<span class="q-px-sm">Crea Nuovo Invio Newsletter Schedulato tra 10 minuti</span>
<template v-slot:loading>
<q-spinner-hourglass class="on-left" />
Creazione Newsletter
</template>
</q-btn>
<br />
<q-btn
:loading="myloading4"
rounded
outline
@click="createNewsletter(60 * 60 * 24, myloading4)"
color="primary"
icon="fas fa-calendar-day"
>
<span class="q-px-sm"
>Crea Nuovo Invio Newsletter Schedulato tra 1 giorno</span
>
<q-btn :loading="myloading4" rounded outline @click="createNewsletter(60 * 60 * 24, myloading4)"
color="primary" icon="fas fa-calendar-day">
<span class="q-px-sm">Crea Nuovo Invio Newsletter Schedulato tra 1 giorno</span>
<template v-slot:loading>
<q-spinner-hourglass class="on-left" />
Creazione Newsletter...
@@ -321,37 +158,20 @@
</div>
<div class="q-ma-md rounded-borders q-list--bordered">
<div class="text-center">
<CTitleBanner
title="Prossima Newsletter da Inviare:"
></CTitleBanner>
<CTitleBanner title="Prossima Newsletter da Inviare:"></CTitleBanner>
</div>
<div
v-if="newsstate.nextnewstosent"
class="q-ma-md q-pa-sm text-center rounded-borders q-list--bordered"
>
<div v-if="newsstate.nextnewstosent" class="q-ma-md q-pa-sm text-center rounded-borders q-list--bordered">
<q-card class="bg-grey-3 relative-position card-example">
<q-card-section>
<q-chip
dense
class="shadow-5 q-mb-md"
color="orange"
text-color="white"
icon="schedule"
>
<q-chip dense class="shadow-5 q-mb-md" color="orange" text-color="white" icon="schedule">
Modello Email da Inviare:
<span class="mlvalue">{{
newsstate.nextnewstosent.templemail_str
}}</span>
}}</span>
</q-chip>
<br />
<q-chip
dense
class="shadow-5 q-mb-md"
color="blue"
text-color="white"
icon="schedule"
>
<q-chip dense class="shadow-5 q-mb-md" color="blue" text-color="white" icon="schedule">
Data Schedulato:
<span class="mlvalue">{{
tools.getstrDateTimeAll(
@@ -360,13 +180,7 @@
}}</span>
</q-chip>
<br />
<q-chip
dense
class="shadow-5 q-mb-md"
color="blue"
text-color="white"
icon="schedule"
>
<q-chip dense class="shadow-5 q-mb-md" color="blue" text-color="white" icon="schedule">
Inizio Invio:
<span class="mlvalue">{{
tools.getstrDateTimeAll(
@@ -375,13 +189,7 @@
}}</span>
</q-chip>
<q-chip
dense
class="shadow-5 q-mb-md"
color="blue"
text-color="white"
icon="schedule"
>
<q-chip dense class="shadow-5 q-mb-md" color="blue" text-color="white" icon="schedule">
Fine Invio:
<span class="mlvalue">{{
tools.getstrDateTimeAll(
@@ -390,33 +198,17 @@
}}</span>
</q-chip>
<br />
<div
v-if="
newsstate.nextnewstosent.starting_job &&
!newsstate.nextnewstosent.finish_job
"
>
<q-chip
dense
class="shadow-5 q-mb-md"
color="orange"
text-color="white"
icon="email"
>
<span class="mlvalue"
>Invio Newsletter in Corso...</span
>
<div v-if="
newsstate.nextnewstosent.starting_job &&
!newsstate.nextnewstosent.finish_job
">
<q-chip dense class="shadow-5 q-mb-md" color="orange" text-color="white" icon="email">
<span class="mlvalue">Invio Newsletter in Corso...</span>
</q-chip>
<br />
</div>
<div>
<q-chip
dense
class="shadow-5 q-mb-md"
color="blue"
text-color="white"
icon="schedule"
>
<q-chip dense class="shadow-5 q-mb-md" color="blue" text-color="white" icon="schedule">
Ultima Email inviata:
<span class="mlvalue">{{
tools.getstrTimeAll(
@@ -424,53 +216,24 @@
)
}}</span>
</q-chip>
<q-chip
dense
class="shadow-5 q-mb-md"
color="blue"
text-color="white"
icon="email"
>
<q-chip dense class="shadow-5 q-mb-md" color="blue" text-color="white" icon="email">
Inviate:
<span class="mlvalue"
>{{ newsstate.nextnewstosent.numemail_sent }} /
{{ newsstate.nextnewstosent.numemail_tot }}</span
>
<span class="mlvalue">{{ newsstate.nextnewstosent.numemail_sent }} /
{{ newsstate.nextnewstosent.numemail_tot }}</span>
</q-chip>
<q-circular-progress
show-value
font-size="12px"
:value="percsent(true)"
size="60px"
:thickness="0.22"
color="green"
track-color="grey-3"
class="q-ma-md"
>
<q-circular-progress show-value font-size="12px" :value="percsent(true)" size="60px"
:thickness="0.22" color="green" track-color="grey-3" class="q-ma-md">
<span class="mlvalue"> {{ percsent(true) }} % </span>
</q-circular-progress>
<div class="text-center">
<q-slider
v-model="newsstate.nextnewstosent.numemail_sent"
:min="0"
readonly
:max="newsstate.nextnewstosent.numemail_tot"
:step="1"
label
label-always
color="light-green"
></q-slider>
<q-slider v-model="newsstate.nextnewstosent.numemail_sent" :min="0" readonly
:max="newsstate.nextnewstosent.numemail_tot" :step="1" label label-always
color="light-green"></q-slider>
</div>
</div>
<div v-if="newsstate.nextnewstosent.finish_job">
<br />
<q-chip
dense
class="shadow-5 q-mb-md"
color="green"
text-color="white"
icon="email"
>
<q-chip dense class="shadow-5 q-mb-md" color="green" text-color="white" icon="email">
<span class="mlvalue">Invio Newsletter Completato</span>
</q-chip>
</div>
@@ -493,33 +256,18 @@
<CTitleBanner title="Ultima Newsletter Inviata:"></CTitleBanner>
</div>
<div
v-if="newsstate.lastnewstosent"
class="q-ma-md q-pa-sm text-center rounded-borders q-list--bordered"
>
<div v-if="newsstate.lastnewstosent" class="q-ma-md q-pa-sm text-center rounded-borders q-list--bordered">
<q-card class="bg-grey-3 relative-position card-example">
<q-card-section>
<q-chip
dense
class="shadow-5 q-mb-md"
color="orange"
text-color="white"
icon="schedule"
>
<q-chip dense class="shadow-5 q-mb-md" color="orange" text-color="white" icon="schedule">
Modello Email:
<span class="mlvalue">{{
newsstate.lastnewstosent.templemail_str
}}</span>
}}</span>
</q-chip>
<div class="text-center"></div>
<q-chip
dense
class="shadow-5 q-mb-md"
color="blue"
text-color="white"
icon="schedule"
>
<q-chip dense class="shadow-5 q-mb-md" color="blue" text-color="white" icon="schedule">
Data Schedulato:
<span class="mlvalue">{{
tools.getstrDateTimeAll(
@@ -528,13 +276,7 @@
}}</span>
</q-chip>
<br />
<q-chip
dense
class="shadow-5 q-mb-md"
color="blue"
text-color="white"
icon="schedule"
>
<q-chip dense class="shadow-5 q-mb-md" color="blue" text-color="white" icon="schedule">
Inizio Invio:
<span class="mlvalue">{{
tools.getstrDateTimeAll(
@@ -543,13 +285,7 @@
}}</span>
</q-chip>
<q-chip
dense
class="shadow-5 q-mb-md"
color="blue"
text-color="white"
icon="schedule"
>
<q-chip dense class="shadow-5 q-mb-md" color="blue" text-color="white" icon="schedule">
Fine Invio:
<span class="mlvalue">{{
tools.getstrDateTimeAll(
@@ -558,48 +294,26 @@
}}</span>
</q-chip>
<br />
<div
v-if="
newsstate.lastnewstosent.activate &&
newsstate.lastnewstosent.starting_job &&
!newsstate.lastnewstosent.finish_job
"
>
<q-chip
dense
class="shadow-5 q-mb-md"
color="orange"
text-color="white"
icon="email"
>
<div v-if="
newsstate.lastnewstosent.activate &&
newsstate.lastnewstosent.starting_job &&
!newsstate.lastnewstosent.finish_job
">
<q-chip dense class="shadow-5 q-mb-md" color="orange" text-color="white" icon="email">
<span class="mlvalue">Invio Newsletter in Corso...</span>
</q-chip>
<br />
</div>
<div v-if="!newsstate.lastnewstosent.activate">
<q-chip
dense
class="shadow-5 q-mb-md"
color="red"
text-color="white"
icon="email"
>
<span class="mlvalue"
>L'invio della Newsletter è stato fermato
dall'Utente.</span
>
<q-chip dense class="shadow-5 q-mb-md" color="red" text-color="white" icon="email">
<span class="mlvalue">L'invio della Newsletter è stato fermato
dall'Utente.</span>
</q-chip>
<br />
</div>
<div>
<q-chip
dense
class="shadow-5 q-mb-md"
color="blue"
text-color="white"
icon="schedule"
>
<q-chip dense class="shadow-5 q-mb-md" color="blue" text-color="white" icon="schedule">
Ultima Email inviata:
<span class="mlvalue">{{
tools.getstrTimeAll(
@@ -607,82 +321,39 @@
)
}}</span>
</q-chip>
<q-chip
dense
class="shadow-5 q-mb-md"
color="blue"
text-color="white"
icon="email"
>
<q-chip dense class="shadow-5 q-mb-md" color="blue" text-color="white" icon="email">
Inviate:
<span class="mlvalue"
>{{ newsstate.lastnewstosent.numemail_sent }} /
{{ newsstate.lastnewstosent.numemail_tot }}</span
>
<span class="mlvalue">{{ newsstate.lastnewstosent.numemail_sent }} /
{{ newsstate.lastnewstosent.numemail_tot }}</span>
</q-chip>
<q-circular-progress
show-value
font-size="12px"
:value="percsent(false)"
size="60px"
:thickness="0.5"
color="green"
track-color="grey-3"
class="q-ma-md"
>
<q-circular-progress show-value font-size="12px" :value="percsent(false)" size="60px"
:thickness="0.5" color="green" track-color="grey-3" class="q-ma-md">
<span class="mlvalue"> {{ percsent(false) }} % </span>
</q-circular-progress>
<div class="text-center">
<q-slider
v-model="newsstate.lastnewstosent.numemail_sent"
:min="0"
readonly
:max="newsstate.lastnewstosent.numemail_tot"
:step="1"
label
label-always
color="light-green"
></q-slider>
<q-slider v-model="newsstate.lastnewstosent.numemail_sent" :min="0" readonly
:max="newsstate.lastnewstosent.numemail_tot" :step="1" label label-always
color="light-green"></q-slider>
</div>
</div>
<div v-if="newsstate.lastnewstosent.finish_job">
<br />
<q-chip
dense
class="shadow-5 q-mb-md"
color="green"
text-color="white"
icon="email"
>
<q-chip dense class="shadow-5 q-mb-md" color="green" text-color="white" icon="email">
<span class="mlvalue">Invio Newsletter Completato</span>
</q-chip>
</div>
<div v-if="!newsstate.lastnewstosent.finish_job">
<q-btn
v-if="newsstate.lastnewstosent.activate"
:loading="myloadingState"
rounded
outline
@click="DisableNewsletter()"
color="negative"
icon=""
>
<q-btn v-if="newsstate.lastnewstosent.activate" :loading="myloadingState" rounded outline
@click="DisableNewsletter()" color="negative" icon="">
Ferma l'Invio della Newsletter
<template v-slot:loading>
<q-spinner-hourglass class="on-left" />
Disattivazione Invio Newsletter ...
</template>
</q-btn>
<q-btn
v-if="!newsstate.lastnewstosent.activate"
:loading="myloadingState"
rounded
outline
@click="EnableNewsletter()"
color="positive"
icon=""
>
<q-btn v-if="!newsstate.lastnewstosent.activate" :loading="myloadingState" rounded outline
@click="EnableNewsletter()" color="positive" icon="">
Riattiva l'Invio della Newsletter
<template v-slot:loading>
<q-spinner-hourglass class="on-left" />
@@ -700,110 +371,51 @@
</q-tab-panel>
<q-tab-panel name="newslist">
<CTitleBanner
bgcolor="bg-accent"
title="Lista Newsletter Inviate:"
></CTitleBanner>
<CTitleBanner bgcolor="bg-accent" title="Lista Newsletter Inviate:"></CTitleBanner>
<CGridTableRec
prop_mytitle="Newsletter"
prop_mytable="newstosent"
:prop_mycolumns="getcolnewstosent()"
:prop_colkey="fieldsTable.getKeyByTable('newstosent')"
nodataLabel="Nessuna Newsletter attualmente creata"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato"
>
<CGridTableRec prop_mytitle="Newsletter" prop_mytable="newstosent" :prop_mycolumns="getcolnewstosent()"
:prop_colkey="fieldsTable.getKeyByTable('newstosent')" nodataLabel="Nessuna Newsletter attualmente creata"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>
</q-tab-panel>
<q-tab-panel name="mailinglist">
<div class="q-ma-md rounded-borders q-list--bordered">
<CTitleBanner
title="Lista Contatti:"
bgcolor="bg-positive"
></CTitleBanner>
<CTitleBanner title="Lista Contatti:" bgcolor="bg-positive"></CTitleBanner>
<div
class="q-ma-md q-pa-sm text-center rounded-borders q-list--bordered"
>
<q-chip
dense
class="shadow-5 q-mb-md"
color="blue"
text-color="white"
icon="email"
>
<div class="q-ma-md q-pa-sm text-center rounded-borders q-list--bordered">
<q-chip dense class="shadow-5 q-mb-md" color="blue" text-color="white" icon="email">
Email Totali:
<span class="mlvalue">{{ newsstate.totemail }}</span>
</q-chip>
<q-chip
dense
class="shadow-5 q-mb-md"
color="green"
text-color="white"
icon="event_available"
>
<q-chip dense class="shadow-5 q-mb-md" color="green" text-color="white" icon="event_available">
Email Sottoscritte:
<span class="mlvalue">{{ newsstate.totsubscribed }}</span>
</q-chip>
<q-circular-progress
show-value
font-size="12px"
:value="percsubscribed * 100"
size="60px"
:thickness="0.22"
color="green"
track-color="grey-3"
class="q-ma-md"
>
<q-circular-progress show-value font-size="12px" :value="percsubscribed * 100" size="60px"
:thickness="0.22" color="green" track-color="grey-3" class="q-ma-md">
<span class="mlvalue"> {{ progresslabsubscribed() }} </span>
</q-circular-progress>
<q-chip
dense
class="shadow-5 q-mb-md"
color="orange"
text-color="white"
icon=""
>
<q-chip dense class="shadow-5 q-mb-md" color="orange" text-color="white" icon="">
Email Desottoscritte:
<span class="mlvalue">{{ newsstate.totunsubscribed }}</span>
</q-chip>
</div>
<CGridTableRec
prop_mytitle="Lista Contatti"
:prop_mytable="toolsext.TABMAILINGLIST"
:prop_mycolumns="getcolmailinglist()"
:prop_colkey="fieldsTable.getKeyByTable('mailinglist')"
<CGridTableRec prop_mytitle="Lista Contatti" :prop_mytable="toolsext.TABMAILINGLIST"
:prop_mycolumns="getcolmailinglist()" :prop_colkey="fieldsTable.getKeyByTable('mailinglist')"
nodataLabel="Nessuna Lista Contatti attualmente creata"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato"
>
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>
<CTitleBanner title="Importa lista di Email:"></CTitleBanner>
<div
class="q-ma-md q-pa-sm text-center rounded-borders q-list--bordered"
>
<q-input
v-model="mailinglist_imported"
autofocus
filled
bordered
color="blue-12"
@keyup.enter.stop
type="textarea"
>
<div class="q-ma-md q-pa-sm text-center rounded-borders q-list--bordered">
<q-input v-model="mailinglist_imported" autofocus filled bordered color="blue-12" @keyup.enter.stop
type="textarea">
</q-input>
<div class="q-ma-md q-pa-sm text-center">
<q-btn
:loading="myloadingImport"
rounded
outline
:disable="mailinglist_imported === ''"
@click="importMailinglist()"
color="primary"
icon="email"
>
<q-btn :loading="myloadingImport" rounded outline :disable="mailinglist_imported === ''"
@click="importMailinglist()" color="primary" icon="email">
Importa
<template v-slot:loading>
<q-spinner-hourglass class="on-left" />
@@ -812,21 +424,10 @@
</q-btn>
</div>
<transition
enter-active-class="animated fadeIn"
leave-active-class="animated fadeOut"
appear
>
<transition enter-active-class="animated fadeIn" leave-active-class="animated fadeOut" appear>
<div>
<CTitleBanner
v-if="errimport"
bgcolor="bg-warning"
:title="myrisimport"
></CTitleBanner>
<CTitleBanner
v-if="okimport"
:title="myrisimport"
></CTitleBanner>
<CTitleBanner v-if="errimport" bgcolor="bg-warning" :title="myrisimport"></CTitleBanner>
<CTitleBanner v-if="okimport" :title="myrisimport"></CTitleBanner>
</div>
</transition>
</div>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Operatori" imgbackground="images/calendario_eventi.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'operators',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Operatori" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'operators',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Operatori"></CTitleBanner>
<CGridTableRec
prop_mytable="operators"
prop_mytitle="Lista Operatori"
:prop_mycolumns="fieldsTable.colOperators()"
prop_colkey="_id"
nodataLabel="Nessun Operatore"
<CGridTableRec prop_mytable="operators" prop_mytitle="Lista Operatori"
:prop_mycolumns="fieldsTable.colOperators()" prop_colkey="_id" nodataLabel="Nessun Operatore"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,22 +1,20 @@
<template>
<CMyPage title="Ordini" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<CMyPage title="Ordini" imgbackground="/images/produttori.jpg" sizes="max-height: 120px">
<span>{{ setmeta({
title: 'Ordini',
description: "",
keywords: '' } ) }}
keywords: ''
}) }}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Ordini"></CTitleBanner>
<CGridTableRec prop_mytable="orderscart"
prop_mytitle="Lista Ordini"
:prop_mycolumns="getcolorderscart"
prop_colkey="name"
nodataLabel="Nessun Ordine"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
<CGridTableRec prop_mytable="orderscart" prop_mytitle="Lista Ordini" :prop_mycolumns="getcolorderscart"
prop_colkey="name" nodataLabel="Nessun Ordine"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>
</div>
</CMyPage>
</template>
@@ -24,5 +22,5 @@
</script>
<style lang="scss" scoped>
@import 'orders.scss';
@import 'orders.scss';
</style>

View File

@@ -1,23 +1,18 @@
ù<template>
<CMyPage title="Pagine" imgbackground="images/calendario_eventi.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Pagine',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Pagine" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Pagine',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Pagine"></CTitleBanner>
<CGridTableRec
prop_mytable="mypages"
prop_mytitle="Lista Pagine"
:prop_mycolumns="colmypage"
prop_colkey="title"
nodataLabel="Nessuna Pagina"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
<CGridTableRec prop_mytable="mypages" prop_mytitle="Lista Pagine" :prop_mycolumns="colmypage" prop_colkey="title"
nodataLabel="Nessuna Pagina" noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>
</div>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Produttori" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Produttori',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Produttori" imgbackground="/images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Produttori',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Produttori"></CTitleBanner>
<CGridTableRec
prop_mytable="producers"
prop_mytitle="Lista Produttori"
:prop_mycolumns="colTableProducer"
prop_colkey="name"
nodataLabel="Nessun Produttore"
<CGridTableRec prop_mytable="producers" prop_mytitle="Lista Produttori" :prop_mycolumns="colTableProducer"
prop_colkey="name" nodataLabel="Nessun Produttore"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,23 +1,19 @@
<template>
<CMyPage title="Info Prodotti" imgbackground="images/prodotti.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Info Prodotti',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Info Prodotti" imgbackground="/images/prodotti.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Info Prodotti',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Info Prodotti"></CTitleBanner>
<CGridTableRec
prop_mytable="productinfos"
prop_mytitle="Lista Info Prodotti"
:prop_mycolumns="colTableProductInfos"
prop_colkey="name"
nodataLabel="Nessun Info Prodotto"
<CGridTableRec prop_mytable="productinfos" prop_mytitle="Lista Info Prodotti"
:prop_mycolumns="colTableProductInfos" prop_colkey="name" nodataLabel="Nessun Info Prodotto"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Fornitori" imgbackground="images/fornitori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Fornitori',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Fornitori" imgbackground="/images/fornitori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Fornitori',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Fornitori"></CTitleBanner>
<CGridTableRec
prop_mytable="providers"
prop_mytitle="Lista Fornitori"
:prop_mycolumns="colTableProviders"
prop_colkey="name"
nodataLabel="Nessun Fornitore"
<CGridTableRec prop_mytable="providers" prop_mytitle="Lista Fornitori" :prop_mycolumns="colTableProviders"
prop_colkey="name" nodataLabel="Nessun Fornitore"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Query AI" imgbackground="images/queryai.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Query AI',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Query AI" imgbackground="/images/queryai.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Query AI',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Query AI"></CTitleBanner>
<CGridTableRec
prop_mytable="queryais"
prop_mytitle="Query AI"
:prop_mycolumns="colTableQueryAI"
prop_colkey="name"
nodataLabel="Nessuna Query AI"
<CGridTableRec prop_mytable="queryais" prop_mytitle="Query AI" :prop_mycolumns="colTableQueryAI"
prop_colkey="name" nodataLabel="Nessuna Query AI"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Scontistica" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Scontistica',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Scontistica" imgbackground="/images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Scontistica',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Scontistica"></CTitleBanner>
<CGridTableRec
prop_mytable="scontisticas"
prop_mytitle="Lista Scontistica"
:prop_mycolumns="colTableScontistica"
prop_colkey="code"
nodataLabel="Nessuna Scontistica"
<CGridTableRec prop_mytable="scontisticas" prop_mytitle="Lista Scontistica" :prop_mycolumns="colTableScontistica"
prop_colkey="code" nodataLabel="Nessuna Scontistica"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Condividi" imgbackground="images/sharewithus.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Condividi',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Condividi" imgbackground="/images/sharewithus.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Condividi',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Condividi Con Noi"></CTitleBanner>
<CGridTableRec
prop_mytable="sharewithus"
prop_mytitle="Lista Condivisioni"
:prop_mycolumns="colTableShareWithUs"
prop_colkey="description"
nodataLabel="Nessuna Condivisione"
<CGridTableRec prop_mytable="sharewithus" prop_mytitle="Lista Condivisioni" :prop_mycolumns="colTableShareWithUs"
prop_colkey="description" nodataLabel="Nessuna Condivisione"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,24 +1,19 @@
<template>
<CMyPage title="Siti" imgbackground="images/calendario_eventi.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Siti',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Siti" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Siti',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Siti Web"></CTitleBanner>
<CGridTableRec
prop_mytable="sites"
prop_mytitle="Lista Siti"
:prop_mycolumns="colTableSites"
prop_colkey="name"
nodataLabel="Nessun Sito"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
<CGridTableRec prop_mytable="sites" prop_mytitle="Lista Siti" :prop_mycolumns="colTableSites" prop_colkey="name"
nodataLabel="Nessun Sito" noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>
</div>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Magazzini" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Magazzini',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Magazzini" imgbackground="/images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Magazzini',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Magazzini"></CTitleBanner>
<CGridTableRec
prop_mytable="storehouses"
prop_mytitle="Lista Magazzini"
:prop_mycolumns="colTableStorehouse"
prop_colkey="name"
nodataLabel="Nessun Magazzino"
<CGridTableRec prop_mytable="storehouses" prop_mytitle="Lista Magazzini" :prop_mycolumns="colTableStorehouse"
prop_colkey="name" nodataLabel="Nessun Magazzino"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>

View File

@@ -1,22 +1,18 @@
<template>
<CMyPage title="Sotto Categorie" imgbackground="images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Sotto Categorie',
description: '',
keywords: '',
})
}}
</span>
<CMyPage title="Sotto Categorie" imgbackground="/images/produttori.jpg" sizes="max-height: 120px">
<span>{{
setmeta({
title: 'Sotto Categorie',
description: '',
keywords: '',
})
}}
</span>
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<CTitleBanner title="Sotto Categorie"></CTitleBanner>
<CGridTableRec
prop_mytable="subcatprods"
prop_mytitle="Sotto Categorie"
:prop_mycolumns="colTableSubCatProd"
prop_colkey="name"
nodataLabel="Nessuna Sotto-Categoria"
<CGridTableRec prop_mytable="subcatprods" prop_mytitle="Sotto Categorie" :prop_mycolumns="colTableSubCatProd"
prop_colkey="name" nodataLabel="Nessuna Sotto-Categoria"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
</CGridTableRec>