From b28b921abd2bf80381a8c1bd45169cb879dcc694 Mon Sep 17 00:00:00 2001 From: Egor Date: Wed, 21 Jan 2026 08:36:40 +0300 Subject: [PATCH] Add files via upload --- src/pages/AdminBroadcasts.tsx | 4 ++-- src/pages/AdminCampaigns.tsx | 8 ++++---- src/pages/AdminPromoOffers.tsx | 6 +++--- src/pages/AdminPromocodes.tsx | 8 ++++---- src/pages/AdminRemnawave.tsx | 2 +- src/pages/AdminServers.tsx | 2 +- src/pages/AdminTariffs.tsx | 8 ++++---- src/pages/AdminUsers.tsx | 4 ++-- src/pages/Polls.tsx | 2 +- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/pages/AdminBroadcasts.tsx b/src/pages/AdminBroadcasts.tsx index 9618bd6..d0c0adf 100644 --- a/src/pages/AdminBroadcasts.tsx +++ b/src/pages/AdminBroadcasts.tsx @@ -266,7 +266,7 @@ function CreateBroadcastModal({ onClose, onSuccess }: CreateModalProps) { const recipientsCount = previewMutation.data?.count ?? selectedFilter?.count ?? null return ( -
+
{/* Header */}
@@ -490,7 +490,7 @@ function BroadcastDetailModal({ broadcast, onClose, onStop, isStopping }: Detail const isRunning = ['queued', 'in_progress', 'cancelling'].includes(broadcast.status) return ( -
+
{/* Header */}
diff --git a/src/pages/AdminCampaigns.tsx b/src/pages/AdminCampaigns.tsx index a7a7fe6..3fc0c5a 100644 --- a/src/pages/AdminCampaigns.tsx +++ b/src/pages/AdminCampaigns.tsx @@ -157,7 +157,7 @@ function CampaignModal({ campaign, servers, tariffs, onSave, onClose, isLoading const isValid = name.trim() && startParameter.trim() && /^[a-zA-Z0-9_-]+$/.test(startParameter) return ( -
+
{/* Header */}
@@ -397,7 +397,7 @@ function StatsModal({ stats, onClose, onViewUsers }: StatsModalProps) { } return ( -
+
{/* Header */}
@@ -541,7 +541,7 @@ function UsersModal({ campaignId, campaignName, onClose }: UsersModalProps) { const totalPages = Math.ceil(total / 20) return ( -
+
{/* Header */}
@@ -906,7 +906,7 @@ export default function AdminCampaigns() { {/* Delete Confirmation */} {deleteConfirm !== null && ( -
+

Удалить кампанию?

Это действие нельзя отменить. Кампании с регистрациями удалить нельзя.

diff --git a/src/pages/AdminPromoOffers.tsx b/src/pages/AdminPromoOffers.tsx index fe00d0f..b5e43b6 100644 --- a/src/pages/AdminPromoOffers.tsx +++ b/src/pages/AdminPromoOffers.tsx @@ -139,7 +139,7 @@ function TemplateEditModal({ template, onSave, onClose, isLoading }: TemplateEdi } return ( -
+
{/* Header */}
@@ -314,7 +314,7 @@ function SendOfferModal({ templates, onSend, onClose, isLoading }: SendOfferModa } return ( -
+
{/* Header */}
@@ -464,7 +464,7 @@ interface ResultModalProps { function ResultModal({ title, message, isSuccess, onClose }: ResultModalProps) { return ( -
+
+
{/* Header */}
@@ -462,7 +462,7 @@ function PromoGroupModal({ group, onSave, onClose, isLoading }: PromoGroupModalP } return ( -
+
{/* Header */}
@@ -652,7 +652,7 @@ interface PromocodeStatsModalProps { function PromocodeStatsModal({ promocode, onClose, onEdit }: PromocodeStatsModalProps) { return ( -
+
{/* Header */}
@@ -1254,7 +1254,7 @@ export default function AdminPromocodes() { {/* Delete Confirmation */} {deleteConfirm && ( -
+

{deleteConfirm.type === 'promocode' ? 'Удалить промокод?' : 'Удалить группу?'} diff --git a/src/pages/AdminRemnawave.tsx b/src/pages/AdminRemnawave.tsx index b150fb4..5b204e8 100644 --- a/src/pages/AdminRemnawave.tsx +++ b/src/pages/AdminRemnawave.tsx @@ -1001,7 +1001,7 @@ export default function AdminRemnawave() { {/* Squad Detail Modal */} {selectedSquad && ( -
setSelectedSquad(null)}> +
setSelectedSquad(null)}>
e.stopPropagation()}> {/* Header */}
diff --git a/src/pages/AdminServers.tsx b/src/pages/AdminServers.tsx index c715d0d..136d6e4 100644 --- a/src/pages/AdminServers.tsx +++ b/src/pages/AdminServers.tsx @@ -89,7 +89,7 @@ function ServerModal({ server, onSave, onClose, isLoading }: ServerModalProps) { } return ( -
+
{/* Header */}
diff --git a/src/pages/AdminTariffs.tsx b/src/pages/AdminTariffs.tsx index eb7a2ee..30a4b10 100644 --- a/src/pages/AdminTariffs.tsx +++ b/src/pages/AdminTariffs.tsx @@ -75,7 +75,7 @@ interface TariffTypeSelectProps { function TariffTypeSelect({ onSelect, onClose }: TariffTypeSelectProps) { return ( -
+

Выберите тип тарифа

@@ -234,7 +234,7 @@ function PeriodTariffModal({ tariff, servers, onSave, onClose, isLoading }: Peri } return ( -
+
{/* Header */}
@@ -806,7 +806,7 @@ function DailyTariffModal({ tariff, servers, onSave, onClose, isLoading }: Daily } return ( -
+
{/* Header */}
@@ -1405,7 +1405,7 @@ export default function AdminTariffs() { {/* Delete Confirmation */} {deleteConfirm !== null && ( -
+

{t('admin.tariffs.confirmDelete')}

{t('admin.tariffs.confirmDeleteText')}

diff --git a/src/pages/AdminUsers.tsx b/src/pages/AdminUsers.tsx index 76ad233..a598bc0 100644 --- a/src/pages/AdminUsers.tsx +++ b/src/pages/AdminUsers.tsx @@ -344,7 +344,7 @@ function UserDetailModal({ userId, onClose, onUpdate }: UserDetailModalProps) { if (loading) { return ( -
+
@@ -355,7 +355,7 @@ function UserDetailModal({ userId, onClose, onUpdate }: UserDetailModalProps) { if (!user) return null return ( -
+
{/* Header */}
diff --git a/src/pages/Polls.tsx b/src/pages/Polls.tsx index bb056b7..9114e5a 100644 --- a/src/pages/Polls.tsx +++ b/src/pages/Polls.tsx @@ -117,7 +117,7 @@ export default function Polls() { {/* Poll Modal */} {selectedPoll && ( -
+

{selectedPoll.title}