diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-10-03 16:30:13 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-10-05 17:36:50 +0200 |
commit | f972745ac092a1657d40d9fb01f7c68508a7c416 (patch) | |
tree | cf4d51b2d496f397f16aa5d1eedcc6219dc239b5 /views/join.pug | |
parent | d214832a193a06f20612fcfb3e64f86562235b70 (diff) | |
download | server-f972745ac092a1657d40d9fb01f7c68508a7c416.tar.gz |
Add contact list with friends and blacklisted users.
Diffstat (limited to 'views/join.pug')
-rw-r--r-- | views/join.pug | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/views/join.pug b/views/join.pug index 7a929d1..ab53ddc 100644 --- a/views/join.pug +++ b/views/join.pug @@ -10,17 +10,21 @@ html style. table { min-width: 0; } th,td { border: 1px solid black; } - td a.red { text-decoration: none; color: brown; font-size: 14px; float: right; } + td a.red { text-decoration: none; color: brown; font-size: 15px; float: right; } td a { text-decoration: underline; color: blue; } th { white-space: nowrap; background-color: gainsboro; } td { width: 180px; background-color: white; } #message { background-color: whitesmoke; } .hide { display: none; } + td.enemy { background-color: #f66 } + td.enemy::before { content: "\1f6ab "; color: #000; font-size: 15px; } script. let game = !{ JSON.stringify(game) } let roles = !{ JSON.stringify(roles) } let players = !{ JSON.stringify(players) } let user_id = !{ user.user_id } + let whitelist = !{ JSON.stringify(whitelist) } + let blacklist = !{ JSON.stringify(blacklist) } let ready = !{ ready } script(src="/join.js") body |