-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: frontend: Add menu items to home
- Loading branch information
1 parent
f9f5391
commit bbb949e
Showing
3 changed files
with
199 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
const menus = [ | ||
{ | ||
title: 'Main', | ||
icon: 'mdi-home', | ||
route: '/', | ||
}, | ||
{ | ||
title: 'Vehicle', | ||
icon: 'mdi-submarine', | ||
submenus: [ | ||
{ | ||
title: 'General', | ||
icon: 'mdi-image-filter-center-focus-strong', | ||
route: '/autopilot/general', | ||
advanced: false, | ||
text: 'General Autopilot settings, allow you to start/stop Ardupilot if using Navigator or SITL, and switch' | ||
+ ' boards if more than one is present', | ||
}, | ||
{ | ||
title: 'Firmware', | ||
icon: 'mdi-chip', | ||
route: '/autopilot/firmware', | ||
advanced: false, | ||
text: 'Used to download and flash new firmware to your board', | ||
}, | ||
{ | ||
title: 'Log Browser', | ||
icon: 'mdi-file-multiple', | ||
route: '/autopilot/logs', | ||
advanced: false, | ||
text: 'Allow browsing the Telemetry (.tlog) and Binary (.bin) logs generated by your vehicle. Bin logs are' | ||
+ ' currently only supported for Navigator boards', | ||
}, | ||
{ | ||
title: 'Endpoints', | ||
icon: 'mdi-arrow-decision', | ||
route: '/autopilot/endpoints', | ||
advanced: true, | ||
text: 'Manage Mavlink endpoints for internal/external systems. Used this if you need to connect additional' | ||
+ ' mavlink systems to your vehicle', | ||
}, | ||
{ | ||
title: 'Video', | ||
icon: 'mdi-video-vintage', | ||
route: '/autopilot/video-manager', | ||
advanced: false, | ||
text: 'Manage your video devices and video streams', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Tools', | ||
icon: 'mdi-hammer-screwdriver', | ||
submenus: [ | ||
{ | ||
title: 'Available Services', | ||
icon: 'mdi-account-hard-hat', | ||
route: '/tools/available-services', | ||
advanced: true, | ||
text: 'List all available services found in BlueOS serving http interfaces, and their' | ||
+ ' respective API documentations', | ||
}, | ||
{ | ||
title: 'Bridges', | ||
icon: 'mdi-bridge', | ||
route: '/tools/bridges', | ||
advanced: true, | ||
text: 'Allows creating UDP/TCP to Serial bridges, used for communication to serial' | ||
+ ' devices from your topside computer', | ||
}, | ||
{ | ||
title: 'File Browser', | ||
icon: 'mdi-file-tree', | ||
route: '/tools/file-browser', | ||
advanced: true, | ||
text: 'Browse all the files in BlueOS, useful for fetching logs,' | ||
+ ' tweaking configurations, and development', | ||
}, | ||
{ | ||
title: 'NMEA Injector', | ||
icon: 'mdi-map-marker', | ||
route: '/tools/nmea-injector', | ||
advanced: true, | ||
text: 'Used for forwarding UDP NMEA stream into Ardupilot', | ||
}, | ||
{ | ||
title: 'System information', | ||
icon: 'mdi-chart-pie', | ||
route: '/tools/system-information', | ||
advanced: false, | ||
text: 'Detailed system status information, CPU, memory, disk, and ethernet status', | ||
}, | ||
{ | ||
title: 'Network test', | ||
icon: 'mdi-speedometer', | ||
route: '/tools/network-test', | ||
show: true, | ||
text: 'Test link speed between topside computer and your vehicle', | ||
}, | ||
{ | ||
title: 'Terminal', | ||
icon: 'mdi-console', | ||
route: '/tools/web-terminal', | ||
advanced: true, | ||
text: 'A web-based console. Used mainly for debugging and developlment', | ||
}, | ||
{ | ||
title: 'MAVLink Inspector', | ||
icon: 'mdi-chart-areaspline', | ||
route: '/tools/mavlink-inspector', | ||
advanced: true, | ||
text: 'View detailed MAVLink traffic coming from your vehicle', | ||
}, | ||
{ | ||
title: 'Version-chooser', | ||
icon: 'mdi-cellphone-arrow-down', | ||
route: '/tools/version-chooser', | ||
advanced: false, | ||
text: 'Manage versions and update to latest available', | ||
}, | ||
], | ||
}, | ||
] | ||
|
||
export interface menuItem { | ||
title: string | ||
icon: string | ||
route?: string | ||
submenus?: menuItem[] | ||
advanced?: boolean | ||
text?: string | ||
} | ||
|
||
export default menus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters