Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
Split subjects and groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Its-OP committed Mar 3, 2024
1 parent d5b8150 commit 7d9a553
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions Frontend/src/pages/Admin/ui/Admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,31 +90,40 @@ const Admin: FC = () => {
</Space>
</Panel>
</Collapse>
</Col>
<Col xs={6}>
<Collapse defaultActiveKey={1}>
<Panel key={1} header={"Групи"}>
<Collapse defaultActiveKey={1} style={{ marginTop: 18 }}>
<Panel key={1} header={"Предмети"}>
<Space
style={{ width: "100%" }}
direction={"vertical"}
>
<Button
onClick={() =>
showModal(ModalKey.CreateGroup)
showModal(ModalKey.CreateDiscipline)
}
style={{ width: "100%" }}
type={"primary"}
>
Створити групу
Створити предмет
</Button>
</Space>
</Panel>
</Collapse>
</Col>
<Col xs={6}>
<Collapse defaultActiveKey={1}>
<Panel key={1} header={"Групи"}>
<Space
style={{ width: "100%" }}
direction={"vertical"}
>
<Button
onClick={() =>
showModal(ModalKey.CreateDiscipline)
showModal(ModalKey.CreateGroup)
}
style={{ width: "100%" }}
type={"primary"}
>
Створити предмет
Створити групу
</Button>
</Space>
</Panel>
Expand Down

0 comments on commit 7d9a553

Please sign in to comment.