- fix: refresh token, codice di errore ...

This commit is contained in:
Surya Paolo
2025-03-15 14:52:25 +01:00
parent dfce2bc5eb
commit 201b739c8c
59 changed files with 726 additions and 87 deletions

View File

@@ -2,7 +2,7 @@
<div>
<q-card class="my-card text-center">
<q-img :src="`images/` + myop.img" class="myimg">
<q-img :src="`/images/` + myop.img" class="myimg">
<div class="absolute-bottom text-spacetrans text-shadow">
<div class="text-h6 text-trans">{{ myop.name }} {{ myop.surname }}</div>
<div class="text-subtitle-carica text-trans">{{ myop.qualification }}</div>

View File

@@ -104,7 +104,7 @@
<q-avatar v-if="getWhereIcon(myevent.wherecode)">
<img
:src="
`images/avatar/` + getWhereIcon(myevent.wherecode)
`/images/avatar/` + getWhereIcon(myevent.wherecode)
"
alt="Località"
/>
@@ -1275,7 +1275,7 @@
<q-avatar v-if="getWhereIcon(event.wherecode)">
<img
:src="
`images/avatar/` + getWhereIcon(event.wherecode)
`/images/avatar/` + getWhereIcon(event.wherecode)
"
:alt="event.wherecode"
/>

View File

@@ -73,22 +73,22 @@ export default defineComponent({
}
const myIcon = L.icon({
iconUrl: 'images/icon.png',
iconUrl: '/images/icon.png',
iconSize: [30, 30],
iconAnchor: [22, 35],
popupAnchor: [-6, -36],
shadowUrl: 'images/marker-shadow.png',
shadowUrl: '/images/marker-shadow.png',
shadowSize: [60, 30],
shadowAnchor: [22, 35]
});
const myIconPosAtt = L.icon({
iconUrl: 'images/icon.png',
iconUrl: '/images/icon.png',
iconSize: [30, 30],
iconAnchor: [22, 35],
popupAnchor: [-6, -36],
shadowUrl: 'images/marker-shadow.png',
shadowUrl: '/images/marker-shadow.png',
shadowSize: [60, 30],
shadowAnchor: [22, 35]
});
@@ -331,7 +331,7 @@ export default defineComponent({
iconSize: [40, 40],
iconAnchor: [22, 35],
popupAnchor: [-6, -36],
shadowUrl: 'images/marker-shadow.png',
shadowUrl: '/images/marker-shadow.png',
shadowSize: [60, 30],
shadowAnchor: [22, 35]
});

View File

@@ -36,11 +36,11 @@ export default defineComponent({
const initialMap = ref(<any>null);
const myIcon = L.icon({
iconUrl: 'images/icon.png',
iconUrl: '/images/icon.png',
iconSize: [30, 30],
iconAnchor: [22, 35],
popupAnchor: [-6, -36],
shadowUrl: 'images/marker-shadow.png',
shadowUrl: '/images/marker-shadow.png',
shadowSize: [60, 30],
shadowAnchor: [22, 35]
});

View File

@@ -27,11 +27,11 @@ export default defineComponent({
const initialMap = ref(<any>null);
const myIcon = L.icon({
iconUrl: 'images/icon.png',
iconUrl: '/images/icon.png',
iconSize: [30, 30],
iconAnchor: [22, 35],
popupAnchor: [-6, -36],
shadowUrl: 'images/marker-shadow.png',
shadowUrl: '/images/marker-shadow.png',
shadowSize: [60, 30],
shadowAnchor: [22, 35]
});

View File

@@ -446,7 +446,7 @@
v-for="(myrec, ind) in myel.list"
:key="ind"
:name="ind"
:img-src="getsrcbyimg(`images/` + myrec.imagefile)"
:img-src="getsrcbyimg(`/images/` + myrec.imagefile)"
>
<div class="landing__header"></div>
<div

View File

@@ -235,7 +235,7 @@
>
</q-input>
<q-field v-if="col.showLinkResult && myvalue">
Diventerà: {{ tools.generateURL(col.showLinkResult, myvalue) }}
Diventerà: {{ tools.generateURL(col.showLinkResult, myvalue) }}
</q-field>
</div>
<div
@@ -457,7 +457,7 @@
:src="
col.showpicprofile_ifnotset
? userStore.getImgByProfile(row['profile'], true)
: 'images/noimg-user.svg'
: '/images/noimg-user.svg'
"
class="text-center"
style="height: 100px; width: 100px"
@@ -525,7 +525,7 @@
:src="
col.showpicprofile_ifnotset
? userStore.getImgByProfile(row['profile'], true)
: 'images/noimg-user.svg'
: '/images/noimg-user.svg'
"
class="text-center"
style="height: 100px; width: 100px"
@@ -581,7 +581,7 @@
:src="
col.showpicprofile_ifnotset
? userStore.getImgByProfile(row['profile'], true)
: 'images/noimg-user.svg'
: '/images/noimg-user.svg'
"
class="text-center"
style="height: 100px; width: 100px"
@@ -1276,7 +1276,7 @@
@changeval="changevalRecHours"
style="max-width: 100px"
:options="tools.SelectHours"
:addstrrequired="addstrrequired"
:addstrrequired="addstrrequired"
>
</CMySelect>
</div>

View File

@@ -116,7 +116,7 @@
<q-chip>
<q-avatar v-if="getWhereIcon(myevent.wherecode)">
<img
:src="`images/avatar/` + getWhereIcon(myevent.wherecode)"
:src="`/images/avatar/` + getWhereIcon(myevent.wherecode)"
alt="località">
</q-avatar>
<q-avatar

View File

@@ -11,7 +11,7 @@
<q-card-section class="text-center inset-shadow">
<div class="column justify-center" style="min-width: 280px">
<q-img
:src="`images/` + myop.img" class="img_effetto_3d" :alt="`${myop.name} ${myop.surname}`">
:src="`/images/` + myop.img" class="img_effetto_3d" :alt="`${myop.name} ${myop.surname}`">
</q-img>
<div class="title_shadow">{{ myop.name }} {{ myop.surname ? myop.surname : '' }}</div>

View File

@@ -23,7 +23,7 @@ export default defineComponent({
const autoplaydiscsaved = ref(0)
const tab = ref('one')
const mydir = ref('images/')
const mydir = ref('/images/')
watch(() => showuserdetails, (value: any, old: any) => {
if (!showuserdetails.value) {

View File

@@ -7,7 +7,7 @@
<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">
: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">