Further Log Management Adjustments
@@ -328,30 +328,19 @@ export default function LogManagement({ isAdmin = false }) {
|
|||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Box sx={{ p: 3, borderBottom: `1px solid ${AURORA_SHELL.border}` }}>
|
<Box sx={{ px: 3, pt: 3, pb: 1, borderBottom: `1px solid ${AURORA_SHELL.border}` }}>
|
||||||
<Stack direction="row" spacing={2} alignItems="center">
|
<Stack direction="row" spacing={1.25} alignItems="center">
|
||||||
<Box
|
<LogsIcon sx={{ fontSize: 22, color: AURORA_SHELL.accent, mt: 0.25 }} />
|
||||||
|
<Typography
|
||||||
|
variant="h6"
|
||||||
sx={{
|
sx={{
|
||||||
width: 40,
|
fontWeight: 700,
|
||||||
height: 40,
|
letterSpacing: 0.5,
|
||||||
borderRadius: "12px",
|
color: AURORA_SHELL.text,
|
||||||
display: "flex",
|
|
||||||
alignItems: "center",
|
|
||||||
justifyContent: "center",
|
|
||||||
bgcolor: "rgba(125,183,255,0.15)",
|
|
||||||
color: AURORA_SHELL.accent,
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<LogsIcon fontSize="small" />
|
|
||||||
</Box>
|
|
||||||
<Box>
|
|
||||||
<Typography variant="h5" sx={{ color: AURORA_SHELL.text, fontWeight: 600 }}>
|
|
||||||
Log Management
|
Log Management
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography sx={{ color: AURORA_SHELL.muted }}>
|
|
||||||
Analyze engine logs and adjust log retention periods for different engine services.
|
|
||||||
</Typography>
|
|
||||||
</Box>
|
|
||||||
<Box sx={{ flexGrow: 1 }} />
|
<Box sx={{ flexGrow: 1 }} />
|
||||||
<Stack direction="row" spacing={1}>
|
<Stack direction="row" spacing={1}>
|
||||||
<Button
|
<Button
|
||||||
@@ -367,6 +356,9 @@ export default function LogManagement({ isAdmin = false }) {
|
|||||||
</Button>
|
</Button>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
<Typography variant="body2" sx={{ color: AURORA_SHELL.muted, mt: 0.75, mb: 2.5 }}>
|
||||||
|
Analyze engine logs and adjust log retention periods for different engine services.
|
||||||
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
{error && (
|
{error && (
|
||||||
@@ -399,6 +391,36 @@ export default function LogManagement({ isAdmin = false }) {
|
|||||||
label="Log Domain"
|
label="Log Domain"
|
||||||
value={selectedDomain || ""}
|
value={selectedDomain || ""}
|
||||||
onChange={(e) => setSelectedDomain(e.target.value)}
|
onChange={(e) => setSelectedDomain(e.target.value)}
|
||||||
|
sx={{
|
||||||
|
"& .MuiOutlinedInput-notchedOutline": { borderColor: "rgba(148,163,184,0.35)" },
|
||||||
|
"&:hover .MuiOutlinedInput-notchedOutline": { borderColor: "rgba(148,163,184,0.6)" },
|
||||||
|
"&.Mui-focused .MuiOutlinedInput-notchedOutline": { borderColor: AURORA_SHELL.accent },
|
||||||
|
"& .MuiSelect-select": {
|
||||||
|
bgcolor: "rgba(8,15,32,0.85)",
|
||||||
|
color: AURORA_SHELL.text,
|
||||||
|
borderRadius: 1,
|
||||||
|
},
|
||||||
|
"& svg": { color: AURORA_SHELL.accent },
|
||||||
|
}}
|
||||||
|
MenuProps={{
|
||||||
|
PaperProps: {
|
||||||
|
sx: {
|
||||||
|
bgcolor: "rgba(12,18,36,0.98)",
|
||||||
|
border: `1px solid rgba(148,163,184,0.35)`,
|
||||||
|
mt: 1,
|
||||||
|
boxShadow: "0 12px 32px rgba(0,0,0,0.45)",
|
||||||
|
"& .MuiMenuItem-root": {
|
||||||
|
color: AURORA_SHELL.text,
|
||||||
|
"&.Mui-selected": {
|
||||||
|
bgcolor: "rgba(125,183,255,0.18)",
|
||||||
|
},
|
||||||
|
"&.Mui-selected:hover": {
|
||||||
|
bgcolor: "rgba(125,183,255,0.25)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{logs.map((log) => (
|
{logs.map((log) => (
|
||||||
<MenuItem key={log.file} value={log.file}>
|
<MenuItem key={log.file} value={log.file}>
|
||||||
@@ -407,7 +429,12 @@ export default function LogManagement({ isAdmin = false }) {
|
|||||||
<Chip
|
<Chip
|
||||||
label={formatBytes(log.size_bytes || 0)}
|
label={formatBytes(log.size_bytes || 0)}
|
||||||
size="small"
|
size="small"
|
||||||
sx={{ bgcolor: "rgba(125,183,255,0.15)", color: AURORA_SHELL.text }}
|
sx={{
|
||||||
|
bgcolor: "rgba(96,165,250,0.16)",
|
||||||
|
color: AURORA_SHELL.text,
|
||||||
|
borderRadius: 999,
|
||||||
|
border: "1px solid rgba(96,165,250,0.45)",
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
@@ -424,6 +451,32 @@ export default function LogManagement({ isAdmin = false }) {
|
|||||||
label="Log File"
|
label="Log File"
|
||||||
value={selectedFile || ""}
|
value={selectedFile || ""}
|
||||||
onChange={(e) => setSelectedFile(e.target.value)}
|
onChange={(e) => setSelectedFile(e.target.value)}
|
||||||
|
sx={{
|
||||||
|
"& .MuiOutlinedInput-notchedOutline": { borderColor: "rgba(148,163,184,0.35)" },
|
||||||
|
"&:hover .MuiOutlinedInput-notchedOutline": { borderColor: "rgba(148,163,184,0.6)" },
|
||||||
|
"&.Mui-focused .MuiOutlinedInput-notchedOutline": { borderColor: AURORA_SHELL.accent },
|
||||||
|
"& .MuiSelect-select": {
|
||||||
|
bgcolor: "rgba(8,15,32,0.85)",
|
||||||
|
color: AURORA_SHELL.text,
|
||||||
|
borderRadius: 1,
|
||||||
|
},
|
||||||
|
"& svg": { color: AURORA_SHELL.accent },
|
||||||
|
}}
|
||||||
|
MenuProps={{
|
||||||
|
PaperProps: {
|
||||||
|
sx: {
|
||||||
|
bgcolor: "rgba(12,18,36,0.98)",
|
||||||
|
border: `1px solid rgba(148,163,184,0.35)`,
|
||||||
|
mt: 1,
|
||||||
|
boxShadow: "0 12px 32px rgba(0,0,0,0.45)",
|
||||||
|
"& .MuiMenuItem-root": {
|
||||||
|
color: AURORA_SHELL.text,
|
||||||
|
"&.Mui-selected": { bgcolor: "rgba(125,183,255,0.18)" },
|
||||||
|
"&.Mui-selected:hover": { bgcolor: "rgba(125,183,255,0.25)" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{(selectedDomainData.versions || [{ file: selectedDomainData.file, label: "Active" }]).map(
|
{(selectedDomainData.versions || [{ file: selectedDomainData.file, label: "Active" }]).map(
|
||||||
(ver) => (
|
(ver) => (
|
||||||
|
|||||||
BIN
Docs/images/repo_screenshots/Device_Approval_Queue.png
Normal file
|
After Width: | Height: | Size: 166 KiB |
BIN
Docs/images/repo_screenshots/Device_Enrollment_Codes.png
Normal file
|
After Width: | Height: | Size: 179 KiB |
BIN
Docs/images/repo_screenshots/Device_List.png
Normal file
|
After Width: | Height: | Size: 288 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
BIN
Docs/images/repo_screenshots/Log_Management.png
Normal file
|
After Width: | Height: | Size: 298 KiB |
BIN
Docs/images/repo_screenshots/Log_Management_Raw.png
Normal file
|
After Width: | Height: | Size: 388 KiB |
BIN
Docs/images/repo_screenshots/Site_List.png
Normal file
|
After Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 229 KiB |