pytron-web/views/index.pug

42 lines
1.6 KiB
Plaintext
Raw Normal View History

2019-03-20 16:52:01 +01:00
extends base
block content
section.section
.container
.columns.is-centered
.column.is-narrow.is-desktop
table.table.is-bordered.is-striped.is-narrow.is-hoverable
tr
th
for ai in ais
th.has-text-centered= ai
th.has-text-centered.has-text-success ✓
th.has-text-centered.has-text-danger ✗
for ai1 in ais
tr
th.has-text-centered= ai1
for ai2 in ais
if ai1 == ai2
td
else
td.has-text-success= battles[ai1 + "/" + ai2]
td.has-text-centered
strong= 0
td.has-text-centered
strong= 0
.column.is-narrow.is-desktop
table.table.is-bordered.is-striped.is-hoverable
tr
th.has-text-centered AI
th.has-text-centered Score
for ai in ais
tr
td.has-text-centered
strong= ai
td.has-text-centered
strong 0