- altro aggiornamento restying
- Invio RIS aggiornato - Eventi - Home Page restyling
This commit is contained in:
@@ -89,6 +89,8 @@
|
||||
>
|
||||
</CTitleBanner>
|
||||
|
||||
|
||||
|
||||
<div v-if="shared_consts.VERTIC_SHOW_GRID.includes(myvertical)">
|
||||
<div
|
||||
v-if="(prop_search || canEdit) && finder"
|
||||
@@ -444,7 +446,29 @@
|
||||
:style="heightcarousel ? `height: ${heightcarousel}` : ''"
|
||||
v-intersection="onIntersection"
|
||||
>
|
||||
<div v-if="tablesel === shared_consts.TABLES_MYBACHECAS && compatto">
|
||||
<div
|
||||
v-for="(row, indexrow) in serverData.slice(0, 5)"
|
||||
:key="row._id || indexrow"
|
||||
:class="{
|
||||
row: opt.rowclass,
|
||||
'items-stretch': opt.rowclass,
|
||||
}"
|
||||
>
|
||||
<CMyRecEventi
|
||||
:table="tablesel"
|
||||
:prop_myrec="row"
|
||||
@cmdext="cmdExt"
|
||||
:editOn="editOn"
|
||||
:margin_right="margin_right"
|
||||
:compatto="compatto"
|
||||
>
|
||||
</CMyRecEventi>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<q-carousel
|
||||
v-else
|
||||
swipeable
|
||||
animated
|
||||
:autoplay="autoplay"
|
||||
@@ -507,6 +531,7 @@
|
||||
@cmdext="cmdExt"
|
||||
:editOn="editOn"
|
||||
:margin_right="margin_right"
|
||||
:compatto="compatto"
|
||||
>
|
||||
</CMyRecCard>
|
||||
</q-carousel-slide>
|
||||
@@ -523,10 +548,7 @@
|
||||
|
||||
<q-infinite-scroll
|
||||
ref="myinfscroll"
|
||||
v-else-if="
|
||||
shared_consts.VERTIC_SHOW_GRID.includes(myvertical) &&
|
||||
alreadymounting
|
||||
"
|
||||
v-else-if="shared_consts.VERTIC_SHOW_GRID.includes(myvertical) && alreadymounting"
|
||||
:initial-index="0"
|
||||
@load="onLoadScroll"
|
||||
:offset="350"
|
||||
@@ -631,6 +653,7 @@
|
||||
@cmdext="cmdExt"
|
||||
:editOn="editOn"
|
||||
:margin_right="margin_right"
|
||||
:compatto="compatto"
|
||||
>
|
||||
</CMyRecCard>
|
||||
</div>
|
||||
@@ -699,9 +722,7 @@
|
||||
</q-infinite-scroll>
|
||||
<q-table
|
||||
v-else-if="
|
||||
!shared_consts.VERTIC_SHOW_GRID.includes(myvertical) &&
|
||||
serverData &&
|
||||
mycolumns
|
||||
!shared_consts.VERTIC_SHOW_GRID.includes(myvertical) && serverData && mycolumns
|
||||
"
|
||||
:grid="shared_consts.VERTIC_SHOW_GRID.includes(myvertical)"
|
||||
:grid-header="
|
||||
@@ -728,55 +749,38 @@
|
||||
selection="single"
|
||||
v-model:selected="selected"
|
||||
>
|
||||
<template
|
||||
v-if="
|
||||
!(
|
||||
myvertical === costanti.VISUTABLE_SCHEDA_USER ||
|
||||
myvertical === 2 ||
|
||||
myvertical === costanti.VISUTABLE_SCHEDA_GROUP
|
||||
)
|
||||
"
|
||||
v-slot:header="props"
|
||||
>
|
||||
<template v-slot:header="props">
|
||||
<q-tr :props="props">
|
||||
<q-th> </q-th>
|
||||
<q-th />
|
||||
<q-th
|
||||
v-for="col in props.cols"
|
||||
:key="col.name"
|
||||
v-for="(col, index) in (props.cols || []).filter(
|
||||
(c) => c !== undefined && c !== null
|
||||
)"
|
||||
:key="col.name || index"
|
||||
:props="props"
|
||||
class="text-italic text-weight-bold"
|
||||
>
|
||||
<span v-if="col && showColCheck(col, tools.TIPOVIS_SHOW_RECORD, true)">
|
||||
{{ col.label }}
|
||||
<span v-if="col">
|
||||
<template
|
||||
v-if="
|
||||
!(
|
||||
myvertical === costanti.VISUTABLE_SCHEDA_USER ||
|
||||
myvertical === 2 ||
|
||||
myvertical === costanti.VISUTABLE_SCHEDA_GROUP
|
||||
) &&
|
||||
showColCheck &&
|
||||
showColCheck(col, tools.TIPOVIS_SHOW_RECORD, true)
|
||||
"
|
||||
>
|
||||
{{ col.label }}
|
||||
</template>
|
||||
<template v-else-if="col.sortable !== undefined">
|
||||
{{ col.label }}
|
||||
</template>
|
||||
</span>
|
||||
</q-th>
|
||||
</q-tr>
|
||||
</template>
|
||||
<template
|
||||
v-else
|
||||
v-slot:header="props"
|
||||
>
|
||||
<q-tr :props="props">
|
||||
<q-th> </q-th>
|
||||
|
||||
<span
|
||||
v-for="col in props.cols"
|
||||
:key="col.name"
|
||||
>
|
||||
<q-th
|
||||
v-if="col.sortable"
|
||||
:key="col.name"
|
||||
:props="props"
|
||||
class="text-italic text-weight-bold"
|
||||
>
|
||||
<span>
|
||||
{{ col.label }}
|
||||
</span>
|
||||
</q-th>
|
||||
</span>
|
||||
</q-tr>
|
||||
</template>
|
||||
|
||||
<template
|
||||
v-slot:top-right
|
||||
v-if="tablesList || arrfilters || enableExport"
|
||||
|
||||
Reference in New Issue
Block a user