Skip to content

Commit

Permalink
feat: 自動入力系を射水用に修正
Browse files Browse the repository at this point in the history
  • Loading branch information
testusuke committed Oct 7, 2024
1 parent d6585a3 commit a1e2f95
Show file tree
Hide file tree
Showing 7 changed files with 714 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {sportFactory} from "@/src/models/SportModel";
import {gameFactory} from "@/src/models/GameModel";
import {AutomaticMatchEditor} from "@/components/automation/AutomaticMatchEditor";
import NextLink from "next/link";
import {AutomaticMatchEditorForImizu} from "@/components/automation/AutomaticMatchEditorForImizu";

export default async function AutomaticMatchEditorPage({params}: { params: { gameId:string, id: string } }) {
const gameId = parseInt(params.gameId, 10)
Expand Down Expand Up @@ -49,7 +50,8 @@ export default async function AutomaticMatchEditorPage({params}: { params: { gam
<Typography color="text.primary">試合一括編集</Typography>
</Breadcrumbs>
<CardBackground title={`試合一括編集`}>
<AutomaticMatchEditor game={game} />
{/*<AutomaticMatchEditor game={game} />*/}
<AutomaticMatchEditorForImizu game={game} />
</CardBackground>
</Stack>
)
Expand Down
8 changes: 8 additions & 0 deletions app/(authenticated)/teams/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ export default async function TeamPage() {
>
一括名前変更
</Button>

<Button
variant={"contained"}
href={"/teams/team-creating-automation"}
component={NextLink}
>
(一時的)射水チーム作成
</Button>
</Stack>
<TeamsAgGrid
classes={classes}
Expand Down
37 changes: 37 additions & 0 deletions app/(authenticated)/teams/team-creating-automation/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import {Breadcrumbs, Link, Stack, Typography} from "@mui/material";
import CardBackground from "@/components/layout/cardBackground";
import React from "react";
import NextLink from "next/link";
import TeamCreatingAutomation from "@/components/teams/automatic-entry/teamCreatingAutomation";

export default async function TeamAutomaticRenamePage() {

return (
<Stack spacing={1} mx={2} my={3}>
<Breadcrumbs aria-label="breadcrumb" sx={{pl: 2}}>
<Link
underline="hover"
color="inherit"
href="/"
component={NextLink}
>
管理者のダッシュボード
</Link>
<Link
underline="hover"
color="inherit"
href={"/teams/"}
component={NextLink}
>
チーム管理
</Link>
<Typography color="text.primary">
射水チーム作成
</Typography>
</Breadcrumbs>
<CardBackground>
<TeamCreatingAutomation/>
</CardBackground>
</Stack>
)
}
Loading

0 comments on commit a1e2f95

Please sign in to comment.