added improved version of pwa app

This commit is contained in:
2025-09-04 14:45:37 +02:00
parent 5feca3859c
commit 08f02b26d7
3 changed files with 96 additions and 50 deletions
+2 -2
View File
@@ -9,13 +9,13 @@
"orientation": "portrait-primary",
"icons": [
{
"src": "https://placehold.co/192x192/4f46e5/ffffff?text=WO",
"src": "https://thetool.xinon.at/assets/images/xinon-sm-192.png",
"type": "image/png",
"sizes": "192x192",
"purpose": "any maskable"
},
{
"src": "https://placehold.co/512x512/4f46e5/ffffff?text=WO",
"src": "https://thetool.xinon.at/assets/images/xinon-sm-512.png",
"type": "image/png",
"sizes": "512x512",
"purpose": "any maskable"
@@ -3,6 +3,13 @@ Vue.component('workorder-company', {
template: `
<div>
<tt-card>
<div v-if="/Android/.test(navigator.userAgent) && /Chrome/.test(navigator.userAgent) || /iPhone/.test(navigator.userAgent) && /Safari/.test(navigator.userAgent)" class="mb-3">
<a :href="window.TT_CONFIG.BASE_PATH + '/WorkorderCompany/Mobile'" class="btn btn-primary">
<i class="fas fa-phone-alt"></i> Mobile Ansicht
</a>
</div>
<tt-table-crud
ref="table"
:crud-config="crudConfig"
@@ -90,6 +97,7 @@ Vue.component('workorder-company', {
data() {
return {
window,
navigator,
rescheduleModalData: null,
editingAdditionalInfoId: null,
tempAdditionalInfo: '',