Graphical update

This commit is contained in:
Felix Albrigtsen 2022-03-28 17:50:43 +02:00
parent bef38e84b2
commit 4ff41c40f7
4 changed files with 5 additions and 4 deletions

BIN
src/client/public/asura.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 KiB

View File

@ -35,7 +35,8 @@ function TournamentListItem(props) {
component="img"
alt="tournament image"
height="140"
image="Asura_Rex.png"
// image="Asura_Rex.png"
image="banner2.png"
/>
<CardContent>
<Typography variant="h3" component="div" align="center">{props.tournament.name} </Typography>

View File

@ -64,7 +64,7 @@ function TeamList(props) {
<TableHead>
<TableRow>
<TableCell>Team Name</TableCell>
<TableCell align="right">Team Members</TableCell>
{/* <TableCell align="right">Team Members</TableCell> */}
<TableCell align="center">Actions</TableCell>
</TableRow>
</TableHead>
@ -75,7 +75,7 @@ function TeamList(props) {
<TableCell component="th" scope="row"> <b>
{team.name}
</b></TableCell>
<TableCell align="right">{team.members}</TableCell>
{/* <TableCell align="right">{team.members}</TableCell> */}
<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="error" onClick={() => {props.onDelete(team.id); }}>Delete</Button>
@ -164,7 +164,7 @@ function TeamEditor(props) {
<h2><b>Edit Team:</b></h2>
<form>
<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>
</form>
</div>