Move install CLI command from dashboard header to settings page
This commit is contained in:
parent
dc1decafec
commit
8e71699ceb
|
|
@ -5,7 +5,6 @@ import {
|
|||
AppSelectorChevron,
|
||||
DashboardContainer,
|
||||
DashboardHeader,
|
||||
DashboardInstallCmd,
|
||||
DashboardTitle,
|
||||
SettingsGear,
|
||||
StatusDot,
|
||||
|
|
@ -50,9 +49,6 @@ export function DashboardLanding({ render }: { render: () => void }) {
|
|||
</AppSelectorChevron>
|
||||
)}
|
||||
</DashboardTitle>
|
||||
<DashboardInstallCmd>
|
||||
curl -fsSL {location.origin}/install | bash
|
||||
</DashboardInstallCmd>
|
||||
</DashboardHeader>
|
||||
|
||||
<StatusDotsRow>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import { getWifiConfig, saveWifiConfig } from '../api'
|
|||
import { setCurrentView } from '../state'
|
||||
import {
|
||||
Button,
|
||||
DashboardInstallCmd,
|
||||
FormActions,
|
||||
FormField,
|
||||
FormInput,
|
||||
|
|
@ -52,6 +53,12 @@ export function SettingsPage({ render }: { render: () => void }) {
|
|||
</HeaderActions>
|
||||
</MainHeader>
|
||||
<MainContent>
|
||||
<Section>
|
||||
<SectionTitle>Install CLI</SectionTitle>
|
||||
<DashboardInstallCmd>
|
||||
curl -fsSL {location.origin}/install | bash
|
||||
</DashboardInstallCmd>
|
||||
</Section>
|
||||
<Section>
|
||||
<SectionTitle>WiFi</SectionTitle>
|
||||
<form onSubmit={handleSave} style={{ display: 'flex', flexDirection: 'column', gap: 16, maxWidth: 400 }}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user