Better tables
This commit is contained in:
parent
42f104533b
commit
2fddc41dac
|
@ -7,6 +7,29 @@ block content
|
|||
.columns.is-centered
|
||||
.column.is-narrow.is-desktop
|
||||
h5.title.is-5 Some battles are running...
|
||||
.columns.is-centered
|
||||
.column.is-narrow.is-desktop
|
||||
table.table.is-bordered.is-striped.is-hoverable
|
||||
tr
|
||||
th.has-text-centered AI
|
||||
th.has-text-centered Victories
|
||||
th.has-text-centered Nulls
|
||||
th.has-text-centered Defeats
|
||||
th.has-text-centered Score
|
||||
for ai in data.sortedAis
|
||||
tr
|
||||
td.has-text-centered
|
||||
strong= ai.name
|
||||
td.has-text-centered= ai.victories
|
||||
td.has-text-centered= ai.nulls
|
||||
td.has-text-centered= ai.defeats
|
||||
td.has-text-centered
|
||||
strong= ai.score
|
||||
.columns.is-centered
|
||||
.column.is-narrow
|
||||
caption
|
||||
strong Leaderboard
|
||||
|
||||
.columns.is-centered
|
||||
.column.is-narrow.is-desktop
|
||||
table.table.is-bordered.is-striped.is-narrow.is-hoverable
|
||||
|
@ -26,24 +49,10 @@ block content
|
|||
td.has-text-centered.has-text-danger= data.battles[ai1.name + "/" + ai2.name]
|
||||
else
|
||||
td.has-text-centered= data.battles[ai1.name + "/" + ai2.name]
|
||||
.column.is-narrow.is-desktop
|
||||
table.table.is-bordered.is-striped.is-hoverable
|
||||
tr
|
||||
th.has-text-centered AI
|
||||
th.has-text-centered Victories
|
||||
th.has-text-centered Nulls
|
||||
th.has-text-centered Defeats
|
||||
th.has-text-centered Score
|
||||
for ai in data.sortedAis
|
||||
tr
|
||||
td.has-text-centered
|
||||
strong= ai.name
|
||||
td.has-text-centered= ai.victories
|
||||
td.has-text-centered= ai.nulls
|
||||
td.has-text-centered= ai.defeats
|
||||
td.has-text-centered
|
||||
strong= ai.score
|
||||
|
||||
.columns.is-centered
|
||||
.column.is-narrow
|
||||
caption
|
||||
strong All battles
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue