Files
StarPilot/openpilot/starpilot/galaxy/web/js/device-preferences.js
T
firestar5683 fab3ec9aeb Galaxy UI
Add Galaxy web assets and client settings interfaces with their bundled vendor notices.

Co-authored-by: Danny <dannyirwin31@yahoo.com>
Co-authored-by: Prabhaav Pillai <prabhaav@msu.edu>
Co-authored-by: dirwin31 <83434411+dirwin31@users.noreply.github.com>
Co-authored-by: firestarsdog <229254897+firestarsdog@users.noreply.github.com>

Co-authored-by: Dom <168790843+firestar5683@users.noreply.github.com>
Co-authored-by: prabhaavp <prabhaav@msu.edu>
2026-10-14 19:56:17 -05:00

10 lines
571 B
JavaScript

import { GxState } from "./state.js"
import { DriveStatePanel } from "./drive-state.js"
export const DEVICE_PAGES = Object.freeze({})
export function devicePage(path) { return null }
export const DevicePreferencesPage = {
components: { GxState, DriveStatePanel },
props: { mode: { type: String, required: true }, go: { type: Function, required: true } },
template: `<section class="gx-driving" aria-label="Force Drive State"><DriveStatePanel v-if="mode === 'local'" /><GxState v-else>Force Drive State is available on your connected device.</GxState></section>`,
}