Created Test Environment test.freeplanet.app

and Server: /var/www/test.freeplanet_server
This commit is contained in:
Paolo Arena
2021-09-28 23:44:55 +02:00
parent c16d444d1b
commit 489c4fecc7
39 changed files with 230 additions and 108 deletions

View File

@@ -71,7 +71,7 @@ dark color="white" v-model="globalStore.autoplaydisc" label="Auto Play" class="s
<q-carousel-slide
v-for="(myrec, index) in myarr"
:key="index"
:img-src="`statics/`+myrec.img_small"
:img-src="`public/`+myrec.img_small"
:alt="myrec.label"
:name="index">
<div class="row q-ma-xs">

View File

@@ -69,7 +69,7 @@ v-if="myevent.news" class="cltexth4 chipnews shadow-5 glossy text-right" color="
<!-- Se c'è un link, allora -->
<q-btn
class="text-center boldhigh" v-if="myevent.linkpdf" size="md" type="a"
:href="`../../statics/` + myevent.linkpdf"
:href="`../../public/` + myevent.linkpdf"
target="_blank"
ripple rounded :label="myevent.title"
:color="myevent.bgcolor" text-color="white" glossy>
@@ -152,7 +152,7 @@ v-if="myevent.price && isShowPrice(myevent)" class="glossy" color="orange"
<div class="row justify-start q-ma-md">
<q-btn
v-if="myevent.linkpdf"
size="md" type="a" :href="`../../statics/` + myevent.linkpdf"
size="md" type="a" :href="`../../public/` + myevent.linkpdf"
target="_blank" rounded outline
color="primary" icon="info"
:label="$t('cal.showpdf')">

View File

@@ -20,7 +20,7 @@
- <a :href="urlmap" target="_blank" class="text-black">Apri Mappa</a>
</p>
<a :href="urlmap" target="_blank">
<q-img :src="`statics/` + imgmap" class="imgautosize" alt="my map">
<q-img :src="`public/` + imgmap" class="imgautosize" alt="my map">
</q-img>
</a>

View File

@@ -1,6 +1,6 @@
<template>
<q-card :class="getmycardcl" v-if="!!myproduct">
<q-img :src="`statics/` + myproduct.img" :alt="myproduct.name" :class="getclimg"></q-img>
<q-img :src="`public/` + myproduct.img" :alt="myproduct.name" :class="getclimg"></q-img>
<q-card-section>
<q-btn

View File

@@ -228,7 +228,7 @@ canvas {
}
.fa-facebook:before {
content: url('../../../public/icons/flag_it.svg');
content: url('../../../public/svg/flag_it.svg');
}
.clIconOnline {

View File

@@ -275,10 +275,10 @@ export default defineComponent({
let strv = ''
if (process.env.DEV) {
strv = 'DEV '
} else if (process.env.TEST) {
} else if (tools.isTest()) {
strv = 'TEST '
}
return `[${strv}${process.env.APP_VERSION}]`
return `[${strv} ver. ${process.env.APP_VERSION}]`
}
function getLangAtt() {
@@ -344,7 +344,13 @@ export default defineComponent({
}
function getappname() {
return tools.getsuffisso() + tools.getappname(tools.isMobile())
let mystr = tools.getsuffisso() + tools.getappname(tools.isMobile())
//if (!tools.isMobile()) {
mystr += ' ' + getAppVersion()
//}
return mystr
}
function toggleanimation() {
@@ -474,6 +480,7 @@ export default defineComponent({
getMsgText,
paotest,
logoutHandler,
isUserNotAuth,
}
},

View File

@@ -29,7 +29,6 @@
</div>
<q-btn
ripple
size="md"
id="newvers" v-if="isNewVersionAvailable()" color="secondary" rounded icon="refresh"
class="btnNewVersShow" @click="RefreshApp()" :label="t('notification.newVersionAvailable')">
@@ -40,9 +39,6 @@
<img :src="imglogo()" height="27" alt="Immagine Logo">
</q-avatar>
<div class="q-mx-sm titlesite">{{ getappname() }}</div>
<template v-slot:subtitle>
<div>{{ t('msg.myDescriz') }} {{ getAppVersion() }}</div>
</template>
</q-toolbar-title>
<!--