Refactor menu flows into dedicated pages
Some checks failed
ci / test (push) Has been cancelled

This commit is contained in:
VPN SaaS Dev
2026-05-16 11:59:09 +09:00
parent 01a69fc42d
commit ecfb5aa949
20 changed files with 2415 additions and 97 deletions

View File

@@ -257,8 +257,8 @@
<details class="menu-group" open>
<summary>Автомобиль</summary>
<button class="menu-row" data-menu-section="carsSection">Мои автомобили</button>
<button class="menu-row" data-menu-section="carFormSection">Добавить авто</button>
<button class="menu-row" data-menu-section="carProfileSection">Параметры авто</button>
<button class="menu-row" data-page-link="/car_profile.html?action=new">Добавить авто</button>
<button class="menu-row" data-page-link="/car_profile.html">Паспорт и параметры авто</button>
<button class="menu-row" data-menu-section="maintenanceRecommendationsSection">Рекомендации ТО</button>
<button class="menu-row" data-menu-section="confirmationsSection">Подтверждения</button>
<button class="menu-row" data-menu-section="connectedServicesSection">Подключенные СТО</button>
@@ -277,17 +277,20 @@
<details class="menu-group" open>
<summary>СТО</summary>
<button class="menu-row" data-menu-section="publicServicesSection">Каталог СТО</button>
<button class="menu-row" data-page-link="/book_sto.html">Записаться в СТО</button>
<button class="menu-row" data-menu-section="appointmentsSection">Мои записи</button>
<button class="menu-row" data-menu-section="reviewsSection">Отзывы</button>
<button class="menu-row sto-workplace-only hidden" data-open-sto-page>Панель СТО</button>
<button class="menu-row sto-calendar-only hidden" data-page-link="/sto_settings.html">Настройки СТО</button>
<button class="menu-row sto-calendar-only hidden" data-menu-section="stoCalendarSection">Календарь СТО</button>
<button class="menu-row service-owner-only hidden" data-menu-section="servicePanelSection">Мое СТО</button>
<button class="menu-row service-owner-only hidden" data-page-link="/service_profile.html">Профиль СТО</button>
</details>
<details class="menu-group">
<summary>Аккаунт</summary>
<button class="menu-row" data-menu-section="settingsSection">Настройки</button>
<button class="menu-row" data-menu-section="notificationsSection">Уведомления</button>
<button class="menu-row" data-page-link="/data_exchange.html">Импорт / экспорт</button>
<button class="menu-row admin-only hidden" data-menu-section="adminSection">Админ</button>
</details>
</div>
@@ -428,7 +431,7 @@
<section class="drawer-section hidden" id="publicServicesSection">
<h2>СТО</h2>
<div class="tip-card">Обычный профиль не показывает панель СТО. Для бизнеса отправьте заявку на проверку.</div>
<button class="wide-btn service-owner-only hidden" type="button" data-menu-section="servicePanelSection">Открыть профиль СТО</button>
<button class="wide-btn service-owner-only hidden" type="button" data-page-link="/service_profile.html">Открыть профиль СТО</button>
<div id="publicServiceCenters" class="stack-list"></div>
<div id="serviceCard" class="service-card hidden"></div>
</section>