feat: Add toggle buttons for switching between simple and advanced modes in FilterManager to enhance user navigation
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 6m39s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 6m39s
This commit is contained in:
@@ -1157,6 +1157,23 @@ function FilterManager() {
|
||||
)}
|
||||
|
||||
{/* Модальное окно упрощённого режима */}
|
||||
<div className="mb-4">
|
||||
{mode === 'simple' ? (
|
||||
<button
|
||||
className="btn btn-outline-primary btn-lg w-100"
|
||||
onClick={() => setMode('advanced')}
|
||||
>
|
||||
<IconServer className="me-2" /> Перейти в расширенный режим
|
||||
</button>
|
||||
) : (
|
||||
<button
|
||||
className="btn btn-outline-secondary btn-lg w-100"
|
||||
onClick={() => setMode('simple')}
|
||||
>
|
||||
<IconFilter className="me-2" /> Вернуться в упрощённый режим
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
{mode === 'simple' ? (
|
||||
<div className="card mb-4">
|
||||
<div className="card-header">
|
||||
|
||||
Reference in New Issue
Block a user