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