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/message_inbox.pug | |
parent | b967bfc72c54ceafe800e44568aa4fa20fabd675 (diff) | |
download | server-87eb7db7edac63fb82f0f144d08a12c409609800.tar.gz |
Add explicit thead/tbody/tfoot tags to tables.
Diffstat (limited to 'views/message_inbox.pug')
-rw-r--r-- | views/message_inbox.pug | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/views/message_inbox.pug b/views/message_inbox.pug index 9b0a1ab..29bd4d3 100644 --- a/views/message_inbox.pug +++ b/views/message_inbox.pug @@ -4,7 +4,9 @@ html head include head title Inbox - style .unread { background-color: lightyellow } + style. + .unread { background-color: lightyellow } + td a { display: block } body include header article @@ -14,18 +16,20 @@ html a(href="/message/send") Send message table - tr - th From - th Subject - th Date - each row in messages - tr(class=row.is_read?"read":"unread") - td: a(href="/user/"+row.from_name)= row.from_name - td: a(href="/message/read/"+row.message_id)= row.subject - td= row.time - else + thead tr - td(colspan=3) No messages. + th From + th Subject + th Date + tbody + each row in messages + tr(class=row.is_read?"read":"unread") + td: a(href="/user/"+row.from_name)= row.from_name + td: a(href="/message/read/"+row.message_id)= row.subject + td= row.time + else + tr + td(colspan=3) No messages. p a(href="/outbox") Outbox |