diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-02-11 14:52:28 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-02-15 12:18:30 +0100 |
commit | 87eb7db7edac63fb82f0f144d08a12c409609800 (patch) | |
tree | f8a6f8600a9f7909df07f640e2f09c9a6764a7f6 /views/join.pug | |
parent | b967bfc72c54ceafe800e44568aa4fa20fabd675 (diff) | |
download | server-87eb7db7edac63fb82f0f144d08a12c409609800.tar.gz |
Add explicit thead/tbody/tfoot tags to tables.
Diffstat (limited to 'views/join.pug')
-rw-r--r-- | views/join.pug | 20 |
1 files changed, 11 insertions, 9 deletions
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 |