admin_szolgáltatók_
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
|
||||
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"></path>
|
||||
</svg>
|
||||
<span class="text-slate-400 text-sm">{{ $t('packages.loading') }}</span>
|
||||
<span class="text-slate-400 text-sm">{{ $t('common.loading') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
@click="fetchPackages"
|
||||
class="px-4 py-2 bg-red-700 hover:bg-red-600 text-white rounded-lg transition text-sm"
|
||||
>
|
||||
{{ $t('packages.retry') }}
|
||||
{{ $t('common.retry') }}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
@click="openCreateModal"
|
||||
class="px-5 py-2.5 bg-emerald-600 hover:bg-emerald-500 text-white font-medium rounded-lg transition text-sm"
|
||||
>
|
||||
{{ $t('packages.create_first') }}
|
||||
{{ $t('common.create_first') }}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -181,7 +181,7 @@
|
||||
@click="openEditModal(pkg)"
|
||||
class="flex-1 px-4 py-2.5 bg-indigo-600 hover:bg-indigo-500 text-white font-medium rounded-lg transition text-sm"
|
||||
>
|
||||
{{ $t('packages.edit') }}
|
||||
{{ $t('common.edit') }}
|
||||
</button>
|
||||
<button
|
||||
@click="duplicatePackage(pkg)"
|
||||
@@ -195,7 +195,7 @@
|
||||
<button
|
||||
@click="confirmDelete(pkg)"
|
||||
class="px-3 py-2.5 bg-red-700 hover:bg-red-600 text-red-200 rounded-lg transition"
|
||||
:title="$t('packages.delete')"
|
||||
:title="$t('common.delete')"
|
||||
>
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
|
||||
@@ -216,7 +216,7 @@
|
||||
<!-- Modal Header -->
|
||||
<div class="flex items-center justify-between px-6 py-4 border-b border-slate-700">
|
||||
<h3 class="text-lg font-semibold text-white">
|
||||
{{ isCreating ? $t('packages.create_title') : ($t('packages.edit_title') + ': ' + getDisplayName(editingPackage!)) }}
|
||||
{{ isCreating ? $t('common.create_title') : ($t('common.edit_title') + ': ' + getDisplayName(editingPackage!)) }}
|
||||
</h3>
|
||||
<button
|
||||
@click="showModal = false"
|
||||
@@ -717,7 +717,7 @@
|
||||
@click="showModal = false"
|
||||
class="px-4 py-2 text-sm text-slate-400 hover:text-white transition"
|
||||
>
|
||||
{{ $t('packages.cancel') }}
|
||||
{{ $t('common.cancel') }}
|
||||
</button>
|
||||
<button
|
||||
@click="savePackage"
|
||||
@@ -728,7 +728,7 @@
|
||||
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
|
||||
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"></path>
|
||||
</svg>
|
||||
{{ isCreating ? $t('packages.create') : $t('packages.save') }}
|
||||
{{ isCreating ? $t('common.create') : $t('common.save') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -742,7 +742,7 @@
|
||||
@click.self="showDeleteConfirm = false"
|
||||
>
|
||||
<div class="bg-slate-800 border border-slate-700 rounded-xl w-full max-w-md mx-4 p-6 shadow-2xl">
|
||||
<h3 class="text-lg font-semibold text-white mb-2">{{ $t('packages.delete_title') }}</h3>
|
||||
<h3 class="text-lg font-semibold text-white mb-2">{{ $t('common.delete_title') }}</h3>
|
||||
<p class="text-slate-400 text-sm mb-6">
|
||||
{{ $t('packages.delete_confirm', { name: getDisplayName(deletingPackage) }) }}
|
||||
</p>
|
||||
@@ -751,14 +751,14 @@
|
||||
@click="showDeleteConfirm = false"
|
||||
class="px-4 py-2 text-sm text-slate-400 hover:text-white transition"
|
||||
>
|
||||
{{ $t('packages.cancel') }}
|
||||
{{ $t('common.cancel') }}
|
||||
</button>
|
||||
<button
|
||||
@click="deletePackage"
|
||||
:disabled="saving"
|
||||
class="px-6 py-2 bg-red-600 hover:bg-red-500 disabled:bg-slate-600 disabled:cursor-not-allowed text-white font-medium rounded-lg transition text-sm"
|
||||
>
|
||||
{{ $t('packages.delete_btn') }}
|
||||
{{ $t('common.delete_btn') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user