- attivita
- gestione degli script sul server - creato websocket per interagire con gli script del server.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
<template>
|
||||
<div v-if="myrec && myrec._id" :class="($q.screen.lt.sm ? ' fulldiv ' : ' well-positioned-dialog')">
|
||||
<div
|
||||
v-if="myrec && myrec._id"
|
||||
:class="$q.screen.lt.sm ? ' fulldiv ' : ' well-positioned-dialog'"
|
||||
>
|
||||
<div
|
||||
:class="
|
||||
'items-start ' + (!isSmall ? ' q-gutter-xs full-height ' : '')
|
||||
"
|
||||
:class="'items-start ' + (!isSmall ? ' q-gutter-xs full-height ' : '')"
|
||||
>
|
||||
<div class="row">
|
||||
<q-toolbar class="bg-white text-black riempi">
|
||||
@@ -321,7 +322,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<q-separator v-if="!isSmall" />
|
||||
|
||||
<q-list style="z-index: 5">
|
||||
@@ -367,13 +367,6 @@
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item v-if="myrec.nome_attivita">
|
||||
<q-item-section>
|
||||
<q-item-label class="text-bold text-h7">
|
||||
{{ myrec.nome_attivita }}
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item v-if="myrec.descr">
|
||||
<q-item-section>
|
||||
<q-item-label class="text-h7">{{ myrec.descr }}</q-item-label>
|
||||
@@ -637,8 +630,8 @@
|
||||
myrec.mycities[0].comune
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="amber" name="fas fa-map-marker-alt" />
|
||||
<q-item-section avatar>
|
||||
<q-icon color="amber" name="fas fa-map-marker-alt" />
|
||||
</q-item-section>
|
||||
<q-item-section>
|
||||
<q-item-label>
|
||||
@@ -659,6 +652,33 @@
|
||||
}}</q-item-label>
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
clickable
|
||||
v-if="myrec.coordinate_gps"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="blue" name="fas fa-crosshairs" />
|
||||
</q-item-section>
|
||||
|
||||
<q-item-section>
|
||||
<q-item-label>
|
||||
<div v-if="myrec.coordinate_gps.address">
|
||||
{{ myrec.coordinate_gps.address }}
|
||||
</div>
|
||||
</q-item-label>
|
||||
<q-item-label>
|
||||
<div v-if="myrec.coordinate_gps.coordinates">
|
||||
{{ tools.getCoordinatesToShow(myrec.coordinate_gps) }}
|
||||
</div>
|
||||
<q-btn
|
||||
:label="t('attivita.vediinmappa')"
|
||||
color="primary"
|
||||
size="sm"
|
||||
@click="showInMap(myrec)"
|
||||
/>
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item clickable v-if="myrec.link_maplocation">
|
||||
<q-item-section avatar>
|
||||
<q-icon color="blue" name="fas fa-map-marker-alt" />
|
||||
@@ -934,7 +954,6 @@
|
||||
</q-btn>
|
||||
<q-btn
|
||||
class="q-mx-xxs q-my-xs"
|
||||
|
||||
rounded
|
||||
:label="$t('reaction.condividi')"
|
||||
text-color="blue"
|
||||
@@ -949,7 +968,6 @@
|
||||
myrec.contact_telegram
|
||||
"
|
||||
class="q-mx-xxs q-my-xs"
|
||||
|
||||
rounded
|
||||
:label="$t('dialog.scrivi')"
|
||||
text-color="primary"
|
||||
@@ -967,7 +985,7 @@
|
||||
"
|
||||
/>
|
||||
<q-btn
|
||||
v-if="table === shared_consts.TABLES_MYBACHECAS"
|
||||
v-if="table === shared_consts.TABLES_MYBACHECAS"
|
||||
rounded
|
||||
:color="
|
||||
calendarStore.isPartecipero(myrec._id, table)
|
||||
@@ -983,7 +1001,7 @@
|
||||
@click="EditBookEvent(true)"
|
||||
>
|
||||
</q-btn>
|
||||
<q-btn
|
||||
<q-btn
|
||||
rounded
|
||||
outline
|
||||
class="q-ma-sm"
|
||||
@@ -998,7 +1016,6 @@
|
||||
<div v-if="$q.screen.lt.sm" class="row justify-center q-my-xs">
|
||||
<q-btn
|
||||
rounded
|
||||
|
||||
:label="$t('dialog.close')"
|
||||
color="primary"
|
||||
icon="close"
|
||||
|
||||
Reference in New Issue
Block a user