summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/style.css4
-rw-r--r--views/head.pug5
2 files changed, 6 insertions, 3 deletions
diff --git a/public/style.css b/public/style.css
index c28939d..b5a69ad 100644
--- a/public/style.css
+++ b/public/style.css
@@ -96,8 +96,8 @@ button:disabled {
outline: 1px solid gray;
}
-p.error { color: brown; font-style: italic; white-space: pre-wrap; }
-p.warning { color: brown; }
+.error { color: brown; font-style: italic; white-space: pre-wrap; }
+.warning { color: brown; }
p.warning::before { content: "\26a0"; }
div.post {
diff --git a/views/head.pug b/views/head.pug
index e65fca2..cb5ab49 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -59,7 +59,10 @@ mixin gametable(status,table,hide_title=0)
unless hide_title
td.w: a(href="/"+row.title_id)= row.title_name
td.w= row.scenario
- td!= row.player_names
+ if row.player_names
+ td!= row.player_names
+ else
+ td.error Nobody
td= row.description
case status
when 0