UI Views - HonzaCech/PA165-SportClub GitHub Wiki
{XYZ} denotes a screen/link to screen XYZ
{XYZ, "/a/b/c"} where "/a/b/c" is an example route for the page
-
COACH:
- {Log In, "/login"}
- Input email, password, click button "Login"
- {Teams, "/coaches/view/[email protected]/teams"}
- List teams, for each:
- click navigates to {View Team}
- show team name, age group, number of roster entries, "Remove" button
- {Add team}
- List teams, for each:
- {Add Team, "/coaches/view/[email protected]/teams/add"}
- Input name, Dropdown age group, click button "Submit"/"Cancel"
- {View Team, "/coaches/view/[email protected]/teams/view/13"}
- List players (roster entries), for each:
- click navigates to {View Player}
- show player name, age group, email, "Remove" button (from team)
- {Edit Team, "/coaches/view/[email protected]/teams/edit/13"}
- {Add Player To Team}
- {Register New Player}
- ? Edit player
- Add player to other coach's team
- List players (roster entries), for each:
- {Add Player To Team}
- Dropdown registered player, Input jersey number, click "Submit"/"Cancel"
- {Register New Player}
- Input first & last name, email, height, weight, Input or DatePick birth date, click button "Submit"/"Cancel"
- {Edit Team}
- Input name
- Delete team
- {View Player}
- Show height, weight, birth date, (??maybe teams on which rosters the player is)
- Dropdown "Add to team"
- {Edit Player}
- {Edit Player}
- Input name, (? birthdate), cbutton "Submit"/"Cancel"
- {Log In, "/login"}
-
ADMIN (Same as COACH plus):
- {Coaches}
- List coaches in sys
- {Add Coach}
- {Add Coach}
- {Players}
- List players in sys
- for each: show name, email, ..., "Remove" (from system) button
- {Coaches}