summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/static/style.css1
-rw-r--r--web/web_scoreboard.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/web/static/style.css b/web/static/style.css
index e747e1a..0ebec5c 100644
--- a/web/static/style.css
+++ b/web/static/style.css
@@ -396,6 +396,7 @@ body {
#visits .p100 { color: #78c018; }
#visits .p140 { color: #20e018; }
#visits .p180 { color: #20e018; font-weight: bold; }
+#visits .throws-first { color: #aaa; }
#visits .visit-p1-name { grid-column: 1 / span 2; }
#visits .visit-p2-name { grid-column: 4 / span 2; }
#visits .visit-p1-pts { grid-column: 1; }
diff --git a/web/web_scoreboard.c b/web/web_scoreboard.c
index 8a6def0..cd50d2c 100644
--- a/web/web_scoreboard.c
+++ b/web/web_scoreboard.c
@@ -184,11 +184,16 @@ void draw_visits()
char buf[32], buf2[32];
snprintf(buf, sizeof(buf), "%d", state->legs[0]->start);
+ if (match_opts->throws_first == 1)
+ elemv[elemc++] = create_div("∗", "visit-p1-pts throws-first");
elemv[elemc++] = create_div(buf, "visit-p1-rem");
elemv[elemc++] = create_div("0", "visit-n");
if (state->mode != M_P) {
snprintf(buf, sizeof(buf), "%d", state->legs[1]->start);
elemv[elemc++] = create_div(buf, "visit-p2-rem");
+ if (match_opts->throws_first == 2)
+ elemv[elemc++] = create_div("∗",
+ "visit-p2-pts throws-first");
}
for (int i = 0; i < n_visits; ++i) {