feat: Добавить модальные окна для импорта данных и компонент QuickAddBar в менеджерах ASNs, Domains и IPRanges, улучшив пользовательский интерфейс и упрощая процесс добавления записей
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m39s

This commit is contained in:
2025-08-27 18:05:25 +07:00
parent 6a81ad9983
commit d30a507f60
6 changed files with 406 additions and 220 deletions
@@ -6,7 +6,8 @@ import {
IconPlayerPlay,
IconBolt,
IconEraser,
IconDots
IconDots,
IconEye
} from '@tabler/icons-react';
import PortalDropdown from './PortalDropdown.jsx';
import { IconClock } from '@tabler/icons-react';
@@ -98,6 +99,11 @@ function PageHeaderActions({
</div>
<span className="vr d-none d-lg-inline" />
<div className="btn-group d-none d-sm-inline-flex">
{onPreview && (
<button className="btn btn-outline-primary" type="button" onClick={onPreview} disabled={disablePreview} title="Предпросмотр изменений">
<IconEye className="me-1" /> Предпросмотр
</button>
)}
{onRefresh && (
<button className="btn btn-outline-secondary" type="button" onClick={onRefresh} disabled={disableRefresh} title="Обновить данные">
<IconRefresh className={loading ? 'spin me-1' : 'me-1'} /> Обновить