Initial commit
This commit is contained in:
@@ -0,0 +1,124 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| SoftSPM 2 - struktura nawigacji (jedno źródło dla całego systemu)
|
||||
|--------------------------------------------------------------------------
|
||||
| Wzorzec jak w oryginale:
|
||||
| - górne menu = SEKCJE (zakres),
|
||||
| - po kliknięciu sekcji w LEWYM menu pojawiają się jej pozycje,
|
||||
| - kliknięcie pozycji otwiera funkcję.
|
||||
|
|
||||
| Struktura ODTWORZONA 1:1 z legacy index.php (sekcje + kolejność pozycji
|
||||
| + etykiety z language/polish.php). 'route' dokładamy w miarę migracji;
|
||||
| null = placeholder „w przygotowaniu".
|
||||
*/
|
||||
|
||||
return [
|
||||
|
||||
[
|
||||
'key' => 'start', 'label' => 'Start', 'icon' => 'home',
|
||||
'route' => 'dashboard',
|
||||
'items' => [
|
||||
['label' => 'Mapa obiektów', 'icon' => 'map', 'route' => 'dashboard'],
|
||||
],
|
||||
],
|
||||
|
||||
// ===== Katalogi (200) - kolejność wg index.php: 203,204,205,201,206,207,208 =====
|
||||
[
|
||||
'key' => 'katalogi', 'label' => 'Katalogi', 'icon' => 'inventory_2',
|
||||
'items' => [
|
||||
['label' => 'Katalog pomp', 'icon' => 'water_drop', 'route' => 'pumps.index'],
|
||||
['label' => 'Katalog silników', 'icon' => 'bolt', 'route' => 'engines.index'],
|
||||
['label' => 'Katalog agregatów', 'icon' => 'precision_manufacturing', 'route' => 'aggregates.index'],
|
||||
['label' => 'Wybór agregatu pompowego', 'icon' => 'checklist', 'route' => 'aggregate-selection.index'],
|
||||
['label' => 'Katalog kabli', 'icon' => 'cable', 'route' => 'cables.index'],
|
||||
['label' => 'Katalog orurowania i armatury', 'icon' => 'plumbing', 'route' => 'piping.index'],
|
||||
['label' => 'Katalog opomiarowania', 'icon' => 'speed', 'route' => 'metering.index'],
|
||||
],
|
||||
],
|
||||
|
||||
// ===== Stan (300) - kolejność wg index.php: 303,304,301,302,309,306,307,308 =====
|
||||
[
|
||||
'key' => 'stan', 'label' => 'Stan', 'icon' => 'monitoring',
|
||||
'items' => [
|
||||
['label' => 'Stan pomp', 'icon' => 'water_drop', 'route' => null], // site303
|
||||
['label' => 'Stan silników', 'icon' => 'bolt', 'route' => null], // site304
|
||||
['label' => 'Stan studni', 'icon' => 'water_drop', 'route' => null], // site301
|
||||
['label' => 'Stan zbiorników', 'icon' => 'inventory_2', 'route' => null], // site302
|
||||
['label' => 'Stan piezometrów', 'icon' => 'biotech', 'route' => null], // site309
|
||||
['label' => 'Stan kabli', 'icon' => 'cable', 'route' => null], // site306
|
||||
['label' => 'Stan orurowania i armatury', 'icon' => 'plumbing', 'route' => null], // site307
|
||||
['label' => 'Stan opomiarowania', 'icon' => 'speed', 'route' => null], // site308
|
||||
],
|
||||
],
|
||||
|
||||
// ===== Eksploatacja (400) - kolejność wg index.php: 401,402,404,405,406,403,407 =====
|
||||
[
|
||||
'key' => 'eksploatacja', 'label' => 'Eksploatacja', 'icon' => 'engineering',
|
||||
'items' => [
|
||||
['label' => 'Eksploatacja studni', 'icon' => 'water_drop', 'route' => 'well-operation.index'], // site401
|
||||
['label' => 'Eksploatacja zbiorników', 'icon' => 'inventory_2', 'route' => null], // site402
|
||||
['label' => 'Eksploatacja piezometrów', 'icon' => 'biotech', 'route' => null], // site404
|
||||
['label' => 'Eksploatacja ujęć', 'icon' => 'map', 'route' => null], // site405
|
||||
['label' => 'Kreator doboru pompy', 'icon' => 'checklist', 'route' => null], // site406
|
||||
['label' => 'Parametry stałe', 'icon' => 'settings', 'route' => null], // site403
|
||||
['label' => 'Zrzut wody - rejestr', 'icon' => 'water_drop', 'route' => null, 'append_department' => true], // site407
|
||||
],
|
||||
],
|
||||
|
||||
// ===== Stacja prób (500) - 501,502,503,504 =====
|
||||
[
|
||||
'key' => 'stacja_prob', 'label' => 'Stacja prób', 'icon' => 'biotech',
|
||||
'items' => [
|
||||
['label' => 'Pompy', 'icon' => 'water_drop', 'route' => null], // site501
|
||||
['label' => 'Silniki', 'icon' => 'bolt', 'route' => null], // site502
|
||||
['label' => 'Agregaty', 'icon' => 'precision_manufacturing', 'route' => null], // site503
|
||||
['label' => 'Kable', 'icon' => 'cable', 'route' => null], // site504
|
||||
],
|
||||
],
|
||||
|
||||
// ===== Remonty (600) - 601,602,603 =====
|
||||
[
|
||||
'key' => 'remonty', 'label' => 'Remonty', 'icon' => 'build',
|
||||
'items' => [
|
||||
['label' => 'Demontaż', 'icon' => 'build', 'route' => null], // site601
|
||||
['label' => 'Weryfikacja', 'icon' => 'checklist', 'route' => null], // site602
|
||||
['label' => 'Jakość remontów', 'icon' => 'monitoring', 'route' => null], // site603
|
||||
],
|
||||
],
|
||||
|
||||
// ===== Gospodarka (700) - 701,702,703,704 =====
|
||||
[
|
||||
'key' => 'gospodarka', 'label' => 'Gospodarka', 'icon' => 'inventory_2',
|
||||
'items' => [
|
||||
['label' => 'Statystyki rezerw studni', 'icon' => 'monitoring', 'route' => null], // site701
|
||||
['label' => 'Rezerwy części nowych', 'icon' => 'inventory_2', 'route' => null], // site702
|
||||
['label' => 'Rezerwy części regenerowanych', 'icon' => 'inventory_2', 'route' => null], // site703
|
||||
['label' => 'Rezerwy drutów i kabli', 'icon' => 'cable', 'route' => null], // site704
|
||||
],
|
||||
],
|
||||
|
||||
// ===== Administracja (800) - kolejność wg index.php: 801,802,805,803,806,807,809,810,804 =====
|
||||
[
|
||||
'key' => 'administracja', 'label' => 'Administracja', 'icon' => 'settings',
|
||||
'items' => [
|
||||
['label' => 'Zarządzanie użytkownikami', 'icon' => 'settings', 'route' => null], // site801
|
||||
['label' => 'Zarządzanie profilami', 'icon' => 'settings', 'route' => null], // site802
|
||||
['label' => 'Zarządzanie bazą wiedzy', 'icon' => 'menu_book', 'route' => null], // site805
|
||||
['label' => 'Producenci', 'icon' => 'precision_manufacturing', 'route' => null], // site803
|
||||
['label' => 'Słowniki', 'icon' => 'menu_book', 'route' => null], // site806
|
||||
['label' => 'Parametryzacja', 'icon' => 'settings', 'route' => null], // site807
|
||||
['label' => 'Raporty', 'icon' => 'monitoring', 'route' => null], // site809
|
||||
['label' => 'Zlecenia', 'icon' => 'build', 'route' => null], // site810
|
||||
['label' => 'Zmiana hasła', 'icon' => 'settings', 'route' => null], // site804
|
||||
],
|
||||
],
|
||||
|
||||
// ===== Baza wiedzy (900) - w oryginale bezpośrednia strona (site900) =====
|
||||
[
|
||||
'key' => 'baza_wiedzy', 'label' => 'Baza wiedzy', 'icon' => 'menu_book',
|
||||
'items' => [],
|
||||
],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user