Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add info text about Scheduler service
  • Loading branch information
beastafk committed Apr 4, 2025
commit c1b4ee3b968e9d7049fbd91bdf14ab85630817e8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, Typography } from "@mui/material";
import { Box, Typography, Link, Alert } from "@mui/material";
import { Stack } from "@mui/material"
import ScheduleIcon from '@mui/icons-material/Schedule';
import RestoreIcon from '@mui/icons-material/Restore';
Expand All @@ -8,20 +8,25 @@ import RecurringCommandsList from "./recurring/RecurringCommandsList";
const ServerSchedulesPage = () => {
return (
<Stack spacing={3} mt={3}>
<Stack spacing={1} direction="row" alignItems="center">
<Stack spacing={1} direction="column">
<Box sx={{ display: "flex", alignItems: "center", gap: 1 }}>
<Typography variant="h4">Server Schedules</Typography>
</Box>
<Alert severity="info">
<Typography variant="body1">
This is a web interface for the <Link target="_blank" href="https://etke.cc/help/extras/scheduler/">Scheduler Service</Link> that allows you to manage and maintain your server without using the Matrix bot directly.
</Typography>
</Alert>
</Stack>
<Stack spacing={1} direction="column" alignItems="center">
<Box sx={{ width: "100%" }}>
<Typography variant="h5"><ScheduleIcon sx={{ verticalAlign: "middle" }} /> Scheduled:</Typography>
<Typography variant="h5"><ScheduleIcon sx={{ verticalAlign: "middle" }} /> Scheduled commands:</Typography>
<ScheduledCommandsList />
</Box>
</Stack>
<Stack spacing={1} direction="column" alignItems="center">
<Box sx={{ width: "100%" }}>
<Typography sx={{ mb: 2 }} variant="h5"><RestoreIcon sx={{ verticalAlign: "middle" }} /> Recurring:</Typography>
<Typography sx={{ mb: 2 }} variant="h5"><RestoreIcon sx={{ verticalAlign: "middle" }} /> Recurring commands:</Typography>
<RecurringCommandsList />
</Box>
</Stack>
Expand Down