Added Button.
Stats
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.5.34"
|
APP_VERSION="0.5.36"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.5.34"
|
APP_VERSION="0.5.36"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.5.34"
|
APP_VERSION="0.5.36"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.5.34"
|
APP_VERSION="0.5.36"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 333 KiB After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 550 KiB After Width: | Height: | Size: 185 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 7.6 KiB |
BIN
_ALL_SITES/riso.app/images/riso-apple-icon-60x60.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
BIN
_ALL_SITES/riso.app/images/riso-apple-icon-72x72.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
_ALL_SITES/riso.app/images/riso-apple-icon-76x76.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
_ALL_SITES/riso.app/images/riso-apple-icon.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 529 KiB After Width: | Height: | Size: 634 KiB |
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.5.34"
|
APP_VERSION="0.5.36"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="14"
|
APP_ID="14"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 333 KiB After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 550 KiB After Width: | Height: | Size: 185 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 7.6 KiB |
BIN
public/images/riso-apple-icon.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 529 KiB After Width: | Height: | Size: 634 KiB |
|
Before Width: | Height: | Size: 303 KiB |
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
export const shared_consts = {
|
export const shared_consts = {
|
||||||
|
|
||||||
Accepted: {
|
Accepted: {
|
||||||
@@ -29,7 +30,6 @@ export const shared_consts = {
|
|||||||
VIDEO: 50,
|
VIDEO: 50,
|
||||||
PAGE: 55,
|
PAGE: 55,
|
||||||
PAGEINTRO: 58,
|
PAGEINTRO: 58,
|
||||||
GALLERY: 60,
|
|
||||||
CALENDAR: 70,
|
CALENDAR: 70,
|
||||||
CAROUSEL_IDISCIPLINE: 80,
|
CAROUSEL_IDISCIPLINE: 80,
|
||||||
CAROUSEL_HOME: 85,
|
CAROUSEL_HOME: 85,
|
||||||
@@ -43,6 +43,7 @@ export const shared_consts = {
|
|||||||
CHECKIFISLOGGED: 170,
|
CHECKIFISLOGGED: 170,
|
||||||
INFO_VERSION: 180,
|
INFO_VERSION: 180,
|
||||||
BOTT_CONDIVIDI: 190,
|
BOTT_CONDIVIDI: 190,
|
||||||
|
BUTTON: 195,
|
||||||
PRESENTAZIONE: 200,
|
PRESENTAZIONE: 200,
|
||||||
NOTIFATTOP: 210,
|
NOTIFATTOP: 210,
|
||||||
CHART: 220,
|
CHART: 220,
|
||||||
@@ -1240,69 +1241,6 @@ export const shared_consts = {
|
|||||||
label: 'Source Sans Pro',
|
label: 'Source Sans Pro',
|
||||||
value: 'font-SourceSansPro'
|
value: 'font-SourceSansPro'
|
||||||
},
|
},
|
||||||
],
|
|
||||||
|
|
||||||
TypesElem: [
|
|
||||||
{
|
|
||||||
value: 5,
|
|
||||||
label: 'Titolo',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 6,
|
|
||||||
label: 'Margine',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 7,
|
|
||||||
label: 'Scheda',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 8,
|
|
||||||
label: 'ImgTitolo',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 9,
|
|
||||||
label: 'Img Poster',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 10,
|
|
||||||
label: 'Testo',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 20,
|
|
||||||
label: 'Html',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 30,
|
|
||||||
label: 'Immagine',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 35,
|
|
||||||
label: 'Img da Caricare',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 40,
|
|
||||||
label: 'Separatore',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 50,
|
|
||||||
label: 'Video',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 55,
|
|
||||||
label: 'Pagina',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 58,
|
|
||||||
label: 'Pagina Intro',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 60,
|
|
||||||
label: 'Galleria',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 70,
|
|
||||||
label: 'Calendario',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
value: 80,
|
value: 80,
|
||||||
label: 'Carosello Discipline',
|
label: 'Carosello Discipline',
|
||||||
@@ -1311,17 +1249,24 @@ export const shared_consts = {
|
|||||||
value: 85,
|
value: 85,
|
||||||
label: 'Carosello Home',
|
label: 'Carosello Home',
|
||||||
},
|
},
|
||||||
|
],
|
||||||
|
|
||||||
|
TypesElemAdmin: [
|
||||||
{
|
{
|
||||||
value: 110,
|
value: 5,
|
||||||
label: 'Carosello Immagini',
|
label: 'Titolo',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 100,
|
value: 8,
|
||||||
label: 'Check Email',
|
label: 'ImgTitolo',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 120,
|
value: 10,
|
||||||
label: 'OpenStreetMap',
|
label: 'Testo semplice',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 30,
|
||||||
|
label: 'Immagine (nomefile)',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 130,
|
value: 130,
|
||||||
@@ -1331,6 +1276,17 @@ export const shared_consts = {
|
|||||||
value: 140,
|
value: 140,
|
||||||
label: 'Dashboard',
|
label: 'Dashboard',
|
||||||
},
|
},
|
||||||
|
],
|
||||||
|
|
||||||
|
TypesElemAdminTools: [
|
||||||
|
{
|
||||||
|
value: 100,
|
||||||
|
label: 'Check Email',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 120,
|
||||||
|
label: 'OpenStreetMap',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
value: 160,
|
value: 160,
|
||||||
label: 'Stato Registrati',
|
label: 'Stato Registrati',
|
||||||
@@ -1391,6 +1347,58 @@ export const shared_consts = {
|
|||||||
value: 270,
|
value: 270,
|
||||||
label: 'Footer',
|
label: 'Footer',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
value: 40,
|
||||||
|
label: 'Separatore',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 70,
|
||||||
|
label: 'Calendario',
|
||||||
|
},
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
TypesElem: [
|
||||||
|
{
|
||||||
|
value: 20,
|
||||||
|
label: 'Testo',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 35,
|
||||||
|
label: 'Immagine',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 7,
|
||||||
|
label: 'Scheda (1 Immagine e Testo)',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 9,
|
||||||
|
label: 'Poster (1 Immagine + Testo)',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 195,
|
||||||
|
label: 'Bottone',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 50,
|
||||||
|
label: 'Video',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 55,
|
||||||
|
label: 'Pagina',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 58,
|
||||||
|
label: 'Pagina (solo Intro)',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 110,
|
||||||
|
label: 'Galleria d\'Immagini',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 6,
|
||||||
|
label: 'Margine',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
LISTBESTCOLORS: [
|
LISTBESTCOLORS: [
|
||||||
|
|||||||
@@ -80,11 +80,13 @@ export default defineComponent({
|
|||||||
const enableEdit = ref(true)
|
const enableEdit = ref(true)
|
||||||
const elemChanged = ref(false)
|
const elemChanged = ref(false)
|
||||||
const enableAdd = ref(true)
|
const enableAdd = ref(true)
|
||||||
|
const tabadd = ref('tools')
|
||||||
|
|
||||||
const neworder = ref(<number | undefined>0)
|
const neworder = ref(<number | undefined>0)
|
||||||
|
|
||||||
const myel = toRef(props, 'myelem')
|
const myel = toRef(props, 'myelem')
|
||||||
const newtype = ref(<any>'')
|
const newtype = ref(<any>'')
|
||||||
|
const visuadd = ref(false)
|
||||||
|
|
||||||
watch(() => myel.value.order, (value, oldval) => {
|
watch(() => myel.value.order, (value, oldval) => {
|
||||||
mounted()
|
mounted()
|
||||||
@@ -111,6 +113,8 @@ export default defineComponent({
|
|||||||
|
|
||||||
function addNewElem(order?: number) {
|
function addNewElem(order?: number) {
|
||||||
|
|
||||||
|
visuadd.value = false
|
||||||
|
|
||||||
const newrec: IMyElem = {
|
const newrec: IMyElem = {
|
||||||
_id: undefined,
|
_id: undefined,
|
||||||
type: newtype.value,
|
type: newtype.value,
|
||||||
@@ -324,6 +328,8 @@ export default defineComponent({
|
|||||||
showAnimation,
|
showAnimation,
|
||||||
tabCard,
|
tabCard,
|
||||||
tabElemsText,
|
tabElemsText,
|
||||||
|
visuadd,
|
||||||
|
tabadd,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,17 @@
|
|||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div v-if="!!myel.type">
|
<div v-if="!!myel.type">
|
||||||
<q-bar v-if="enableEdit" dense class=" q-px-sm">
|
<div class="column">
|
||||||
|
<q-btn
|
||||||
|
v-if="enableAdd"
|
||||||
|
label="Aggiungi"
|
||||||
|
icon="fas fa-plus"
|
||||||
|
color="primary"
|
||||||
|
@click="visuadd = true"
|
||||||
|
>
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
|
<q-bar v-if="enableEdit" dense class="q-px-sm">
|
||||||
<q-toggle v-model="myel.active" color="positive" icon="fas fa-eye">
|
<q-toggle v-model="myel.active" color="positive" icon="fas fa-eye">
|
||||||
</q-toggle>
|
</q-toggle>
|
||||||
<!--<q-toggle v-if="tools.isManager()"
|
<!--<q-toggle v-if="tools.isManager()"
|
||||||
@@ -48,27 +58,6 @@
|
|||||||
@click="dupElem(myel.order + 10)"
|
@click="dupElem(myel.order + 10)"
|
||||||
>
|
>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
<q-select
|
|
||||||
:behavior="$q.platform.is.ios === true ? 'dialog' : 'menu'"
|
|
||||||
v-if="enableAdd"
|
|
||||||
v-model="newtype"
|
|
||||||
dense
|
|
||||||
style="width: 150px"
|
|
||||||
:options="shared_consts.TypesElem"
|
|
||||||
emit-value
|
|
||||||
map-options
|
|
||||||
>
|
|
||||||
</q-select>
|
|
||||||
<q-btn
|
|
||||||
v-if="enableAdd"
|
|
||||||
size="sm"
|
|
||||||
dense
|
|
||||||
flat
|
|
||||||
icon="fas fa-plus"
|
|
||||||
color="positive"
|
|
||||||
@click="addNewElem(myel.order - 10)"
|
|
||||||
>
|
|
||||||
</q-btn>
|
|
||||||
</q-bar>
|
</q-bar>
|
||||||
<div class="justify-center row q-ma-xs">
|
<div class="justify-center row q-ma-xs">
|
||||||
<q-btn
|
<q-btn
|
||||||
@@ -900,6 +889,76 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="myel.type === shared_consts.ELEMTYPE.CAROUSEL_HOME"></div>
|
<div v-else-if="myel.type === shared_consts.ELEMTYPE.CAROUSEL_HOME"></div>
|
||||||
|
<div v-else-if="myel.type === shared_consts.ELEMTYPE.BUTTON">
|
||||||
|
<q-input
|
||||||
|
dense
|
||||||
|
label="Colore:"
|
||||||
|
@update:model-value="modifElem"
|
||||||
|
debounce="1000"
|
||||||
|
v-model="myel.color"
|
||||||
|
v-on:keyup.enter="saveElem"
|
||||||
|
>
|
||||||
|
</q-input>
|
||||||
|
<q-input
|
||||||
|
dense
|
||||||
|
label="Colore Testo:"
|
||||||
|
@update:model-value="modifElem"
|
||||||
|
debounce="1000"
|
||||||
|
v-model="myel.containerHtml"
|
||||||
|
v-on:keyup.enter="saveElem"
|
||||||
|
>
|
||||||
|
</q-input>
|
||||||
|
<q-input
|
||||||
|
dense
|
||||||
|
label="Link:"
|
||||||
|
@update:model-value="modifElem"
|
||||||
|
debounce="1000"
|
||||||
|
v-model="myel.link"
|
||||||
|
filled
|
||||||
|
v-on:keyup.enter="saveElem"
|
||||||
|
>
|
||||||
|
</q-input>
|
||||||
|
<q-input
|
||||||
|
dense
|
||||||
|
label="Testo Bottone:"
|
||||||
|
@update:model-value="modifElem"
|
||||||
|
debounce="1000"
|
||||||
|
v-model="myel.container"
|
||||||
|
filled
|
||||||
|
v-on:keyup.enter="saveElem"
|
||||||
|
>
|
||||||
|
</q-input>
|
||||||
|
<q-input
|
||||||
|
dense
|
||||||
|
label="Icona:"
|
||||||
|
@update:model-value="modifElem"
|
||||||
|
debounce="1000"
|
||||||
|
v-model="myel.container2"
|
||||||
|
filled
|
||||||
|
v-on:keyup.enter="saveElem"
|
||||||
|
>
|
||||||
|
</q-input>
|
||||||
|
<q-input
|
||||||
|
dense
|
||||||
|
label="Dimensione"
|
||||||
|
@update:model-value="modifElem"
|
||||||
|
debounce="1000"
|
||||||
|
v-model="myel.size"
|
||||||
|
filled
|
||||||
|
v-on:keyup.enter="saveElem"
|
||||||
|
>
|
||||||
|
</q-input>
|
||||||
|
<q-input
|
||||||
|
dense
|
||||||
|
label="Target:"
|
||||||
|
@update:model-value="modifElem"
|
||||||
|
debounce="1000"
|
||||||
|
v-model="myel.container3"
|
||||||
|
filled
|
||||||
|
v-on:keyup.enter="saveElem"
|
||||||
|
>
|
||||||
|
</q-input>
|
||||||
|
</div>
|
||||||
<div v-else-if="myel.type === shared_consts.ELEMTYPE.CALENDAR">
|
<div v-else-if="myel.type === shared_consts.ELEMTYPE.CALENDAR">
|
||||||
<div v-if="enableEdit" class="row">
|
<div v-if="enableEdit" class="row">
|
||||||
<q-input
|
<q-input
|
||||||
@@ -917,6 +976,90 @@
|
|||||||
<div v-else-if="myel.type === shared_consts.ELEMTYPE.CHECK_EMAIL"></div>
|
<div v-else-if="myel.type === shared_consts.ELEMTYPE.CHECK_EMAIL"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<q-dialog
|
||||||
|
v-model="visuadd"
|
||||||
|
transition-show="slide-up"
|
||||||
|
transition-hide="slide-down"
|
||||||
|
:maximized="$q.screen.lt.sm"
|
||||||
|
>
|
||||||
|
<q-card class="dialog_card">
|
||||||
|
<q-bar dense class="bg-primary text-white">
|
||||||
|
Aggiungi Elemento:
|
||||||
|
<q-space />
|
||||||
|
<q-btn flat round color="white" icon="close" v-close-popup></q-btn>
|
||||||
|
</q-bar>
|
||||||
|
|
||||||
|
<q-card-section class="inset-shadow row q-ma-sm q-pa-sm">
|
||||||
|
<q-tabs v-model="tabadd" inline-label class="bg-gray shadow-2">
|
||||||
|
<q-tab name="tools" label="Strumenti" />
|
||||||
|
<q-tab v-if="tools.isAdmin()" name="others" label="Altri" />
|
||||||
|
<q-tab v-if="tools.isAdmin()" name="others2" label="Altri 2" />
|
||||||
|
</q-tabs>
|
||||||
|
|
||||||
|
<q-tab-panels v-model="tabadd" animated class="row justify-center">
|
||||||
|
<q-tab-panel name="tools">
|
||||||
|
<div
|
||||||
|
v-for="(rec, index) in shared_consts.TypesElem"
|
||||||
|
:key="index"
|
||||||
|
class="q-pa-sm"
|
||||||
|
>
|
||||||
|
<q-btn
|
||||||
|
v-if="enableAdd"
|
||||||
|
:label="rec.label"
|
||||||
|
icon="fas fa-plus"
|
||||||
|
color="primary"
|
||||||
|
@click="
|
||||||
|
newtype = rec.value;
|
||||||
|
addNewElem(myel.order - 10);
|
||||||
|
"
|
||||||
|
>
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
|
</q-tab-panel>
|
||||||
|
<q-tab-panel name="others">
|
||||||
|
<div
|
||||||
|
v-for="(rec, index) in shared_consts.TypesElemAdmin"
|
||||||
|
:key="index"
|
||||||
|
class="q-pa-sm"
|
||||||
|
>
|
||||||
|
<q-btn
|
||||||
|
v-if="enableAdd"
|
||||||
|
:label="rec.label"
|
||||||
|
icon="fas fa-plus"
|
||||||
|
color="primary"
|
||||||
|
@click="
|
||||||
|
newtype = rec.value;
|
||||||
|
addNewElem(myel.order - 10);
|
||||||
|
"
|
||||||
|
>
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
|
</q-tab-panel>
|
||||||
|
<q-tab-panel name="others2">
|
||||||
|
<div
|
||||||
|
v-for="(rec, index) in shared_consts.TypesElemAdminTools"
|
||||||
|
:key="index"
|
||||||
|
class="q-pa-sm"
|
||||||
|
>
|
||||||
|
<q-btn
|
||||||
|
v-if="enableAdd"
|
||||||
|
:label="rec.label"
|
||||||
|
icon="fas fa-plus"
|
||||||
|
color="primary"
|
||||||
|
@click="
|
||||||
|
newtype = rec.value;
|
||||||
|
addNewElem(myel.order - 10);
|
||||||
|
"
|
||||||
|
>
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
|
</q-tab-panel>
|
||||||
|
</q-tab-panels>
|
||||||
|
</q-card-section>
|
||||||
|
</q-card>
|
||||||
|
</q-dialog>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" src="./CMyEditElem.ts">
|
<script lang="ts" src="./CMyEditElem.ts">
|
||||||
|
|||||||
@@ -443,6 +443,28 @@
|
|||||||
<div v-if="editOn" class="elemEdit">Registrazione</div>
|
<div v-if="editOn" class="elemEdit">Registrazione</div>
|
||||||
<CRegistration />
|
<CRegistration />
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else-if="myel.type === shared_consts.ELEMTYPE.BUTTON">
|
||||||
|
<div v-if="editOn" class="elemEdit"></div>
|
||||||
|
<div
|
||||||
|
:class="myel.class + (editOn ? ` clEdit` : ``) + getClass()"
|
||||||
|
@click="clickOnElem"
|
||||||
|
>
|
||||||
|
<q-btn
|
||||||
|
class="text-center"
|
||||||
|
v-if="myel.container"
|
||||||
|
type="a"
|
||||||
|
rounded
|
||||||
|
:label="myel.container"
|
||||||
|
size=""
|
||||||
|
:color="myel.color"
|
||||||
|
:text-color="myel.containerHtml"
|
||||||
|
:icon="myel.container2"
|
||||||
|
:href="myel.link"
|
||||||
|
:target="myel.container3"
|
||||||
|
>
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div v-else-if="myel.type === shared_consts.ELEMTYPE.DASHBOARD">
|
<div v-else-if="myel.type === shared_consts.ELEMTYPE.DASHBOARD">
|
||||||
<div v-if="editOn" class="elemEdit">CDashboard</div>
|
<div v-if="editOn" class="elemEdit">CDashboard</div>
|
||||||
<CDashboard></CDashboard>
|
<CDashboard></CDashboard>
|
||||||
@@ -484,7 +506,10 @@
|
|||||||
Msg di Controllo Verifica Email
|
Msg di Controllo Verifica Email
|
||||||
</div>
|
</div>
|
||||||
<div class="q-pa-md q-gutter-md">
|
<div class="q-pa-md q-gutter-md">
|
||||||
<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.link_sent') }}
|
{{ $t('components.authentication.email_verification.link_sent') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -535,7 +560,8 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<span class="mybanner"
|
<span class="mybanner"
|
||||||
>Aggiornamento APP in corso ... Se dopo 1 minuto non dovesse scomparire questo messaggio, chiudere e riaprire la pagina.</span
|
>Aggiornamento APP in corso ... Se dopo 1 minuto non dovesse
|
||||||
|
scomparire questo messaggio, chiudere e riaprire la pagina.</span
|
||||||
>
|
>
|
||||||
</q-banner>
|
</q-banner>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
dense
|
dense
|
||||||
@remove="scope.removeAtIndex(scope.index)"
|
@remove="scope.removeAtIndex(scope.index)"
|
||||||
v-if="checkIfShowRec(scope.opt)"
|
v-if="checkIfShowRec(scope.opt)"
|
||||||
color="white"
|
:color="$q.dark.isActive ? `black` : `white`"
|
||||||
text-color="mycol"
|
text-color="mycol"
|
||||||
class="q-my-none q-ml-xs q-mr-none"
|
class="q-my-none q-ml-xs q-mr-none"
|
||||||
>
|
>
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
dense
|
dense
|
||||||
@remove="scope.removeAtIndex(scope.index)"
|
@remove="scope.removeAtIndex(scope.index)"
|
||||||
v-if="checkIfShowRec(scope.opt)"
|
v-if="checkIfShowRec(scope.opt)"
|
||||||
color="white"
|
:color="$q.dark.isActive ? `black` : `white`"
|
||||||
class="q-my-none q-ml-xs q-mr-none"
|
class="q-my-none q-ml-xs q-mr-none"
|
||||||
>
|
>
|
||||||
<q-avatar color="primary" text-color="white" :icon="scope.opt.icon ? scope.opt.icon : ''" size="12px"/>
|
<q-avatar color="primary" text-color="white" :icon="scope.opt.icon ? scope.opt.icon : ''" size="12px"/>
|
||||||
|
|||||||
@@ -26,12 +26,12 @@
|
|||||||
padding
|
padding
|
||||||
arrows
|
arrows
|
||||||
height="400px"
|
height="400px"
|
||||||
class="bg-primary text-white shadow-1 rounded-borders"
|
:class="($q.dark.isActive ? `text-white`: `text-black`) + ` bg-primary shadow-1 rounded-borders`"
|
||||||
>
|
>
|
||||||
<q-carousel-slide name="start" class="column no-wrap flex-center">
|
<q-carousel-slide name="start" class="column no-wrap flex-center">
|
||||||
<q-icon name="fas fa-user" size="56px" />
|
<q-icon name="fas fa-user" size="56px" />
|
||||||
<div class="q-mt-md text-center">
|
<div class="q-mt-md text-center">
|
||||||
<span class="text-h6"> {{ $t('reg.invitante') }}</span>
|
<span class="text-h6 text-white"> {{ $t('reg.invitante') }}</span>
|
||||||
<q-card class="dialog_card q-mb-lg">
|
<q-card class="dialog_card q-mb-lg">
|
||||||
<q-card-section class="column q-ma-sm q-pa-sm q-col-gutter-sm">
|
<q-card-section class="column q-ma-sm q-pa-sm q-col-gutter-sm">
|
||||||
<q-btn
|
<q-btn
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div v-else-if="chooseReg">
|
<div v-else-if="chooseReg">
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<q-icon name="fas fa-user" size="23px" />
|
<q-icon name="fas fa-user" size="23px" />
|
||||||
<span class="text-h6"> {{ $t('reg.page_title') }}</span>
|
<span class="text-h6 text-white"> {{ $t('reg.page_title') }}</span>
|
||||||
<q-card class="q-mt-sm dialog_card q-mb-sm">
|
<q-card class="q-mt-sm dialog_card q-mb-sm">
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<div
|
<div
|
||||||
@@ -102,15 +102,15 @@
|
|||||||
style=""
|
style=""
|
||||||
class="row q-ma-sm centermydiv2 q-pa-sm justify-center"
|
class="row q-ma-sm centermydiv2 q-pa-sm justify-center"
|
||||||
>
|
>
|
||||||
<span class="text-black text-h7"
|
<span :class="($q.dark.isActive ? `text-white`: `text-black`) + `text-h7`"
|
||||||
>Chiedi alla persona che ti ha invitato su RISO il suo
|
>Chiedi alla persona che ti ha invitato su RISO il suo
|
||||||
Username e poi :</span
|
Username e poi :</span
|
||||||
><br />
|
><br />
|
||||||
<div class="row items-center">
|
<div class="row items-center">
|
||||||
<div>
|
<div class="col-12">
|
||||||
<p class="text-bold text-center">
|
<p class="text-bold text-center">
|
||||||
<span style="font-size: 1.5rem">👇🏻 </span> ⭐️
|
<span style="font-size: 1.5rem">👇🏻 </span> ⭐️
|
||||||
<span class="text-black">Consigliato ⭐️</span>
|
<span :class="$q.dark.isActive ? `text-white`: `text-black`">Consigliato ⭐️</span>
|
||||||
<span style="font-size: 1.5rem"> 👇🏻 </span>
|
<span style="font-size: 1.5rem"> 👇🏻 </span>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -126,9 +126,9 @@
|
|||||||
</q-btn>
|
</q-btn>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span class="text-black"
|
<div :class="$q.dark.isActive ? `text-white`: `text-black` + ` col-12`"
|
||||||
>oppure se non riesci ad installare Telegram: </span
|
>oppure se non riesci ad installare Telegram:
|
||||||
><br />
|
</div>
|
||||||
<q-btn
|
<q-btn
|
||||||
rounded
|
rounded
|
||||||
class="flex-item-btn"
|
class="flex-item-btn"
|
||||||
|
|||||||
@@ -157,8 +157,8 @@
|
|||||||
</q-tab-panel>
|
</q-tab-panel>
|
||||||
<q-tab-panel name="diffusori">
|
<q-tab-panel name="diffusori">
|
||||||
<div class="q-pa-md" style="max-width: 300px">
|
<div class="q-pa-md" style="max-width: 300px">
|
||||||
<div class="text-center text-bold text-h6">I Migliori Invitanti su RISO:</div>
|
<div class="text-center text-bold text-h6">Aiuta RISO a crescere</div>
|
||||||
<div class="text-center"> Indica il numero di persone registrate tramite il link d'invito personale.
|
<div class="text-center"> Condividi il tuo link d'invito, alimentando nuovi ingressi alla RETE Solidale di RISO.
|
||||||
</div>
|
</div>
|
||||||
<q-list bordered>
|
<q-list bordered>
|
||||||
<transition-group
|
<transition-group
|
||||||
|
|||||||
@@ -5987,7 +5987,9 @@ export const tools = {
|
|||||||
if (tipovis === tools.TIPOVIS_NEW_RECORD) {
|
if (tipovis === tools.TIPOVIS_NEW_RECORD) {
|
||||||
check = check && tools.isBitActive(col.showWhen, costanti.showWhen.NewRec)
|
check = check && tools.isBitActive(col.showWhen, costanti.showWhen.NewRec)
|
||||||
} else if (tipovis === tools.TIPOVIS_EDIT_RECORD) {
|
} else if (tipovis === tools.TIPOVIS_EDIT_RECORD) {
|
||||||
check = check && tools.isBitActive(col.showWhen, costanti.showWhen.InEdit)
|
const globalStore = useGlobalStore()
|
||||||
|
|
||||||
|
check = check && tools.isBitActive(col.showWhen, costanti.showWhen.InEdit) || (tools.isAdmin() && globalStore.editOn)
|
||||||
} else if (tipovis === tools.TIPOVIS_SHOW_RECORD) {
|
} else if (tipovis === tools.TIPOVIS_SHOW_RECORD) {
|
||||||
if (tools.isBitActive(col.showWhen, costanti.showWhen.InView_OnlyifExist)) {
|
if (tools.isBitActive(col.showWhen, costanti.showWhen.InView_OnlyifExist)) {
|
||||||
check = check && valuePresent && valuePresent !== costanti.FILTER_NESSUNO
|
check = check && valuePresent && valuePresent !== costanti.FILTER_NESSUNO
|
||||||
@@ -7303,7 +7305,7 @@ export const tools = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (let myfont of shared_consts.FontsInstalled) {
|
for (let myfont of shared_consts.FontsInstalled) {
|
||||||
document.body.classList.remove(myfont.value)
|
document.body.classList.remove(myfont.value.toString())
|
||||||
}
|
}
|
||||||
|
|
||||||
if (globalStore.site?.confpages && globalStore.site.confpages.font) {
|
if (globalStore.site?.confpages && globalStore.site.confpages.font) {
|
||||||
|
|||||||