From d0a2eaecd6c1ef61fbb841d726c183923b903f0c Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Wed, 11 May 2022 00:49:19 -0700 Subject: 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. --- web/web_scoreboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/web_scoreboard.c') 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) { -- cgit v1.2.3-70-g09d2