Compare commits

..

2 Commits

Author SHA1 Message Date
ba26e7c9e6
feat: bigger "Events" 2025-05-21 15:18:01 +02:00
64d6edd9f5
feat: order players alphabetically 2025-05-21 15:17:34 +02:00
3 changed files with 18 additions and 17 deletions

View File

@ -188,6 +188,7 @@ async def list_players(
.join(PlayerTeamLink) .join(PlayerTeamLink)
.join(Team) .join(Team)
.where(Team.id == team_id, P.disabled == False) .where(Team.id == team_id, P.disabled == False)
.order_by(P.display_name)
).all() ).all()
if players: if players:
return [ return [

View File

@ -722,6 +722,7 @@ button {
} }
.events { .events {
font-size: large;
padding: 20px; padding: 20px;
ul > li { ul > li {
padding: 0; padding: 0;

View File

@ -87,8 +87,7 @@ const TeamPanel = () => {
justifyContent: "center", justifyContent: "center",
}} }}
> >
{players && {players.map((p) => (
players.map((p) => (
<button <button
className={ className={
"team-player " + "team-player " +