summaryrefslogtreecommitdiff
path: root/web/web_scoreboard.c
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-11 00:49:19 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-11 00:49:19 -0700
commitd0a2eaecd6c1ef61fbb841d726c183923b903f0c (patch)
treebfb0c820b6485bee11bab6cabc23907226c63ce6 /web/web_scoreboard.c
parent1980400a619104bdd15b49fcca42ebd0da0da7be (diff)
downloaddartboat-d0a2eaecd6c1ef61fbb841d726c183923b903f0c.tar.gz
dartboat-d0a2eaecd6c1ef61fbb841d726c183923b903f0c.tar.xz
web: add prettier icons
The icons come from the lovely people at Bootstrap, who've shared them under a permissive licence. To avoid loading a large file consisting almost entirely of icons we'll never display, I've generated the icon font myself, limiting it to only the glyphs we use.
Diffstat (limited to 'web/web_scoreboard.c')
-rw-r--r--web/web_scoreboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/web_scoreboard.c b/web/web_scoreboard.c
index cd50d2c..e90409c 100644
--- a/web/web_scoreboard.c
+++ b/web/web_scoreboard.c
@@ -185,7 +185,8 @@ 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("", // content added via CSS
+ "visit-p1-pts throws-first icon");
elemv[elemc++] = create_div(buf, "visit-p1-rem");
elemv[elemc++] = create_div("0", "visit-n");
if (state->mode != M_P) {