added uptime monitoring

This commit is contained in:
2026-06-24 00:31:01 +02:00
parent e89c711d00
commit 1866e60518
16 changed files with 2220 additions and 19 deletions

View File

@@ -157,6 +157,11 @@ class _ScaffoldWithNavBarState extends State<ScaffoldWithNavBar> {
"selectedIcon": Icon(Icons.history),
"label": 'History',
},
{
"icon": Icon(Icons.more_horiz),
"selectedIcon": Icon(Icons.more_horiz),
"label": 'More',
},
];
}
@@ -171,6 +176,9 @@ class _ScaffoldWithNavBarState extends State<ScaffoldWithNavBar> {
case 2:
context.go('/history');
break;
case 3:
context.go('/more');
break;
}
}
@@ -178,6 +186,7 @@ class _ScaffoldWithNavBarState extends State<ScaffoldWithNavBar> {
final String location = GoRouterState.of(context).uri.path;
if (location.startsWith('/groups')) return 1;
if (location.startsWith('/history')) return 2;
if (location.startsWith('/more') || location.startsWith('/users') || location.startsWith('/uptime')) return 3;
return 0;
}