Graphical update
This commit is contained in:
parent
bef38e84b2
commit
4ff41c40f7
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
Binary file not shown.
After Width: | Height: | Size: 648 KiB |
|
@ -35,7 +35,8 @@ function TournamentListItem(props) {
|
||||||
component="img"
|
component="img"
|
||||||
alt="tournament image"
|
alt="tournament image"
|
||||||
height="140"
|
height="140"
|
||||||
image="Asura_Rex.png"
|
// image="Asura_Rex.png"
|
||||||
|
image="banner2.png"
|
||||||
/>
|
/>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<Typography variant="h3" component="div" align="center">{props.tournament.name} </Typography>
|
<Typography variant="h3" component="div" align="center">{props.tournament.name} </Typography>
|
||||||
|
|
|
@ -64,7 +64,7 @@ function TeamList(props) {
|
||||||
<TableHead>
|
<TableHead>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableCell>Team Name</TableCell>
|
<TableCell>Team Name</TableCell>
|
||||||
<TableCell align="right">Team Members</TableCell>
|
{/* <TableCell align="right">Team Members</TableCell> */}
|
||||||
<TableCell align="center">Actions</TableCell>
|
<TableCell align="center">Actions</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableHead>
|
</TableHead>
|
||||||
|
@ -75,7 +75,7 @@ function TeamList(props) {
|
||||||
<TableCell component="th" scope="row"> <b>
|
<TableCell component="th" scope="row"> <b>
|
||||||
{team.name}
|
{team.name}
|
||||||
</b></TableCell>
|
</b></TableCell>
|
||||||
<TableCell align="right">{team.members}</TableCell>
|
{/* <TableCell align="right">{team.members}</TableCell> */}
|
||||||
<TableCell align="center">
|
<TableCell align="center">
|
||||||
<Button variant="contained" sx={{margin: "auto 5px"}} color="primary" onClick={() => props.setSelectedTeamId(team.id)}>Edit</Button>
|
<Button variant="contained" sx={{margin: "auto 5px"}} color="primary" onClick={() => props.setSelectedTeamId(team.id)}>Edit</Button>
|
||||||
<Button variant="contained" sx={{margin: "auto 5px"}} color="error" onClick={() => {props.onDelete(team.id); }}>Delete</Button>
|
<Button variant="contained" sx={{margin: "auto 5px"}} color="error" onClick={() => {props.onDelete(team.id); }}>Delete</Button>
|
||||||
|
@ -164,7 +164,7 @@ function TeamEditor(props) {
|
||||||
<h2><b>Edit Team:</b></h2>
|
<h2><b>Edit Team:</b></h2>
|
||||||
<form>
|
<form>
|
||||||
<TextField id="teamNameInput" label="Team Name" value={team.name || ""} onChange={nameInputChanged} sx={{width: "80%"}} />
|
<TextField id="teamNameInput" label="Team Name" value={team.name || ""} onChange={nameInputChanged} sx={{width: "80%"}} />
|
||||||
<PlayerList players={players} setPlayers={setPlayers} />
|
{/* <PlayerList players={players} setPlayers={setPlayers} /> */}
|
||||||
<Button variant="contained" sx={{margin: "auto 5px"}} color="primary" onClick={saveTeam}>Save</Button>
|
<Button variant="contained" sx={{margin: "auto 5px"}} color="primary" onClick={saveTeam}>Save</Button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue