- 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

4
.env
View File

@@ -1,6 +1,6 @@
VITE_APP_VERSION="1.2.17"
VITE_APP_VERSION="1.2.18"
VITE_LANG_DEFAULT="it"
VITE_PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
VITE_SERVICE_WORKER_FILE="sw-1.2.17.js"
VITE_SERVICE_WORKER_FILE="sw-1.2.18.js"
VITE_PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
VITE_VUE_ROUTER_MODE="history"

View File

@@ -10,7 +10,7 @@
<meta name="description" content="<%= productDescription %>">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="version" content="1.2.17">
<meta name="version" content="1.2.18">
<meta name="viewport"
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">

View File

@@ -1,6 +1,6 @@
{
"name": "riso",
"version": "1.2.17",
"version": "1.2.18",
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
"productName": "Riso",
"author": "Surya",

View File

@@ -366,7 +366,7 @@ export default defineConfig((ctx) => {
// https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa
pwa: {
workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest'
swFilename: 'sw-' + "1.2.17" + '.js',
swFilename: 'sw-' + "1.2.18" + '.js',
workboxOptions: {
swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista
},

View File

@@ -4,7 +4,6 @@ import {
IPreloadImages,
ISites,
} from '@model'
import { func } from '@store/Modules/fieldsTable'
// const SHOW_PROJINTHEMENU = false

View File

@@ -1,6 +1,6 @@
{
"name": "riso",
"version": "1.2.17",
"version": "1.2.18",
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
"productName": "Riso",
"author": "Surya",

View File

@@ -6,7 +6,6 @@ import {
IPreloadImages,
ISites,
} from '@model'
import { func } from '@store/Modules/fieldsTable'
// const SHOW_PROJINTHEMENU = false

View File

@@ -1,6 +1,6 @@
{
"name": "gruppomacro",
"version": "1.2.17",
"version": "1.2.18",
"description": "Gruppo Macro",
"productName": "Gruppo Macro",
"author": "Surya",

View File

@@ -360,7 +360,7 @@ export default defineConfig((ctx) => {
pwa: {
workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest'
swFilename: 'sw-' + "1.2.17" + '.js',
swFilename: 'sw-' + "1.2.18" + '.js',
workboxOptions: {
swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista
},

View File

@@ -11,17 +11,17 @@
"start_url": "/?homescreen=1",
"icons": [
{
"src": "images/gm-android-icon-512x512.png",
"src": "/images/gm-android-icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "images/gm-android-icon-192x192.png",
"src": "/images/gm-android-icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "images/gm-apple-touch-icon.png",
"src": "/images/gm-apple-touch-icon.png",
"sizes": "180x180",
"type": "image/png"
}

View File

@@ -6,7 +6,6 @@ import {
IPreloadImages,
ISites,
} from '@model'
import { func } from '@store/Modules/fieldsTable'
// const SHOW_PROJINTHEMENU = false

View File

@@ -6,7 +6,6 @@ import type {
IPreloadImages,
ISites,
} from '@model'
import { func } from '@store/Modules/fieldsTable'
const firstPage = {

View File

@@ -1,6 +1,6 @@
{
"name": "piuchebuono",
"version": "1.2.17",
"version": "1.2.18",
"description": "PiuCheBuono",
"productName": "PiuCheBuono",
"author": "Surya",

View File

@@ -360,7 +360,7 @@ export default defineConfig((ctx) => {
pwa: {
workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest'
swFilename: 'sw-' + "1.2.17" + '.js',
swFilename: 'sw-' + "1.2.18" + '.js',
workboxOptions: {
swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista
},

View File

@@ -11,47 +11,47 @@
"start_url": "/?homescreen=1",
"icons": [
{
"src:": "images/pcb-android-icon-512x512.png",
"src:": "/images/pcb-android-icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src:": "images/pcb-android-icon-384x384.png",
"src:": "/images/pcb-android-icon-384x384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src:": "images/pcb-android-icon-192x192.png",
"src:": "/images/pcb-android-icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src:": "images/pcb-android-icon-144x144.png",
"src:": "/images/pcb-android-icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src:": "images/pcb-android-icon-96x96.png",
"src:": "/images/pcb-android-icon-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src:": "images/pcb-apple-icon-120x120.png",
"src:": "/images/pcb-apple-icon-120x120.png",
"sizes": "120x120",
"type": "image/png"
},
{
"src:": "images/pcb-apple-icon-144x144.png",
"src:": "/images/pcb-apple-icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src:": "images/pcb-apple-icon-152x152.png",
"src:": "/images/pcb-apple-icon-152x152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src:": "images/pcb-apple-icon-180x180.png",
"src:": "/images/pcb-apple-icon-180x180.png",
"sizes": "180x180",
"type": "image/png"
}

View File

@@ -6,7 +6,6 @@ import type {
IPreloadImages,
ISites,
} from '@model'
import { func } from '@store/Modules/fieldsTable'
const firstPage = {

View File

@@ -1,6 +1,6 @@
{
"name": "riso",
"version": "1.2.17",
"version": "1.2.18",
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
"productName": "Riso",
"author": "Surya",

View File

@@ -366,7 +366,7 @@ export default defineConfig((ctx) => {
// https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa
pwa: {
workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest'
swFilename: 'sw-' + "1.2.17" + '.js',
swFilename: 'sw-' + "1.2.18" + '.js',
workboxOptions: {
swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista
},

View File

@@ -11,47 +11,47 @@
"start_url": "/?homescreen=1",
"icons": [
{
"src:": "images/riso-android-icon-512x512.png",
"src:": "/images/riso-android-icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src:": "images/riso-android-icon-384x384.png",
"src:": "/images/riso-android-icon-384x384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src:": "images/riso-android-icon-192x192.png",
"src:": "/images/riso-android-icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src:": "images/riso-android-icon-144x144.png",
"src:": "/images/riso-android-icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src:": "images/riso-android-icon-96x96.png",
"src:": "/images/riso-android-icon-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src:": "images/riso-apple-icon-120x120.png",
"src:": "/images/riso-apple-icon-120x120.png",
"sizes": "120x120",
"type": "image/png"
},
{
"src:": "images/riso-apple-icon-144x144.png",
"src:": "/images/riso-apple-icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src:": "images/riso-apple-icon-152x152.png",
"src:": "/images/riso-apple-icon-152x152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src:": "images/riso-apple-icon-180x180.png",
"src:": "/images/riso-apple-icon-180x180.png",
"sizes": "180x180",
"type": "image/png"
}

View File

@@ -6,7 +6,6 @@ import type {
IPreloadImages,
ISites,
} from '@model'
import { func } from '@store/Modules/fieldsTable'
// const SHOW_PROJINTHEMENU = false

View File

@@ -80,7 +80,7 @@ self.addEventListener('activate', (event) => {
);
});
const VITE_APP_VERSION = "1.2.17";
const VITE_APP_VERSION = "1.2.18";
console.log(' [ VER-' + VITE_APP_VERSION + ' ] _---------________------ PAO: this is my custom service worker: ' + ORA);

View File

@@ -11,47 +11,47 @@
"start_url": "/?homescreen=1",
"icons": [
{
"src:": "images/riso-android-icon-512x512.png",
"src:": "/images/riso-android-icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src:": "images/riso-android-icon-384x384.png",
"src:": "/images/riso-android-icon-384x384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src:": "images/riso-android-icon-192x192.png",
"src:": "/images/riso-android-icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src:": "images/riso-android-icon-144x144.png",
"src:": "/images/riso-android-icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src:": "images/riso-android-icon-96x96.png",
"src:": "/images/riso-android-icon-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src:": "images/riso-apple-icon-120x120.png",
"src:": "/images/riso-apple-icon-120x120.png",
"sizes": "120x120",
"type": "image/png"
},
{
"src:": "images/riso-apple-icon-144x144.png",
"src:": "/images/riso-apple-icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src:": "images/riso-apple-icon-152x152.png",
"src:": "/images/riso-apple-icon-152x152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src:": "images/riso-apple-icon-180x180.png",
"src:": "/images/riso-apple-icon-180x180.png",
"sizes": "180x180",
"type": "image/png"
}

View File

@@ -19,8 +19,8 @@
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
<link rel="icon" type="image/ico" href="favicon.ico">
</head>

File diff suppressed because it is too large Load Diff

View File

@@ -8,93 +8,43 @@
<div v-if="!isAppRunning">
<!-- App not running -->
<q-btn
v-if="deferredPrompt"
glossy
size="xl"
label="Installa App"
@click="installApp"
icon="fas fa-mobile-alt"
color="green"
text-color="white"
></q-btn>
<q-btn v-if="deferredPrompt" glossy size="xl" label="Installa App" @click="installApp" icon="fas fa-mobile-alt"
color="green" text-color="white"></q-btn>
<div v-else>
<div v-if="$q.platform.is.ios && $q.platform.is.safari && !tools.isDevelop()">
<q-btn
glossy
size="xl"
label="Installa App"
@click="viewiOS = !viewiOS"
icon="fab fa-apple"
color="green"
text-color="white"
></q-btn>
<q-btn glossy size="xl" label="Installa App" @click="viewiOS = !viewiOS" icon="fab fa-apple" color="green"
text-color="white"></q-btn>
<q-slide-transition>
<!-- Mostra spiegazione per iOS -->
<div v-if="viewiOS">
<q-img
src="images/install_app_on_ios_1.png"
fit="contain"
style="min-width: 350px"
class="q-my-sm"
></q-img
><br />
<q-img src="/images/install_app_on_ios_1.png" fit="contain" style="min-width: 350px"
class="q-my-sm"></q-img><br />
<q-img
src="images/install_app_on_ios_1b.jpg"
class="q-mb-md"
></q-img
><br />
<q-img src="/images/install_app_on_ios_1b.jpg" class="q-mb-md"></q-img><br />
<q-img
src="images/install_app_on_ios_2.jpg"
fit="contain"
></q-img>
<q-img src="/images/install_app_on_ios_2.jpg" fit="contain"></q-img>
</div>
</q-slide-transition>
</div>
<div v-if="$q.platform.is.android">
<q-btn
v-if="!tools.isDevelop()"
glossy
size="lg"
label="Installa App"
@click="viewAndroid = !viewAndroid"
icon="fab fa-android"
color="green"
text-color="white"
></q-btn>
<q-btn v-if="!tools.isDevelop()" glossy size="lg" label="Installa App" @click="viewAndroid = !viewAndroid"
icon="fab fa-android" color="green" text-color="white"></q-btn>
<q-slide-transition>
<!-- Mostra spiegazione per Android -->
<div v-if="viewAndroid">
<div class="q-ma-sm text-h6"> 1) Cliccare sui 3 puntini verticali<br>
2) Cliccare sulla voce 'Installa App' o 'Schermata Home'<br>
3) Andare sulla schermata HOME e cliccare sull'icona di RISO.
2) Cliccare sulla voce 'Installa App' o 'Schermata Home'<br>
3) Andare sulla schermata HOME e cliccare sull'icona di RISO.
</div>
<q-img
src="images/install_app_on_android_1.jpg"
fit="contain"
style="min-width: 350px"
class="q-my-sm"
></q-img
><br />
<q-img
src="images/install_app_on_android_2.jpg"
fit="contain"
style="min-width: 350px"
class="q-my-sm"
></q-img
><br />
><br />
<q-img
src="images/install_app_on_android_3.jpg"
fit="contain"
style="min-width: 350px"
class="q-my-sm"
></q-img
<q-img src="/images/install_app_on_android_1.jpg" fit="contain" style="min-width: 350px"
class="q-my-sm"></q-img><br />
<q-img src="/images/install_app_on_android_2.jpg" fit="contain" style="min-width: 350px"
class="q-my-sm"></q-img><br />
><br />
<q-img src="/images/install_app_on_android_3.jpg" fit="contain" style="min-width: 350px"
class="q-my-sm"></q-img><br />
</div>
</q-slide-transition>
</div>

View File

@@ -1,4 +1,4 @@
import type { PropType} from 'vue';
import type { PropType } from 'vue';
import { defineComponent, ref, computed, toRef, onMounted } from 'vue'
import { useUserStore } from '@store/UserStore'
import { useCircuitStore } from '@store/CircuitStore'
@@ -58,7 +58,6 @@ export default defineComponent({
tools,
non_hai_circuito_nazionale,
destin_non_ha_circuito_naz,
$q,
}
}
})

View File

@@ -6,15 +6,8 @@
<q-card v-if="isListImgValid" :class="getclass()" @click="apri">
<div v-for="(mygallery, index) in getlistimages()" :key="index">
<div v-if="index === 0">
<q-img
:src="tools.getsrcimg(mygallery, getrealdirectory())"
:class="getclimg()"
:alt="mygallery.alt"
>
<div
v-if="getnumimages() > 1"
class="absolute-bottom text-shadow no-padding"
>
<q-img :src="tools.getsrcimg(mygallery, getrealdirectory())" :class="getclimg()" :alt="mygallery.alt">
<div v-if="getnumimages() > 1" class="absolute-bottom text-shadow no-padding">
({{ getnumimages() }})
</div>
</q-img>
@@ -22,40 +15,23 @@
</div>
</q-card>
<div v-else-if="!isInModif && !isListImgValid && imagebak">
<q-card
v-if="imagebak !== costanti.NESSUN_IMMAGINE"
:class="getclass()"
@click="ImgFullScreen(mygallery)"
>
<q-card v-if="imagebak !== costanti.NESSUN_IMMAGINE" :class="getclass()" @click="ImgFullScreen(mygallery)">
<q-img :src="imagebak" :class="getclimg()"> </q-img>
</q-card>
</div>
<div v-else>
<q-card :class="getclass()" @click="apri">
<q-img src="images/noimg.png" :class="getclimg()" alt="no image">
<q-img src="/images/noimg.png" :class="getclimg()" alt="no image">
</q-img>
</q-card>
</div>
<q-btn
v-if="isInModif"
color="primary"
@click="apri"
icon="fas fa-file-upload"
:label="$t('gallery.load_image')"
>
<q-btn v-if="isInModif" color="primary" @click="apri" icon="fas fa-file-upload" :label="$t('gallery.load_image')">
</q-btn>
</div>
</div>
<div v-else>
<div v-if="!isListImgValid">
<q-btn
flat
round
color="blue"
icon="fas fa-tools"
size="md"
@click="apri"
></q-btn>
<q-btn flat round color="blue" icon="fas fa-tools" size="md" @click="apri"></q-btn>
</div>
<div v-else>
<div class="row">
@@ -63,24 +39,10 @@
v-model="order">-->
<div v-for="(mygallery, index) in getlistimages()" :key="index">
<div
class="q-pa-sm q-gutter-sm"
@dragenter="onDragEnter"
@dragleave="onDragLeave"
@dragover="onDragOver"
>
<q-card
:id="mygallery._id"
:class="getclass()"
:draggable="canModify"
@dragstart="onDragStart"
@drop="onDrop"
>
<q-img
:src="tools.getsrcimg(mygallery, getrealdirectory())"
:class="getclimg()"
:alt="mygallery.alt"
>
<div class="q-pa-sm q-gutter-sm" @dragenter="onDragEnter" @dragleave="onDragLeave" @dragover="onDragOver">
<q-card :id="mygallery._id" :class="getclass()" :draggable="canModify" @dragstart="onDragStart"
@drop="onDrop">
<q-img :src="tools.getsrcimg(mygallery, getrealdirectory())" :class="getclimg()" :alt="mygallery.alt">
<div class="absolute-bottom text-shadow">
<!-- <div class="text-h6 text-trans">{{ mygallery.description }} </div> -->
<div class="text-subtitle-carica text-trans">
@@ -97,120 +59,51 @@
</template>
</q-field>
<q-input
v-if="canModify"
v-model="mygallery.description"
dense
:label="$t('proj.longdescr')"
@keyup.enter.stop
@update:model-value="save"
debounce="1000"
autofocus
>
<q-input v-if="canModify" v-model="mygallery.description" dense :label="$t('proj.longdescr')"
@keyup.enter.stop @update:model-value="save" debounce="1000" autofocus>
</q-input>
<q-card-actions align="center">
<q-btn
v-if="canModify"
flat
round
color="blue"
icon="fas fa-copy"
size="sm"
@click="copytoclipboard(mygallery)"
></q-btn>
<q-btn
v-if="canModify"
flat
round
color="red"
icon="fas fa-trash-alt"
size="sm"
@click="deleteFile(mygallery)"
></q-btn>
<q-btn v-if="canModify" flat round color="blue" icon="fas fa-copy" size="sm"
@click="copytoclipboard(mygallery)"></q-btn>
<q-btn v-if="canModify" flat round color="red" icon="fas fa-trash-alt" size="sm"
@click="deleteFile(mygallery)"></q-btn>
</q-card-actions>
</q-card>
</div>
</div>
<div class="q-pa-sm">
<div
v-if="edit"
class="q-gutter-sm"
style="max-height: 200px; width: 208px"
>
<q-uploader
:label="
single &&
<div v-if="edit" class="q-gutter-sm" style="max-height: 200px; width: 208px">
<q-uploader :label="single &&
gallerylist.length > 0 &&
gallerylist[0].imagefile !== ''
? 'Sostituisci Immagine'
: 'Aggiungi Immagine'
"
accept="image/*"
:url="getUrl()"
:headers="tools.getheaders()"
:max-file-size="3000000"
:multiple="!single"
auto-upload
hide-upload-btn
no-thumbnails
@uploaded="uploaded"
@rejected="onRejected"
style="width: 208px"
></q-uploader>
? 'Sostituisci Immagine'
: 'Aggiungi Immagine'
" accept="image/*" :url="getUrl()" :headers="tools.getheaders()" :max-file-size="3000000"
:multiple="!single" auto-upload hide-upload-btn no-thumbnails @uploaded="uploaded" @rejected="onRejected"
style="width: 208px"></q-uploader>
</div>
</div>
</div>
</div>
</div>
<q-dialog
v-model="displayGall"
persistent
:maximized="maximizedToggle"
transition-show="slide-up"
transition-hide="slide-down"
>
<q-dialog v-model="displayGall" persistent :maximized="maximizedToggle" transition-show="slide-up"
transition-hide="slide-down">
<q-card>
<q-bar class="bg-primary text-white">
<q-space />
<q-btn
dense
flat
icon="minimize"
@click="maximizedToggle = false"
:disable="!maximizedToggle"
>
<q-tooltip
v-if="maximizedToggle"
:class="
($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`
"
>Minimize</q-tooltip
>
<q-btn dense flat icon="minimize" @click="maximizedToggle = false" :disable="!maximizedToggle">
<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="
($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`
"
>Maximize</q-tooltip
>
<q-btn dense flat icon="crop_square" @click="maximizedToggle = true" :disable="maximizedToggle">
<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="
($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`
"
>{{ t('dialog.close') }}</q-tooltip
>
<q-tooltip :class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`
">{{ t('dialog.close') }}</q-tooltip>
</q-btn>
</q-bar>
@@ -221,52 +114,22 @@
<q-card-section class="q-pt-none">
<div class="row">
<div v-for="(mygallery, index) in getlistimages()" :key="index">
<div
class="q-pa-sm barwidth"
@dragenter="onDragEnter"
@dragleave="onDragLeave"
@dragover="onDragOver"
>
<div class="q-pa-sm barwidth" @dragenter="onDragEnter" @dragleave="onDragLeave" @dragover="onDragOver">
<q-bar class="bg-primary text-white">
<q-btn flat round dense icon="menu" class="q-mr-sm" />
<q-btn
v-if="canModify"
flat
round
icon="fas fa-copy"
size="sm"
@click="copytoclipboard(mygallery)"
></q-btn>
<q-btn v-if="canModify" flat round icon="fas fa-copy" size="sm"
@click="copytoclipboard(mygallery)"></q-btn>
<div>Foto {{ index + 1 }}</div>
<q-space></q-space>
<q-btn
v-if="canModify"
flat
round
color="red"
icon="fas fa-trash-alt"
@click="deleteFile(mygallery)"
></q-btn>
<q-btn v-if="canModify" flat round color="red" icon="fas fa-trash-alt"
@click="deleteFile(mygallery)"></q-btn>
</q-bar>
<q-card
:id="mygallery._id"
:class="getclass()"
:data-ind="index"
:draggable="canModify"
@dragstart="onDragStart"
@drop="onDrop"
>
<q-img
:src="tools.getsrcimg(mygallery, getrealdirectory())"
:class="getclimg()"
@click="ImgFullScreen(mygallery)"
:alt="mygallery.alt"
>
<div
v-if="mygallery.description"
class="absolute-bottom text-shadow"
>
<q-card :id="mygallery._id" :class="getclass()" :data-ind="index" :draggable="canModify"
@dragstart="onDragStart" @drop="onDrop">
<q-img :src="tools.getsrcimg(mygallery, getrealdirectory())" :class="getclimg()"
@click="ImgFullScreen(mygallery)" :alt="mygallery.alt">
<div v-if="mygallery.description" class="absolute-bottom text-shadow">
<!-- <div class="text-h6 text-trans">{{ mygallery.description }} </div> -->
<div class="text-subtitle-carica text-trans">
{{ mygallery.description }}
@@ -276,24 +139,13 @@
<q-card-section>
<q-field v-if="canModify" stack-label dense label="Nome File">
<template v-slot:control>
<div
class="self-center full-width no-outline"
tabindex="0"
>
<div class="self-center full-width no-outline" tabindex="0">
{{ mygallery.imagefile }}
</div>
</template>
</q-field>
<q-input
v-if="canModify"
v-model="mygallery.description"
dense
:label="$t('proj.longdescr')"
@keyup.enter.stop
@update:model-value="save"
debounce="1000"
autofocus
>
<q-input v-if="canModify" v-model="mygallery.description" dense :label="$t('proj.longdescr')"
@keyup.enter.stop @update:model-value="save" debounce="1000" autofocus>
</q-input>
</q-card-section>
</q-card>
@@ -301,20 +153,9 @@
</div>
<div v-if="canModify" class="q-pa-sm">
<div class="q-gutter-sm" style="max-height: 200px; width: 208px">
<q-uploader
label="Aggiungi Immagine"
accept="image/*"
:url="getUrl()"
:headers="tools.getheaders()"
:max-file-size="40000000"
multiple
auto-upload
hide-upload-btn
no-thumbnails
@uploaded="uploaded"
@rejected="onRejected"
style="width: 208px"
></q-uploader>
<q-uploader label="Aggiungi Immagine" accept="image/*" :url="getUrl()" :headers="tools.getheaders()"
:max-file-size="40000000" multiple auto-upload hide-upload-btn no-thumbnails @uploaded="uploaded"
@rejected="onRejected" style="width: 208px"></q-uploader>
</div>
</div>
<div v-if="!isInModif && !isListImgValid && imagebak">
@@ -325,43 +166,16 @@
</div>
<q-card-actions align="right">
<q-btn
v-if="canModify"
flat
label="Annulla"
color="primary"
v-close-popup
/>
<q-btn
v-if="canModify"
label="salva"
color="primary"
v-close-popup
@click="save"
/>
<q-btn
v-if="!canModify"
label="Chiudi"
color="primary"
v-close-popup
/>
<q-btn v-if="canModify" flat label="Annulla" color="primary" v-close-popup />
<q-btn v-if="canModify" label="salva" color="primary" v-close-popup @click="save" />
<q-btn v-if="!canModify" label="Chiudi" color="primary" v-close-popup />
</q-card-actions>
</q-card-section>
</q-card>
</q-dialog>
<q-dialog
v-model="fullscreen"
:maximized="false"
transition-show="slide-up"
transition-hide="slide-down"
>
<q-dialog v-model="fullscreen" :maximized="false" transition-show="slide-up" transition-hide="slide-down">
<q-card class="my-card">
<q-img
v-if="fullscreensrc"
alt="fullscreen"
:src="fullscreensrc"
@click="fullscreen = false"
></q-img>
<q-img v-if="fullscreensrc" alt="fullscreen" :src="fullscreensrc" @click="fullscreen = false"></q-img>
</q-card>
</q-dialog>
</template>

View File

@@ -317,8 +317,8 @@ export default defineComponent({
const markerHtml = `
<div class="marker-wrapper">
<img src="images/marker-shadow.png" class="marker-shadow" alt="Shadow" />
<img src="images/icon.png" class="marker-icon" alt="" />
<img src="/images/marker-shadow.png" class="marker-shadow" alt="Shadow" />
<img src="/images/icon.png" class="marker-icon" alt="" />
<div class="marker-circle"></div>

View File

@@ -4,19 +4,10 @@
<div class="landing">
<section>
<div class="landing__hero">
<q-carousel
animated
:autoplay="animare"
swipeable
infinite
navigation
transition-next="slide-left"
transition-prev="slide-right"
v-model="slide"
height="100%"
width="100%"
>
<q-carousel-slide name="first" :img-src="$q.dark.isActive ? `images/riso_home_dark.png` : `images/riso_home.png`" class="carousel_img_3">
<q-carousel animated :autoplay="animare" swipeable infinite navigation transition-next="slide-left"
transition-prev="slide-right" v-model="slide" height="100%" width="100%">
<q-carousel-slide name="first"
:img-src="$q.dark.isActive ? `images/riso_home_dark.png` : `images/riso_home.png`" class="carousel_img_3">
<div class="landing__header"></div>
<div class="landing__hero-content row justify-center q-gutter-xs clgutter">
<div class="row">
@@ -26,7 +17,8 @@
<div class="q-gutter-xs testo-banda clgutter">
<div class="text-h1"><span :class="`myshadow text-blue-9`">{{ t('msg.myAppName') }}</span></div>
<div class="text-subtitle1 text-italic q-pl-sm">
<span :class="`shadow ` + $q.dark.isActive ? `text-white`: `text-black`">{{ t('msg.sottoTitoloApp') }}</span>
<span :class="`shadow ` + $q.dark.isActive ? `text-white` : `text-black`">{{
t('msg.sottoTitoloApp') }}</span>
</div>
<div v-if="tools.isLogged()">
@@ -38,23 +30,15 @@
<!--:label="t('notification.titlegranted')"-->
<!--:helper="t('notification.statusnot')">-->
<!--</q-field>-->
<q-field
v-if="NotServiceWorker()"
class="shadow"
icon="notifications"
label="Service Worker not present"
>
<q-field v-if="NotServiceWorker()" class="shadow" icon="notifications"
label="Service Worker not present">
</q-field>
</div>
<div>
<q-btn
v-if="getPermission() !== 'granted'"
class="enable-notifications shadow"
color="primary" rounded
size="md"
icon="notifications" @click="tools.askfornotification($q)"
:label="t('notification.ask')"/>
<q-btn v-if="getPermission() !== 'granted'" class="enable-notifications shadow" color="primary"
rounded size="md" icon="notifications" @click="tools.askfornotification($q)"
:label="t('notification.ask')" />
<!--<q-btn v-if="getPermission() === 'granted'" class="enable-notifications" color="primary" rounded size="lg" icon="notifications" @click="showNotificationExample" label="Send Notification"/>-->
<!--<q-btn v-if="getPermission() === 'granted'" class="enable-notifications" color="secondary" rounded size="lg" icon="notifications" @click="createPushSubscription" label="Create Push Subscription !"/>-->
@@ -65,7 +49,7 @@
</div>
</div>
</q-carousel-slide>
<q-carousel-slide name="second" img-src="images/riso_services.png" class="carousel_img_3">
<q-carousel-slide name="second" img-src="/images/riso_services.png" class="carousel_img_3">
<div class="landing__header"></div>
<div class="landing__hero-content row justify-center q-gutter-xs clgutter">
<div class="row">
@@ -91,23 +75,15 @@
<!--:label="t('notification.titlegranted')"-->
<!--:helper="t('notification.statusnot')">-->
<!--</q-field>-->
<q-field
v-if="NotServiceWorker()"
class="shadow"
icon="notifications"
label="Service Worker not present"
>
<q-field v-if="NotServiceWorker()" class="shadow" icon="notifications"
label="Service Worker not present">
</q-field>
</div>
<div>
<q-btn
v-if="getPermission() !== 'granted'"
class="enable-notifications shadow"
color="primary" rounded
size="md"
icon="notifications" @click="tools.askfornotification($q)"
:label="t('notification.ask')"/>
<q-btn v-if="getPermission() !== 'granted'" class="enable-notifications shadow" color="primary"
rounded size="md" icon="notifications" @click="tools.askfornotification($q)"
:label="t('notification.ask')" />
<!--<q-btn v-if="getPermission() === 'granted'" class="enable-notifications" color="primary" rounded size="lg" icon="notifications" @click="showNotificationExample" label="Send Notification"/>-->
<!--<q-btn v-if="getPermission() === 'granted'" class="enable-notifications" color="secondary" rounded size="lg" icon="notifications" @click="createPushSubscription" label="Create Push Subscription !"/>-->
@@ -122,7 +98,7 @@
<!--<div class="text-subtitle1">Famous City</div>-->
<!--</div>-->
</q-carousel-slide>
<q-carousel-slide name="third" img-src="images/hand_people.jpg" class="carousel_img_3">
<q-carousel-slide name="third" img-src="/images/hand_people.jpg" class="carousel_img_3">
<div class="landing__header"></div>
<div class="landing__hero-content row justify-center q-gutter-xs clgutter">
<div class="row">
@@ -134,16 +110,14 @@
<div class="text-subtitle1 shadow text-italic q-pl-sm">
</div>
<div class="text-subtitle1 shadow-max big text-italic q-pl-sm"><strong>{{
}}</strong>
}}</strong>
</div>
<div class="text-subtitle2 shadow text-italic q-pl-sm">
</div>
<div>
<div v-if="!tools.isLogged()" style="margin: 5px; padding: 5px;" class="home">
<q-btn
rounded size="lg" color="primary" @click="PagLogin"
class="btn-start">
<q-btn rounded size="lg" color="primary" @click="PagLogin" class="btn-start">
{{ $t('login.enter') }}
</q-btn>
</div>
@@ -151,23 +125,15 @@
<div v-if="tools.isLogged()">
<div>
<q-field
v-if="NotServiceWorker()"
class="shadow"
icon="notifications"
label="Service Worker not present"
>
<q-field v-if="NotServiceWorker()" class="shadow" icon="notifications"
label="Service Worker not present">
</q-field>
</div>
<div>
<q-btn
v-if="getPermission() !== 'granted'"
class="enable-notifications shadow"
color="primary" rounded
size="md"
icon="notifications" @click="tools.askfornotification($q)"
:label="t('notification.ask')"/>
<q-btn v-if="getPermission() !== 'granted'" class="enable-notifications shadow" color="primary"
rounded size="md" icon="notifications" @click="tools.askfornotification($q)"
:label="t('notification.ask')" />
<!--<q-btn v-if="getPermission() === 'granted'" class="enable-notifications" color="primary" rounded size="lg" icon="notifications" @click="showNotificationExample" label="Send Notification"/>-->
<!--<q-btn v-if="getPermission() === 'granted'" class="enable-notifications" color="secondary" rounded size="lg" icon="notifications" @click="createPushSubscription" label="Create Push Subscription !"/>-->
@@ -185,9 +151,11 @@
</div>
</section>
<section :class="`padding `+ ($q.dark.isActive ? `text-white bg-black ` : `text-grey-10 bg-white`) + ` 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"><h4>{{ t('homepage.descrapp_title1') }}</h4>
<div class="col-12 text-center">
<h4>{{ t('homepage.descrapp_title1') }}</h4>
<p v-html="t('homepage.descrapp_pag1')"></p>
<p v-html="t('homepage.descrapp_pag2')"></p>
</div>
@@ -197,52 +165,54 @@
<section class="padding bg-primary landing__swirl-bg">
<div class="landing__features row justify-between items-start q-col-gutter-sm">
<div class="col-12 col-sm-5">
<div class="feature-item"><i
aria-hidden="true"
class="q-icon fas fa-users"> </i><h4>
{{ t('homepage.freesocial.title') }}</h4>
<p class="feat-descr" v-html="t('homepage.freesocial.descr')"></p></div>
<div class="feature-item"><i aria-hidden="true" class="q-icon fas fa-users"> </i>
<h4>
{{ t('homepage.freesocial.title') }}</h4>
<p class="feat-descr" v-html="t('homepage.freesocial.descr')"></p>
</div>
</div>
<div class="col-12 col-sm-5">
<div class="feature-item"><i
aria-hidden="true"
class="q-icon fas fa-house-user"> </i><h4>
{{ t('homepage.freetalent.title') }}</h4>
<p class="feat-descr" v-html="t('homepage.freetalent.descr')"></p></div>
<div class="feature-item"><i aria-hidden="true" class="q-icon fas fa-house-user"> </i>
<h4>
{{ t('homepage.freetalent.title') }}</h4>
<p class="feat-descr" v-html="t('homepage.freetalent.descr')"></p>
</div>
</div>
<div class="col-12 col-sm-5">
<div class="feature-item"><i
aria-hidden="true"
class="q-icon fas fa-street-view"> </i><h4>
{{ t('homepage.freeliving.title') }}</h4>
<p class="feat-descr"><CShowContentPage path="/gruppi_territoriali_testo"></CShowContentPage></p></div>
<div class="feature-item"><i aria-hidden="true" class="q-icon fas fa-street-view"> </i>
<h4>
{{ t('homepage.freeliving.title') }}</h4>
<p class="feat-descr">
<CShowContentPage path="/gruppi_territoriali_testo"></CShowContentPage>
</p>
</div>
</div>
<div class="col-12 col-sm-5">
<div class="feature-item"><i
aria-hidden="true"
class="q-icon fas fa-universal-access"> </i><h4>
{{ t('homepage.coin.title') }}</h4>
<p class="feat-descr"><CShowContentPage path="/creditoris"></CShowContentPage></p></div>
<div class="feature-item"><i aria-hidden="true" class="q-icon fas fa-universal-access"> </i>
<h4>
{{ t('homepage.coin.title') }}</h4>
<p class="feat-descr">
<CShowContentPage path="/creditoris"></CShowContentPage>
</p>
</div>
</div>
</div>
</section>
<section class="padding bg-primary">
<div class="landing__features row justify-between items-start q-col-gutter-sm">
<div class="col-12 col-sm-5">
<div class="feature-item"><i
aria-hidden="true"
class="q-icon fas fa-people-carry"> </i><h4>
{{ t('homepage.freecollabora.title') }}</h4>
<p class="feat-descr" v-html="t('homepage.freecollabora.descr')"></p></div>
<div class="feature-item"><i aria-hidden="true" class="q-icon fas fa-people-carry"> </i>
<h4>
{{ t('homepage.freecollabora.title') }}</h4>
<p class="feat-descr" v-html="t('homepage.freecollabora.descr')"></p>
</div>
</div>
<div class="col-12 col-sm-5">
<CFundRaising></CFundRaising>
</div>
<div class="col-12 col-sm-5">
<div class="feature-item"><i
aria-hidden="true"
class="q-icon fas fa-browser"> </i>
<div class="feature-item"><i aria-hidden="true" class="q-icon fas fa-browser"> </i>
<div class="q-gutter-sm">
<i aria-hidden="true" class="q-icon fab fa-chrome"> </i>
<i aria-hidden="true" class="q-icon fab fa-firefox"> </i>
@@ -251,14 +221,15 @@
</div>
<h4>{{ t('homepage.multiplatform.title') }}</h4>
<p class="feat-descr" v-html="t('homepage.multiplatform.descr')"></p></div>
<p class="feat-descr" v-html="t('homepage.multiplatform.descr')"></p>
</div>
</div>
<div class="col-12 col-sm-5">
<div class="feature-item"><i
aria-hidden="true"
class="q-icon fas fa-universal-access"> </i><h4>
{{ t('homepage.free.title') }}</h4>
<p class="feat-descr" v-html="t('homepage.free.descr')"></p></div>
<div class="feature-item"><i aria-hidden="true" class="q-icon fas fa-universal-access"> </i>
<h4>
{{ t('homepage.free.title') }}</h4>
<p class="feat-descr" v-html="t('homepage.free.descr')"></p>
</div>
</div>
</div>
</section>

View File

@@ -6,14 +6,8 @@
<q-card v-if="isListImgValid" :class="getclass()" @click="apri">
<div v-for="(imgfile, index) in getlistimages()" :key="index">
<div v-if="index === 0">
<q-img
:src="tools.getsrcimg(imgfile, getrealdirectory())"
:class="getclimg()"
>
<div
v-if="getnumimages() > 1"
class="absolute-bottom text-shadow no-padding"
>
<q-img :src="tools.getsrcimg(imgfile, getrealdirectory())" :class="getclimg()">
<div v-if="getnumimages() > 1" class="absolute-bottom text-shadow no-padding">
({{ getnumimages() }})
</div>
</q-img>
@@ -21,40 +15,23 @@
</div>
</q-card>
<div v-else-if="!isInModif && !isListImgValid && imagebak">
<q-card
v-if="imagebak !== costanti.NESSUN_IMMAGINE"
:class="getclass()"
@click="ImgFullScreen(imgfile)"
>
<q-card v-if="imagebak !== costanti.NESSUN_IMMAGINE" :class="getclass()" @click="ImgFullScreen(imgfile)">
<q-img :src="imagebak" :class="getclimg()"> </q-img>
</q-card>
</div>
<div v-else>
<q-card :class="getclass()" @click="apri">
<q-img src="images/noimg.png" :class="getclimg()" alt="no image">
<q-img src="/images/noimg.png" :class="getclimg()" alt="no image">
</q-img>
</q-card>
</div>
<q-btn
v-if="isInModif"
color="primary"
@click="apri"
icon="fas fa-file-upload"
:label="$t('gallery.load_image')"
>
<q-btn v-if="isInModif" color="primary" @click="apri" icon="fas fa-file-upload" :label="$t('gallery.load_image')">
</q-btn>
</div>
</div>
<div v-else>
<div v-if="!isListImgValid">
<q-btn
flat
round
color="blue"
icon="fas fa-tools"
size="md"
@click="apri"
></q-btn>
<q-btn flat round color="blue" icon="fas fa-tools" size="md" @click="apri"></q-btn>
</div>
<div v-else>
<div class="row">
@@ -62,24 +39,10 @@
v-model="order">-->
<div v-for="(mygallery, index) in getlistimages()" :key="index">
<div
class="q-pa-sm q-gutter-sm"
@dragenter="onDragEnter"
@dragleave="onDragLeave"
@dragover="onDragOver"
>
<q-card
:id="mygallery._id"
:class="getclass()"
:draggable="canModify"
@dragstart="onDragStart"
@drop="onDrop"
>
<q-img
:src="tools.getsrcimg(mygallery, getrealdirectory())"
:class="getclimg()"
:alt="mygallery.alt"
>
<div class="q-pa-sm q-gutter-sm" @dragenter="onDragEnter" @dragleave="onDragLeave" @dragover="onDragOver">
<q-card :id="mygallery._id" :class="getclass()" :draggable="canModify" @dragstart="onDragStart"
@drop="onDrop">
<q-img :src="tools.getsrcimg(mygallery, getrealdirectory())" :class="getclimg()" :alt="mygallery.alt">
<div class="absolute-bottom text-shadow">
<!-- <div class="text-h6 text-trans">{{ mygallery.description }} </div> -->
<div class="text-subtitle-carica text-trans">
@@ -96,114 +59,46 @@
</template>
</q-field>
<q-input
v-if="canModify"
v-model="mygallery.description"
dense
:label="$t('proj.longdescr')"
@keyup.enter.stop
@update:model-value="save"
debounce="1000"
autofocus
>
<q-input v-if="canModify" v-model="mygallery.description" dense :label="$t('proj.longdescr')"
@keyup.enter.stop @update:model-value="save" debounce="1000" autofocus>
</q-input>
<q-card-actions align="center">
<q-btn
v-if="canModify"
flat
round
color="blue"
icon="fas fa-copy"
size="sm"
@click="copytoclipboard(mygallery)"
></q-btn>
<q-btn
v-if="canModify"
flat
round
color="red"
icon="fas fa-trash-alt"
size="sm"
@click="deleteFile(mygallery)"
></q-btn>
<q-btn v-if="canModify" flat round color="blue" icon="fas fa-copy" size="sm"
@click="copytoclipboard(mygallery)"></q-btn>
<q-btn v-if="canModify" flat round color="red" icon="fas fa-trash-alt" size="sm"
@click="deleteFile(mygallery)"></q-btn>
</q-card-actions>
</q-card>
</div>
</div>
<div class="q-pa-sm">
<div
v-if="edit"
class="q-gutter-sm"
style="max-height: 200px; width: 208px"
>
<q-uploader
label="Aggiungi Immagine"
accept="image/*"
:url="getUrl()"
:headers="tools.getheaders()"
:max-file-size="3000000"
multiple
auto-upload
hide-upload-btn
no-thumbnails
@uploaded="uploaded"
@rejected="onRejected"
style="width: 208px"
></q-uploader>
<div v-if="edit" class="q-gutter-sm" style="max-height: 200px; width: 208px">
<q-uploader label="Aggiungi Immagine" accept="image/*" :url="getUrl()" :headers="tools.getheaders()"
:max-file-size="3000000" multiple auto-upload hide-upload-btn no-thumbnails @uploaded="uploaded"
@rejected="onRejected" style="width: 208px"></q-uploader>
</div>
</div>
</div>
</div>
</div>
<q-dialog
v-model="displayGall"
persistent
:maximized="maximizedToggle"
transition-show="slide-up"
transition-hide="slide-down"
>
<q-dialog v-model="displayGall" persistent :maximized="maximizedToggle" transition-show="slide-up"
transition-hide="slide-down">
<q-card>
<q-bar class="bg-primary text-white">
<q-space />
<q-btn
dense
flat
icon="minimize"
@click="maximizedToggle = false"
:disable="!maximizedToggle"
>
<q-tooltip
v-if="maximizedToggle"
:class="
($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`
"
>Minimize</q-tooltip
>
<q-btn dense flat icon="minimize" @click="maximizedToggle = false" :disable="!maximizedToggle">
<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="
($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`
"
>Maximize</q-tooltip
>
<q-btn dense flat icon="crop_square" @click="maximizedToggle = true" :disable="maximizedToggle">
<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="
($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`
"
>{{ t('dialog.close') }}</q-tooltip
>
<q-tooltip :class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` text-primary`
">{{ t('dialog.close') }}</q-tooltip>
</q-btn>
</q-bar>
@@ -214,52 +109,22 @@
<q-card-section class="q-pt-none">
<div class="row">
<div v-for="(mygallery, index) in getlistimages()" :key="index">
<div
class="q-pa-sm barwidth"
@dragenter="onDragEnter"
@dragleave="onDragLeave"
@dragover="onDragOver"
>
<div class="q-pa-sm barwidth" @dragenter="onDragEnter" @dragleave="onDragLeave" @dragover="onDragOver">
<q-bar class="bg-primary text-white">
<q-btn flat round dense icon="menu" class="q-mr-sm" />
<q-btn
v-if="canModify"
flat
round
icon="fas fa-copy"
size="sm"
@click="copytoclipboard(mygallery)"
></q-btn>
<q-btn v-if="canModify" flat round icon="fas fa-copy" size="sm"
@click="copytoclipboard(mygallery)"></q-btn>
<div>Foto {{ index + 1 }}</div>
<q-space></q-space>
<q-btn
v-if="canModify"
flat
round
color="red"
icon="fas fa-trash-alt"
@click="deleteFile(mygallery)"
></q-btn>
<q-btn v-if="canModify" flat round color="red" icon="fas fa-trash-alt"
@click="deleteFile(mygallery)"></q-btn>
</q-bar>
<q-card
:id="mygallery._id"
:class="getclass()"
:data-ind="index"
:draggable="canModify"
@dragstart="onDragStart"
@drop="onDrop"
>
<q-img
:src="tools.getsrcimg(mygallery, getrealdirectory())"
:class="getclimg()"
@click="ImgFullScreen(mygallery)"
:alt="mygallery.alt"
>
<div
v-if="mygallery.description"
class="absolute-bottom text-shadow"
>
<q-card :id="mygallery._id" :class="getclass()" :data-ind="index" :draggable="canModify"
@dragstart="onDragStart" @drop="onDrop">
<q-img :src="tools.getsrcimg(mygallery, getrealdirectory())" :class="getclimg()"
@click="ImgFullScreen(mygallery)" :alt="mygallery.alt">
<div v-if="mygallery.description" class="absolute-bottom text-shadow">
<!-- <div class="text-h6 text-trans">{{ mygallery.description }} </div> -->
<div class="text-subtitle-carica text-trans">
{{ mygallery.description }}
@@ -269,24 +134,13 @@
<q-card-section>
<q-field v-if="canModify" stack-label dense label="Nome File">
<template v-slot:control>
<div
class="self-center full-width no-outline"
tabindex="0"
>
<div class="self-center full-width no-outline" tabindex="0">
{{ mygallery.imagefile }}
</div>
</template>
</q-field>
<q-input
v-if="canModify"
v-model="mygallery.description"
dense
:label="$t('proj.longdescr')"
@keyup.enter.stop
@update:model-value="save"
debounce="1000"
autofocus
>
<q-input v-if="canModify" v-model="mygallery.description" dense :label="$t('proj.longdescr')"
@keyup.enter.stop @update:model-value="save" debounce="1000" autofocus>
</q-input>
</q-card-section>
</q-card>
@@ -294,20 +148,9 @@
</div>
<div v-if="canModify" class="q-pa-sm">
<div class="q-gutter-sm" style="max-height: 200px; width: 208px">
<q-uploader
label="Aggiungi Immagine"
accept="image/*"
:url="getUrl()"
:headers="tools.getheaders()"
:max-file-size="40000000"
multiple
auto-upload
hide-upload-btn
no-thumbnails
@uploaded="uploaded"
@rejected="onRejected"
style="width: 208px"
></q-uploader>
<q-uploader label="Aggiungi Immagine" accept="image/*" :url="getUrl()" :headers="tools.getheaders()"
:max-file-size="40000000" multiple auto-upload hide-upload-btn no-thumbnails @uploaded="uploaded"
@rejected="onRejected" style="width: 208px"></q-uploader>
</div>
</div>
<div v-if="!isInModif && !isListImgValid && imagebak">
@@ -318,43 +161,16 @@
</div>
<q-card-actions align="right">
<q-btn
v-if="canModify"
flat
label="Annulla"
color="primary"
v-close-popup
/>
<q-btn
v-if="canModify"
label="salva"
color="primary"
v-close-popup
@click="save"
/>
<q-btn
v-if="!canModify"
label="Chiudi"
color="primary"
v-close-popup
/>
<q-btn v-if="canModify" flat label="Annulla" color="primary" v-close-popup />
<q-btn v-if="canModify" label="salva" color="primary" v-close-popup @click="save" />
<q-btn v-if="!canModify" label="Chiudi" color="primary" v-close-popup />
</q-card-actions>
</q-card-section>
</q-card>
</q-dialog>
<q-dialog
v-model="fullscreen"
:maximized="false"
transition-show="slide-up"
transition-hide="slide-down"
>
<q-dialog v-model="fullscreen" :maximized="false" transition-show="slide-up" transition-hide="slide-down">
<q-card class="my-card">
<q-img
v-if="fullscreensrc"
alt="fullscreen"
:src="fullscreensrc"
@click="fullscreen = false"
></q-img>
<q-img v-if="fullscreensrc" alt="fullscreen" :src="fullscreensrc" @click="fullscreen = false"></q-img>
</q-card>
</q-dialog>
</template>

View File

@@ -9,21 +9,23 @@
</CCopyBtn>
<div class="text-h6 text-center" v-html="$t('reg.teleg_torna_sul_bot', {botname: tools.getBotName()})">
<div class="text-h6 text-center" v-html="$t('reg.teleg_torna_sul_bot', { botname: tools.getBotName() })">
</div>
</div>
<div v-if="!tools.TelegVerificato()" class="q-pa-sm q-gutter-sm">
<div v-if="!tools.TelegCode()"><strong>{{ $t('components.authentication.telegram.open')}}</strong></div>
<div v-if="!tools.TelegCode()"><strong>{{ $t('components.authentication.telegram.open') }}</strong></div>
<div class="q-ma-md">
<q-btn rounded color="primary" icon="fab fa-telegram" :label="$t('components.authentication.telegram.openbot', {botname: tools.getBotName() })"
type="a"
:href="tools.getLinkBotTelegram('', '')" target="_blank"></q-btn>
<q-btn rounded color="primary" icon="fab fa-telegram"
:label="$t('components.authentication.telegram.openbot', { botname: tools.getBotName() })" type="a"
:href="tools.getLinkBotTelegram('', '')" target="_blank"></q-btn>
<br>
</div>
<strong v-if="!tools.TelegCode()">{{ $t('components.authentication.telegram.ifclose', {botname: tools.getBotName() })}}</strong>
<strong v-if="!tools.TelegCode()">{{ $t('components.authentication.telegram.ifclose', {
botname: tools.getBotName()
})}}</strong>
<div class="q-my-sm">
<!--<q-img src="images/ayni_bot.jpg" class="" :alt="$t('ws.sitename')" style="height: 100px; width: 250px;">
<!--<q-img src="/images/ayni_bot.jpg" class="" :alt="$t('ws.sitename')" style="height: 100px; width: 250px;">
</q-img>-->
</div>
</div>
@@ -35,5 +37,5 @@
</script>
<style lang="scss" scoped>
@import './CVerifyTelegram.scss';
@import './CVerifyTelegram.scss';
</style>

View File

@@ -1,32 +1,15 @@
<template>
<q-footer
v-if="tools.isUserOk() && site && site.confpages"
:class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` small-screen-only`"
bordered
>
<q-footer v-if="tools.isUserOk() && site && site.confpages"
:class="($q.dark.isActive ? `bg-black` : `bg-white`) + ` small-screen-only`" bordered>
<q-toolbar>
<q-toolbar-title>
<q-tabs
dense
:class="
($q.dark.isActive
? `text-white bg-black`
: `text-grey-10 bg-white`) + ` mylabfooter mysmalltabs`
"
style="padding: 0px !important"
content-class="mysmalltabs"
active-color="white"
active-bg-color="blue"
no-caps
indicator-color="transparent"
>
<q-route-tab
v-if="site.confpages.showButtHome"
to="/"
class="mylabfooter"
:label="$t('tabdown.home')"
icon="fas fa-home"
/>
<q-tabs dense :class="($q.dark.isActive
? `text-white bg-black`
: `text-grey-10 bg-white`) + ` mylabfooter mysmalltabs`
" style="padding: 0px !important" content-class="mysmalltabs" active-color="white" active-bg-color="blue"
no-caps indicator-color="transparent">
<q-route-tab v-if="site.confpages.showButtHome" to="/" class="mylabfooter" :label="$t('tabdown.home')"
icon="fas fa-home" />
<!--<q-route-tab
v-if="site.confpages.showViewGroups"
class="mylabfooter"
@@ -34,57 +17,21 @@
to="/groups"
icon="fas fa-users"
/>-->
<q-route-tab
v-if="site.confpages.showViewEventi"
class="mylabfooter"
:label="$t('tabdown.eventi')"
to="/events"
icon="fas fa-calendar-week"
/>
<q-img
v-if="site.confpages.showViewCircuits"
src="images/1ris_rosso_100.png"
round
flat
:style="currentPath === '/circuits' ? `background-color: lightblue`: ''"
class="img_in_tab"
@click="naviga(tools.updateLink('/circuits'))"
></q-img>
<q-route-tab
v-if="site.confpages.showViewUsers"
class="mylabfooter"
:label="$t('tabdown.friends')"
to="/friends"
icon="fas fa-user-friends"
/>
<q-route-tab
v-if="site.confpages.showViewBooking"
class="mylabfooter"
:label="$t('tabdown.bookings')"
to="/admin/eventlist"
icon="fas fa-calendar-plus"
/>
<q-route-tab
v-if="site.confpages.showViewCart"
class="mylabfooter"
:label="$t('tabdown.showViewCart')"
to="/checkout"
icon="fas fa-shopping-cart"
/>
<q-route-tab
v-if="site.confpages.showViewOrders"
class="mylabfooter"
:label="$t('tabdown.showViewOrders')"
to="/orderinfo"
icon="fas fa-clipboard-list"
/>
<q-route-tab
v-if="site.confpages.showViewProfile"
class="mylabfooter"
:label="$t('tabdown.profile')"
@click="globalStore.rightDrawerOpen = true"
:icon="getMyImg() ? `img: ` + getMyImg() : `fas fa-user`"
/>
<q-route-tab v-if="site.confpages.showViewEventi" class="mylabfooter" :label="$t('tabdown.eventi')"
to="/events" icon="fas fa-calendar-week" />
<q-img v-if="site.confpages.showViewCircuits" src="/images/1ris_rosso_100.png" round flat
:style="currentPath === '/circuits' ? `background-color: lightblue` : ''" class="img_in_tab"
@click="naviga(tools.updateLink('/circuits'))"></q-img>
<q-route-tab v-if="site.confpages.showViewUsers" class="mylabfooter" :label="$t('tabdown.friends')"
to="/friends" icon="fas fa-user-friends" />
<q-route-tab v-if="site.confpages.showViewBooking" class="mylabfooter" :label="$t('tabdown.bookings')"
to="/admin/eventlist" icon="fas fa-calendar-plus" />
<q-route-tab v-if="site.confpages.showViewCart" class="mylabfooter" :label="$t('tabdown.showViewCart')"
to="/checkout" icon="fas fa-shopping-cart" />
<q-route-tab v-if="site.confpages.showViewOrders" class="mylabfooter" :label="$t('tabdown.showViewOrders')"
to="/orderinfo" icon="fas fa-clipboard-list" />
<q-route-tab v-if="site.confpages.showViewProfile" class="mylabfooter" :label="$t('tabdown.profile')"
@click="globalStore.rightDrawerOpen = true" :icon="getMyImg() ? `img: ` + getMyImg() : `fas fa-user`" />
</q-tabs>
</q-toolbar-title>
</q-toolbar>

View File

@@ -1,18 +1,8 @@
<template>
<div>
<q-header
v-if="site"
reveal
elevated
:class="getClassColorHeader"
:style="`color: ` + getColorText + `;`"
>
<q-toolbar
color="primary"
:glossy="!$q.platform.is.ios && !$q.platform.is.android"
:inverted="$q.platform.is.ios"
class="toolbar"
>
<q-header v-if="site" reveal elevated :class="getClassColorHeader" :style="`color: ` + getColorText + `;`">
<q-toolbar color="primary" :glossy="!$q.platform.is.ios && !$q.platform.is.android" :inverted="$q.platform.is.ios"
class="toolbar">
<q-btn flat dense round @click="clickMenu3Orizz" aria-label="Menu">
<q-icon name="menu" />
</q-btn>
@@ -29,17 +19,8 @@
<!--I'm only rendered on Electron!-->
</div>
<q-btn
size="md"
id="newvers"
v-if="isNewVersionAvailable() || data.updateExists"
color="secondary"
rounded
icon="refresh"
class="btnNewVersShow"
@click="RefreshApp()"
:label="t('notification.newVersionAvailable')"
>
<q-btn size="md" id="newvers" v-if="isNewVersionAvailable() || data.updateExists" color="secondary" rounded
icon="refresh" class="btnNewVersShow" @click="RefreshApp()" :label="t('notification.newVersionAvailable')">
</q-btn>
<q-toolbar-title class="row items-center">
@@ -64,47 +45,26 @@
</div>
-->
<div
v-if="site.confpages && 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>
<div
v-if="
tools.isLogged() &&
(isAdmin() || tools.isEditor() || tools.isGrafico())
"
class="text-h7"
>
<div v-if="
tools.isLogged() &&
(isAdmin() || tools.isEditor() || tools.isGrafico())
" class="text-h7">
<q-toggle :icon="'fas fa-pencil-alt'" v-model="editOn"> </q-toggle>
</div>
<q-btn
v-if="!isonline() && site.confpages && site.confpages.showConnected"
flat
dense
round
aria-label="Connection"
>
<q-btn v-if="!isonline() && site.confpages && site.confpages.showConnected" flat dense round
aria-label="Connection">
<q-icon :name="iconConn" :class="clIconConn"></q-icon>
<q-icon v-if="isUserNotAuth" name="device_unknown"></q-icon>
</q-btn>
<q-btn-dropdown
stretch
v-if="isfinishLoading && static_data.lang_available.length > 1"
flat
:label="langshort"
auto-close
>
<q-btn-dropdown stretch v-if="isfinishLoading && static_data.lang_available.length > 1" flat :label="langshort"
auto-close>
<q-list bordered>
<q-item
clickable
v-ripple
v-for="langrec in static_data.lang_available"
:key="langrec.value"
@click="lang = langrec.value"
>
<q-item clickable v-ripple v-for="langrec in static_data.lang_available" :key="langrec.value"
@click="lang = langrec.value">
<q-item-section avatar>
<img :src="langrec.image" class="flagimg" alt="flag" />
</q-item-section>
@@ -132,127 +92,55 @@
<!-- BUTTON USER BAR -->
<q-btn
class="q-mx-xs"
v-if="
site.confpages && site.confpages.enableEcommerce && tools.isLogged()
"
round
dense
flat
@click="rightCartOpen = !rightCartOpen"
icon="fas fa-shopping-cart"
>
<q-badge
v-if="getnumItemsCart() > 0"
color="red"
floating
transparent
>
<q-btn class="q-mx-xs" v-if="
site.confpages && site.confpages.enableEcommerce && tools.isLogged()
" round dense flat @click="rightCartOpen = !rightCartOpen" icon="fas fa-shopping-cart">
<q-badge v-if="getnumItemsCart() > 0" color="red" floating transparent>
{{ getnumItemsCart() }}
</q-badge>
</q-btn>
<q-btn
class="q-mx-xs"
v-if="
site.confpages &&
site.confpages.enableEcommerce &&
tools.isLogged() &&
getnumOrdersCart() > 0
"
round
dense
flat
to="/orderinfo"
icon="fas fa-list-ol"
>
<q-badge
v-if="getnumOrdersCart() > 0"
color="blue"
floating
transparent
>
<q-btn class="q-mx-xs" v-if="
site.confpages &&
site.confpages.enableEcommerce &&
tools.isLogged() &&
getnumOrdersCart() > 0
" round dense flat to="/orderinfo" icon="fas fa-list-ol">
<q-badge v-if="getnumOrdersCart() > 0" color="blue" floating transparent>
{{ getnumOrdersCart() }}
</q-badge>
</q-btn>
<q-btn
class="q-mx-xs"
v-if="
site.confpages && site.confpages.showUserMenu && !tools.isLogged()
"
dense
flat
round
icon="fas fa-user"
@click="rightDrawerOpen = !rightDrawerOpen"
>
<q-btn class="q-mx-xs" v-if="
site.confpages && site.confpages.showUserMenu && !tools.isLogged()
" dense flat round icon="fas fa-user" @click="rightDrawerOpen = !rightDrawerOpen">
</q-btn>
<q-avatar
v-else-if="
site.confpages &&
site.confpages.showUserMenu &&
tools.isLogged() &&
getMyImg() &&
$q.screen.gt.sm
"
size="36px"
class="center_img cursor-pointer"
@click="rightDrawerOpen = !rightDrawerOpen"
>
<q-img
ratio="1"
fit="cover"
:src="getMyImg()"
:alt="Username()"
img-class="imgprofile_small"
stretch="false"
/>
<q-avatar v-else-if="
site.confpages &&
site.confpages.showUserMenu &&
tools.isLogged() &&
getMyImg() &&
$q.screen.gt.sm
" size="36px" class="center_img cursor-pointer" @click="rightDrawerOpen = !rightDrawerOpen">
<q-img ratio="1" fit="cover" :src="getMyImg()" :alt="Username()" img-class="imgprofile_small"
stretch="false" />
</q-avatar>
<q-btn
v-else-if="$q.screen.gt.sm"
class="q-mx-xs iconprofile_small"
round
dense
flat
@click="rightDrawerOpen = !rightDrawerOpen"
:icon="getMyImgforIcon()"
:color="getcolormenu()"
>
<q-btn v-else-if="$q.screen.gt.sm" class="q-mx-xs iconprofile_small" round dense flat
@click="rightDrawerOpen = !rightDrawerOpen" :icon="getMyImgforIcon()" :color="getcolormenu()">
</q-btn>
</q-toolbar>
</q-header>
<q-drawer
side="left"
bordered
:show-if-above="globalStore.leftDrawerOpen"
:breakpoint="800"
v-model="leftDrawerOpen"
:content-class="['bg-grey-1', 'q-pa-sm']"
:content-style="{ padding: '0px' }"
>
<q-drawer side="left" bordered :show-if-above="globalStore.leftDrawerOpen" :breakpoint="800"
v-model="leftDrawerOpen" :content-class="['bg-grey-1', 'q-pa-sm']" :content-style="{ padding: '0px' }">
<drawer :clBase="clBase"></drawer>
</q-drawer>
<!-- USER BAR -->
<q-drawer
v-if="site.confpages && site.confpages.enableEcommerce"
v-model="rightCartOpen"
class="q-drawer-cart"
side="right"
elevated
>
<q-btn
class="absolute-top-right"
:style="`margin-right: 10px; color:` + getColorText + `;`"
dense
flat
round
icon="close"
@click="rightCartOpen = !rightCartOpen"
>
<q-drawer v-if="site.confpages && site.confpages.enableEcommerce" v-model="rightCartOpen" class="q-drawer-cart"
side="right" elevated>
<q-btn class="absolute-top-right" :style="`margin-right: 10px; color:` + getColorText + `;`" dense flat round
icon="close" @click="rightCartOpen = !rightCartOpen">
</q-btn>
<CSelectUserActive></CSelectUserActive>
@@ -263,53 +151,24 @@
<CMyCart v-if="isfinishLoading"></CMyCart>
</q-drawer>
<!-- USER BAR -->
<q-drawer
v-if="site.confpages && site.confpages.showUserMenu"
v-model="rightDrawerOpen"
side="right"
elevated
>
<q-drawer v-if="site.confpages && site.confpages.showUserMenu" v-model="rightDrawerOpen" side="right" elevated>
<div id="profile">
<q-img
class="absolute-top"
src="images/landing_first_section.png"
style="height: 150px"
alt="section page"
>
<q-img class="absolute-top" src="/images/landing_first_section.png" style="height: 150px" alt="section page">
</q-img>
<div
class="absolute-top bg-transparent text-black center_img"
style="margin-top: 10px"
>
<div
:class="
`text-center q-ma-xs boldhigh text-` + getColorText + ` text-h7`
"
>
<div class="absolute-top bg-transparent text-black center_img" style="margin-top: 10px">
<div :class="`text-center q-ma-xs boldhigh text-` + getColorText + ` text-h7`
">
{{ t("header.area_personale") }}
</div>
<q-avatar size="80px" class="center_img q-ma-md">
<q-img
fit="cover"
:src="getMyImg()"
:alt="Username()"
img-class="imgprofile"
height="80px"
/>
<q-img fit="cover" :src="getMyImg()" :alt="Username()" img-class="imgprofile" height="80px" />
</q-avatar>
<!--<CMyAvatar :myimg="getMyImg()"></CMyAvatar>-->
<q-btn
class="absolute-top-right"
:style="`margin-right: 10px; color: ` + getColorText + `;`"
dense
flat
round
icon="close"
@click="rightDrawerOpen = !rightDrawerOpen"
>
<q-btn class="absolute-top-right" :style="`margin-right: 10px; color: ` + getColorText + `;`" dense flat round
icon="close" @click="rightDrawerOpen = !rightDrawerOpen">
</q-btn>
<div v-if="tools.isLogged()" class="text-weight-bold text-user">
@@ -317,49 +176,28 @@
<span v-if="mySurname()">&nbsp;{{ mySurname() }}</span>
</div>
<div class="row justify-evenly q-pa-xs-sm">
<div
v-if="tools.isLogged() && isAdmin()"
class="text-weight-bold text-user bg-red q-px-xs"
>
<div v-if="tools.isLogged() && isAdmin()" class="text-weight-bold text-user bg-red q-px-xs">
Admin
</div>
<div v-if="isSocio" class="text-weight-bold text-user q-px-xs">
Socio
</div>
<div
v-if="isSocioResidente()"
class="text-weight-bold text-user q-px-xs bg-amber"
>
<div v-if="isSocioResidente()" class="text-weight-bold text-user q-px-xs bg-amber">
Residente
</div>
<div
v-if="isConsiglio()"
class="text-weight-bold text-user q-px-xs bg-deep-orange-10"
>
<div v-if="isConsiglio()" class="text-weight-bold text-user q-px-xs bg-deep-orange-10">
Consiglio
</div>
<div
v-if="isManager()"
class="text-weight-bold text-user bg-blue q-px-xs"
>
<div v-if="isManager()" class="text-weight-bold text-user bg-blue q-px-xs">
Segreteria
</div>
<div
v-if="isEditor()"
class="text-weight-bold text-user bg-indigo q-px-xs"
>
<div v-if="isEditor()" class="text-weight-bold text-user bg-indigo q-px-xs">
Editore
</div>
<div
v-if="isFacilitatore()"
class="text-weight-bold text-user q-px-xs"
>
<div v-if="isFacilitatore()" class="text-weight-bold text-user q-px-xs">
Facilitatore
</div>
<div
v-if="isTratuttrici()"
class="text-weight-bold text-user q-px-xs"
>
<div v-if="isTratuttrici()" class="text-weight-bold text-user q-px-xs">
Editor
</div>
</div>
@@ -367,51 +205,28 @@
{{ t("user.loggati") }}
</div>
<div
v-if="tools.isLogged() && !tools.isVerified()"
class="text-verified"
>
<div v-if="tools.isLogged() && !tools.isVerified()" class="text-verified">
{{ t("components.authentication.email_verification.verify_email") }}
</div>
<div v-if="tools.isLogged()" class="text-verified">
<!-- <span class="text-white" v-if="Verificato()"> {{t('reg.verificato')}} </span> -->
<span
class="text-user text-italic bg-red"
v-if="!tools.Verificato()"
>
<span class="text-user text-italic bg-red" v-if="!tools.Verificato()">
{{ t("reg.non_verificato") }}
</span>
</div>
<div
v-if="tools.isLogged()"
id="user-actions"
class="column justify-center q-gutter-sm q-ma-sm center-150"
>
<q-btn
rounded
color="primary"
icon="person"
:to="`/my/` + getMyUsername()"
>{{ t("pages.profile") }}
<div v-if="tools.isLogged()" id="user-actions" class="column justify-center q-gutter-sm q-ma-sm center-150">
<q-btn rounded color="primary" icon="person" :to="`/my/` + getMyUsername()">{{ t("pages.profile") }}
</q-btn>
<q-btn
rounded
color="negative"
icon="exit_to_app"
@click="logoutHandler"
>{{ t("login.esci") }}</q-btn
>
<q-btn rounded color="negative" icon="exit_to_app" @click="logoutHandler">{{ t("login.esci") }}</q-btn>
</div>
</div>
<div style="margin-top: 120px"></div>
<div v-show="!tools.isLogged()">
<div class="q-ma-md" style="">
<CSigninNoreg
:showregbutt="site.confpages && site.confpages.showRegButton"
>
<CSigninNoreg :showregbutt="site.confpages && site.confpages.showRegButton">
</CSigninNoreg>
</div>
</div>

View File

@@ -6,7 +6,6 @@ import type {
IPreloadImages,
ISites,
} from '@model'
import { func } from '@store/Modules/fieldsTable'
// const SHOW_PROJINTHEMENU = false

View File

@@ -1,16 +1,15 @@
<template>
<CMyPage
title='Calendario Eventi' imgbackground="images/calendario_eventi.jpg"
sizes="max-height: 120px" styleadd="bottom: -16px !important;">
<CMyPage title='Calendario Eventi' imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px"
styleadd="bottom: -16px !important;">
<span>{{
setmeta({
title: 'Calendario Eventi',
description: 'Calendario degli Eventi che si svolgono all\'Associazione Shen di Lugo (RA)',
keywords: 'calendario eventi centro olistico',
})
}}
</span>
<span>{{
setmeta({
title: 'Calendario Eventi',
description: 'Calendario degli Eventi che si svolgono all\'Associazione Shen di Lugo (RA)',
keywords: 'calendario eventi centro olistico',
})
}}
</span>
<CEventsCalendar :mysingleevent="null">

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,19 +1,17 @@
<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>
@@ -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>

View File

@@ -1,9 +1,8 @@
<template>
<CMyPage title="Operatori" imgbackground="images/calendario_eventi.jpg" sizes="max-height: 120px">
<CMyPage title="Operatori" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px">
<div class="q-ma-xs q-gutter-xs q-pa-xs">
<q-card-section class="row justify-center">
<div
v-for="(myop, index) in getOperatorsInHome()" :key="index">
<div v-for="(myop, index) in getOperatorsInHome()" :key="index">
<COperators :myop="myop" />
</div>

View File

@@ -1,8 +1,8 @@
<template>
<div class="maintenance-page">
<div class="maintenance-page">
<h1 class="text-blue text-bold">Sito "{{ tools.getappname() }}" In Manutenzione</h1>
<q-img src="images/sito_in_manutenzione.jpg" width="200px" height="200px">
<q-img src="/images/sito_in_manutenzione.jpg" width="200px" height="200px">
</q-img>
<br>
<p>Ci scusiamo per l'inconveniente, ma stiamo effettuando lavori di manutenzione sul sito.</p>

View File

@@ -2,12 +2,13 @@ import type { IColGridTable } from '@model'
import { useUserStore } from '@store/UserStore'
import { lists } from './lists'
import { costanti } from './costanti'
import { tools } from '@tools'
import { useGlobalStore } from '@store/globalStore'
import { toolsext } from '@store/Modules/toolsext'
import { static_data } from '@src/db/static_data'
import { shared_consts } from '@src/common/shared_vuejs'
function getTabSector() {
return 'sectors'
}
const DeleteRec = {
name: 'deleterec',
label_trans: 'reg.elimina',
@@ -763,7 +764,7 @@ export const colSectors = [
name: 'idSector',
label_trans: 'sectors.name',
fieldtype: costanti.FieldType.select,
jointable: toolsext.TABSECTORS,
jointable: getTabSector(),
}),
AddCol({ name: 'main', label_trans: 'store.main', fieldtype: costanti.FieldType.boolean }),
AddCol({ name: 'color', label_trans: 'products.color' }),
@@ -893,7 +894,7 @@ export const colSkills = [
name: 'idSector',
label_trans: 'sectors.name',
fieldtype: costanti.FieldType.multiselect,
jointable: toolsext.TABSECTORS,
jointable: getTabSector(),
}),
AddCol({ name: 'color', label_trans: 'products.color' }),
AddCol({ name: 'theme', label_trans: 'products.theme' }),
@@ -1447,7 +1448,7 @@ export const colAttivita = [
label_trans: 'attivita.tipodiattivita',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABTIPODIATTIVITA,
jointable: 'tipodiattivitas', //toolsext.TABTIPODIATTIVITA,
icon: 'fas fa-balance-scale',
// noshowlabel: true,
// numpag_carousel: 1,
@@ -1466,7 +1467,7 @@ export const colAttivita = [
label_trans: 'sectors.name',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABSECTORS,
jointable: getTabSector(),
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
visible: true,
icon: 'category',
@@ -1478,7 +1479,7 @@ export const colAttivita = [
fieldtype: costanti.FieldType.select,
jointable: 'skills',
addnone: true,
filter_table: toolsext.TABSECTORS,
filter_table: getTabSector(),
filter_field: 'idSector',
noshowlabel: true,
icon: 'engineering',
@@ -1678,7 +1679,7 @@ export const colmySkills = [
label_trans: 'sectors.name',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABSECTORS,
jointable: getTabSector(),
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
visible: true,
icon: 'category',
@@ -1689,7 +1690,7 @@ export const colmySkills = [
label_trans: 'skill.name',
fieldtype: costanti.FieldType.select,
jointable: 'skills',
filter_table: toolsext.TABSECTORS,
filter_table: getTabSector(),
filter_field: 'idSector',
noshowlabel: true,
addnone: true,
@@ -1820,7 +1821,7 @@ export const colmyHosp = [
label_trans: 'hosps.typeHosp',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABTYPEHOSP,
jointable: 'typehosps', // toolsext.TABTYPEHOSP,
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
visible: true,
icon: 'category',
@@ -1832,7 +1833,7 @@ export const colmyHosp = [
label_trans: 'hosps.numMaxPeopleHosp',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABPEOPLE,
jointable: 'people', //toolsext.TABPEOPLE,
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
visible: true,
icon: 'category',
@@ -1851,7 +1852,7 @@ export const colmyHosp = [
name: 'preferences',
label_trans: 'hosps.preferences',
fieldtype: costanti.FieldType.multiselect,
jointable: toolsext.TABPREF,
jointable: 'hosps_preferences', //'hosps_preferences',
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
noshowlabel: true,
icon: 'fas fa-asterisk',
@@ -2043,7 +2044,7 @@ export const colmyBachecas = [
label_trans: 'sectors.name',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABSECTORS,
jointable: getTabSector(),
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
visible: true,
icon: 'category',
@@ -2055,7 +2056,7 @@ export const colmyBachecas = [
fieldtype: costanti.FieldType.select,
jointable: 'skills',
addnone: true,
filter_table: toolsext.TABSECTORS,
filter_table: getTabSector(),
filter_field: 'idSector',
noshowlabel: true,
icon: 'engineering',
@@ -4607,7 +4608,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABTYPECASH,
value: 'typecash', // toolsext.TABTYPECASH,
label: 'Ingresso/Uscita',
columns: colTableGeneric,
colkey: 'value',
@@ -4734,7 +4735,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABTIPODIATTIVITA,
value: 'tipodiattivitas', //toolsext.TABTIPODIATTIVITA,
label: 'Tipo di Attivita',
columns: colTableTipoDiAttivita,
colkey: 'value',
@@ -4785,7 +4786,7 @@ export const fieldsTable = {
collabel: (rec: any) => `${rec.descr}`,
},
{
value: toolsext.TABMYHOSPS,
value: 'myhosps', // toolsext.TABMYHOSPS,
label: 'Ospitalità',
columns: colmyHosp,
colkey: '_id',
@@ -4806,7 +4807,7 @@ export const fieldsTable = {
collabel: (rec: any) => `${rec.name}`,
},
{
value: toolsext.TABATTIVITA,
value: 'attivita', //toolsext.TABATTIVITA,
label: 'Attivita',
columns: colAttivita,
colkey: '_id',
@@ -4827,7 +4828,7 @@ export const fieldsTable = {
collabel: 'descr',
},
{
value: toolsext.TABCALDATE,
value: 'caldate', // toolsext.TABCALDATE,
label: 'Date',
columns: colCalDate,
colkey: '_id',
@@ -4835,7 +4836,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABCALALLDATE,
value: 'calalldate', //toolsext.TABCALALLDATE,
label: 'Date',
columns: colCalDate,
colkey: '_id',
@@ -4859,7 +4860,7 @@ export const fieldsTable = {
collabel: 'descr',
},
{
value: toolsext.TABSECTORS,
value: getTabSector(),
label: 'Settori',
columns: colSectors,
colkey: '_id',
@@ -5004,7 +5005,7 @@ export const fieldsTable = {
collabel: 'label',
},
{
value: toolsext.TABTYPEHOSP,
value: 'typehosps', // toolsext.TABTYPEHOSP,
label: 'Tipo Ospitalità',
columns: colTableGeneric,
colkey: 'value',
@@ -5013,7 +5014,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABPEOPLE,
value: 'people', // toolsext.TABPEOPLE,
label: 'Persone',
columns: colTableGeneric,
colkey: 'value',
@@ -5022,7 +5023,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABTYPEACCOM,
value: 'typeaccoms', //toolsext.TABTYPEACCOM,
label: 'Tipo di Accomodazione',
columns: colTableGeneric,
colkey: 'value',
@@ -5031,7 +5032,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABLOCACCOM,
value: 'locaccoms', // toolsext.TABLOCACCOM,
label: 'Locazione',
columns: colTableGeneric,
colkey: 'value',
@@ -5040,7 +5041,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABPREF,
value: 'hosps_preferences',
label: 'Preferenze',
columns: colTableGeneric,
colkey: 'value',
@@ -5049,7 +5050,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABUNITS,
value: 'units',
label: 'Unità di Misura',
columns: colTableGeneric,
colkey: 'value',

View File

@@ -36,7 +36,7 @@
</q-banner>
<q-btn v-if="circuitslistOpt.length > 0" icon-right="img: /images/1ris_rosso_100.png" color="green" size="md"
:label="t('circuit.sendcoins')" dense rounded @click="showsendCoinTo = true">
class="q-ma-md" :label="t('circuit.sendcoins')" dense rounded @click="showsendCoinTo = true">
</q-btn>
<div>

View File

@@ -1,13 +1,8 @@
<template>
<CMyPage title="Evento"
imgbackground="images/calendario_eventi.jpg"
sizes="max-height: 120px" styleadd="bottom: -20px !important;">
<CMyPage title="Evento" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px"
styleadd="bottom: -20px !important;">
<CMyCardService
:table="shared_consts.TABLES_MYBACHECAS"
:nopopup="true"
:idRec="idBacheca"
>
<CMyCardService :table="shared_consts.TABLES_MYBACHECAS" :nopopup="true" :idRec="idBacheca">
</CMyCardService>
<div v-if="!tools.isLogged()">
@@ -34,4 +29,3 @@
<style lang="scss" scoped>
@import './mypagebacheca.scss';
</style>

View File

@@ -1,16 +1,7 @@
<template>
<CMyPage
title="Bene"
imgbackground="images/calendario_eventi.jpg"
sizes="max-height: 120px"
styleadd="bottom: -20px !important;"
>
<CMyCardService
v-if="idGood"
:table="shared_consts.TABLES_MYGOODS"
:nopopup="true"
:idRec="idGood"
>
<CMyPage title="Bene" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px"
styleadd="bottom: -20px !important;">
<CMyCardService v-if="idGood" :table="shared_consts.TABLES_MYGOODS" :nopopup="true" :idRec="idGood">
</CMyCardService>
<div v-if="!tools.isLogged()">
@@ -28,4 +19,3 @@
<style lang="scss" scoped>
@import './mypagegood.scss';
</style>

View File

@@ -1,13 +1,8 @@
<template>
<CMyPage title="Ospitalità"
imgbackground="images/calendario_eventi.jpg"
sizes="max-height: 120px" styleadd="bottom: -20px !important;">
<CMyPage title="Ospitalità" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px"
styleadd="bottom: -20px !important;">
<CMyCardService
v-if="!!idHosp"
:table="shared_consts.TABLES_MYHOSPS"
:nopopup="true"
:idRec="idHosp">
<CMyCardService v-if="!!idHosp" :table="shared_consts.TABLES_MYHOSPS" :nopopup="true" :idRec="idHosp">
</CMyCardService>
@@ -27,4 +22,3 @@
<style lang="scss" scoped>
@import './mypagehosp.scss';
</style>

View File

@@ -1,16 +1,7 @@
<template>
<CMyPage
:title="username"
imgbackground="images/calendario_eventi.jpg"
sizes="max-height: 120px"
styleadd="bottom: -20px !important;"
>
<CMyCardService
v-if="idSkill"
:table="shared_consts.TABLES_MYSKILLS"
:nopopup="true"
:idRec="idSkill"
>
<CMyPage :title="username" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px"
styleadd="bottom: -20px !important;">
<CMyCardService v-if="idSkill" :table="shared_consts.TABLES_MYSKILLS" :nopopup="true" :idRec="idSkill">
</CMyCardService>
<div v-if="!tools.isLogged()">
@@ -28,4 +19,3 @@
<style lang="scss" scoped>
@import './myservice.scss';
</style>

View File

@@ -1,7 +1,6 @@
<template>
<CMyPage :title="$t('pages.notifs')"
imgbackground="images/calendario_eventi.jpg"
sizes="max-height: 120px" styleadd="bottom: -20px !important;">
<CMyPage :title="$t('pages.notifs')" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px"
styleadd="bottom: -20px !important;">
<CNotifSettings>
@@ -18,4 +17,3 @@
<style lang="scss" scoped>
@import './usernotifs.scss';
</style>