Skip to content

Commit

Permalink
feat: schedule page (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee authored May 28, 2023
1 parent fd9bf1b commit c9ffa19
Show file tree
Hide file tree
Showing 6 changed files with 395 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/components/widgets/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
MenuFoldOne,
MenuUnfoldOne,
OpenDoor,
Schedule,
Setting,
Theme,
} from "@icon-park/react";
Expand Down Expand Up @@ -78,6 +79,7 @@ const Links = () => {
<SidebarItem icon={Theme({})} title="主题" href={jump("/themes")} />
<SidebarItem icon={Setting({})} title="系统设置" href={jump("/settings")} />
<SidebarItem icon={FolderFocusOne({})} title="文件管理" href={jump("/files")} />
<SidebarItem icon={Schedule({})} title="定时任务" href={jump("/schedule")} />
<SidebarItem icon={Dashboard({})} title="服务状态" href={jump("/status")} />
<Space height={30} />
<span
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Files/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import clsx from "clsx";
import { ActionButton, ActionButtons } from "@components/widgets/ActionButtons";
import { apiClient } from "@utils/request";
import { toast } from "sonner";
import { AddOne, Upload } from "@icon-park/react";
import { Upload } from "@icon-park/react";

export const FilesPage: BasicPage = () => {
useSeo("文件 · 管理");
Expand Down
9 changes: 9 additions & 0 deletions src/pages/Schedule/index.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.selected {
background-color: var(--background-color-quaternary) !important;
}

.error {
color: var(--text-color-primary);
font-size: 12px;
font-family: monospace;
}
Loading

0 comments on commit c9ffa19

Please sign in to comment.