//- vim:ts=4:sw=4: doctype html html head include head title Game Statistics style. table { min-width: auto; margin-bottom: 30px; } td:not(:first-child) { text-align: right; } th:not(:first-child) { text-align: right; } td:not(:first-child) { width: 50px; } td:first-child { width: 400px; } body include header article h1 Game Statistics - function p(t,r) { return r > 0 ? Math.round(r*100/t) + "%" : "" } each row in stats table thead tr th a(href="/"+row.title_id)= row.title_name unless row.scenario === "Standard" | , #{row.scenario} unless row.options === "None" | , #{row.options} th= row.total tbody - for (let i=0; i