From 87eb7db7edac63fb82f0f144d08a12c409609800 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 11 Feb 2022 14:52:28 +0100 Subject: Add explicit thead/tbody/tfoot tags to tables. --- views/join.pug | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'views/join.pug') diff --git a/views/join.pug b/views/join.pug index a982b93..8232645 100644 --- a/views/join.pug +++ b/views/join.pug @@ -9,7 +9,7 @@ html title= game.title_name style. table { min-width: auto; } - th,td { min-width: 10em; } + th,td { min-width: 10em; border: 1px solid black; } table td a.red { text-decoration: none; color: brown; font-size: 14px; } td a { text-decoration: underline; color: blue; } .hide { display: none; } @@ -45,14 +45,16 @@ html p table - tr - each role in roles - th.command(id="role_"+role.replace(/ /g, "_")+"_name")= role - tr - each role in roles - td.command(id="role_"+role.replace(/ /g, "_")) - - tr - td.command#message(colspan=roles.length) - + thead + tr + each role in roles + th.command(id="role_"+role.replace(/ /g, "_")+"_name")= role + tbody + tr + each role in roles + td.command(id="role_"+role.replace(/ /g, "_")) - + tr + td.command#message(colspan=roles.length) - p button.hide#delete_button(onclick="confirm_delete()") Delete -- cgit v1.2.3