Fare procedura per cambiare gli username in giro nelle varie tabelle

fix icon Android "Badge" black and white.
This commit is contained in:
Surya Paolo
2022-12-23 00:37:22 +01:00
parent a8677dc644
commit 61451ef994
13 changed files with 24 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.46" APP_VERSION="0.5.49"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL="newfreeplanet" DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.46" APP_VERSION="0.5.49"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL=newfreeplanet DIRECTORY_LOCAL=newfreeplanet

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.46" APP_VERSION="0.5.49"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL="newfreeplanet" DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.46" APP_VERSION="0.5.49"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL=newfreeplanet DIRECTORY_LOCAL=newfreeplanet

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.46" APP_VERSION="0.5.49"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="14" APP_ID="14"
DIRECTORY_LOCAL="newfreeplanet" DIRECTORY_LOCAL="newfreeplanet"

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -617,7 +617,7 @@ self.addEventListener('push', (event) => {
options = { options = {
body: data.content, body: data.content,
icon: data.icon ? data.icon : '/images/android-chrome-192x192.png', icon: data.icon ? data.icon : '/images/android-chrome-192x192.png',
badge: data.badge ? data.badge : '/images/android-chrome-192x192.png', badge: data.badge ? data.badge : '/images/badge-96x96.png',
data: { data: {
url: data.url, url: data.url,
}, },
@@ -633,7 +633,7 @@ self.addEventListener('push', (event) => {
options = { options = {
body: text, body: text,
icon: '/images/android-chrome-192x192.png', icon: '/images/android-chrome-192x192.png',
badge: '/images/android-chrome-192x192.png', badge: '/images/badge-96x96.png',
data: { data: {
url: '/', url: '/',
}, },

View File

@@ -14,15 +14,6 @@
:label="$t('reg.submit')" :label="$t('reg.submit')"
> >
</q-btn> </q-btn>
<q-btn
color="blue"
label="pippo"
type="a"
size="sm"
href="http://pippo.it"
target="_blank"
>
</q-btn>
</div> </div>
<q-carousel <q-carousel
v-if="start" v-if="start"

View File

@@ -24,9 +24,11 @@ export default defineComponent({
const date_start = ref(new Date()) const date_start = ref(new Date())
const col = ref(0) const col = ref(0)
const placca = ref('') const placca = ref('')
const search_username = ref('')
const replace_username = ref('')
const incaricamento = ref(false) const incaricamento = ref(false)
function EseguiFunz(miafunz: string) { function EseguiFunz(miafunz: string, search_username?: string, replace_username?: string) {
const userStore = useUserStore() const userStore = useUserStore()
const globalStore = useGlobalStore() const globalStore = useGlobalStore()
@@ -47,6 +49,8 @@ export default defineComponent({
col: col, col: col,
date_start: date_start, date_start: date_start,
numpersone: numpersone, numpersone: numpersone,
search_username,
replace_username,
} }
incaricamento.value = true incaricamento.value = true
@@ -77,6 +81,8 @@ export default defineComponent({
EseguiFunz, EseguiFunz,
tools, tools,
costanti, costanti,
search_username,
replace_username
} }
}, },
}) })

View File

@@ -271,6 +271,15 @@
@click="EseguiFunz('RewriteContribType')"></q-btn> @click="EseguiFunz('RewriteContribType')"></q-btn>
<br> <br>
</div> </div>
<div class="row">
<q-input v-model="search_username" label="Username Search" style="width: 300px;"></q-input>
<q-input v-model="replace_username" label="Username Replace" style="width: 300px;"></q-input>
<q-btn
label="Replace Username" color="primary"
@click="EseguiFunz('ReplaceUsername', search_username, replace_username)"></q-btn>
<br>
</div>
<q-field <q-field

View File

@@ -1,6 +1,6 @@
<template> <template>
<q-page padding class="signup"> <q-page padding class="signup">
<CSignUp :showcell="false" :showaportador="true" :show_namesurname="false" :need_Telegram="true" :regexpire="regexpire"> <CSignUp :showcell="false" :showaportador="true" :show_namesurname="true" :need_Telegram="true" :regexpire="regexpire">
</CSignUp> </CSignUp>
</q-page> </q-page>