admin_szolgáltatók_

This commit is contained in:
Roo
2026-07-01 02:27:38 +00:00
parent 189cbfd7ca
commit 6e627d0ebe
491 changed files with 20965 additions and 9703 deletions

View File

@@ -14,7 +14,7 @@
<input
v-model="searchQuery"
type="text"
:placeholder="$t('garages.search_placeholder')"
:placeholder="$t('common.search_placeholder')"
class="w-full pl-10 pr-4 py-2.5 bg-slate-800 border border-slate-700 rounded-lg text-sm text-white placeholder-slate-500 focus:outline-none focus:ring-2 focus:ring-indigo-500/50 focus:border-indigo-500 transition"
/>
</div>
@@ -25,7 +25,7 @@
>
<option value="all">{{ $t('garages.all_types') }}</option>
<option value="individual">{{ $t('garages.type_individual') }}</option>
<option value="corporate">{{ $t('garages.type_corporate') }}</option>
<option value="corporate">{{ $t('common.type_corporate') }}</option>
</select>
<select
v-model="selectedPackage"
@@ -50,7 +50,7 @@
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4" />
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z" />
</svg>
<p class="text-slate-400 text-sm">{{ $t('garages.loading') }}</p>
<p class="text-slate-400 text-sm">{{ $t('common.loading') }}</p>
</div>
</div>
@@ -61,7 +61,7 @@
</svg>
<p class="text-red-400 text-sm mb-2">{{ error }}</p>
<button @click="fetchGarages" class="px-4 py-2 text-sm bg-indigo-600/20 text-indigo-300 hover:bg-indigo-600/30 rounded-lg transition">
{{ $t('garages.retry') }}
{{ $t('common.retry') }}
</button>
</div>
@@ -123,10 +123,10 @@
<tr class="border-b border-slate-700 bg-slate-800/80">
<th class="text-left py-3.5 px-4 text-xs font-semibold uppercase tracking-wider text-slate-400">ID</th>
<th class="text-left py-3.5 px-4 text-xs font-semibold uppercase tracking-wider text-slate-400">{{ $t('garages.company_name') }}</th>
<th class="text-left py-3.5 px-4 text-xs font-semibold uppercase tracking-wider text-slate-400">{{ $t('garages.status') }}</th>
<th class="text-left py-3.5 px-4 text-xs font-semibold uppercase tracking-wider text-slate-400">{{ $t('common.status') }}</th>
<th class="text-left py-3.5 px-4 text-xs font-semibold uppercase tracking-wider text-slate-400">{{ $t('garages.current_package') }}</th>
<th class="text-left py-3.5 px-4 text-xs font-semibold uppercase tracking-wider text-slate-400">{{ $t('garages.expiration_date') }}</th>
<th class="text-left py-3.5 px-4 text-xs font-semibold uppercase tracking-wider text-slate-400">{{ $t('garages.actions') }}</th>
<th class="text-left py-3.5 px-4 text-xs font-semibold uppercase tracking-wider text-slate-400">{{ $t('common.actions') }}</th>
</tr>
</thead>
<tbody>
@@ -214,7 +214,7 @@
? 'bg-red-500/10 text-red-300 hover:bg-red-500/20'
: 'bg-emerald-500/10 text-emerald-300 hover:bg-emerald-500/20'"
>
{{ garage.is_active ? $t('garages.deactivate') : $t('garages.activate') }}
{{ garage.is_active ? $t('common.deactivate') : $t('common.activate') }}
</button>
</div>
</td>
@@ -231,7 +231,7 @@
<svg class="w-12 h-12 text-slate-600 mb-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4" />
</svg>
<p class="text-slate-400 text-sm">{{ $t('garages.no_results') }}</p>
<p class="text-slate-400 text-sm">{{ $t('common.no_results') }}</p>
</div>
</div>
</template>
@@ -267,7 +267,7 @@
{{ selectedGarage?.subscription_tier_name || $t('garages.free_fallback') }}
</p>
<p v-if="selectedGarage?.subscription_expires_at" class="text-xs text-slate-400 mt-1">
{{ $t('garages.expires') }}: {{ formatDate(selectedGarage.subscription_expires_at) }}
{{ $t('common.expires') }}: {{ formatDate(selectedGarage.subscription_expires_at) }}
</p>
</div>
@@ -318,7 +318,7 @@
@click="closeSubscriptionModal"
class="px-4 py-2 text-sm font-medium text-slate-300 hover:text-white transition"
>
{{ $t('garages.cancel') }}
{{ $t('common.cancel') }}
</button>
<button
@click="saveSubscription"
@@ -333,9 +333,9 @@
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4" />
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z" />
</svg>
{{ $t('garages.saving') }}
{{ $t('common.saving') }}
</span>
<span v-else>{{ $t('garages.save') }}</span>
<span v-else>{{ $t('common.save') }}</span>
</button>
</div>
</div>