Vintage Cube Standings
standingsRows.length === 0
? html`<p class="text-muted">No standings match the current filters.</p>`
: Inputs.table(standingsRows, {
columns: [
"season_draft_label", "player", "match_points", "standing",
"game_points", "games_played", "MWP", "OMP", "GWP", "OGP"
],
header: {
season_draft_label: "Draft ID",
player: "Player",
match_points: "Match Points",
standing: "Standing",
game_points: "Game Points",
games_played: "Games Played",
MWP: "Match Win % (MWP)",
OMP: "Opp Match Win % (OMP)",
GWP: "Game Win % (GWP)",
OGP: "Opp Game Win % (OGP)"
},
format: {
standing: standingCell,
MWP: fmt2,
OMP: fmt2,
GWP: fmt2,
OGP: fmt2
},
align: {
match_points: "right", standing: "right", game_points: "right",
games_played: "right", MWP: "right", OMP: "right",
GWP: "right", OGP: "right"
},
width: {
season_draft_label: 130,
player: 140
},
rows: 30,
layout: "auto"
})