Index | Thread | Search

From:
"Anthony J. Bentley" <bentley@openbsd.org>
Subject:
Re: bgplg: modernize html
To:
Clemens Gößnitzer <clemens@goessnitzer.info>
Cc:
tech@openbsd.org
Date:
Sun, 04 Feb 2024 15:24:46 -0700

Download raw body.

Thread
Clemens Gößnitzer writes:
> The attached diff modernizes the html output from bgplg(8):
>
> * Switch to html 5
> * Unify usage of " vs ' in html tags
> * Drop trailing / for single tags, type=text/css and <!-- ... --> for
> css - not needed in html 5
> * Move style definitions from bgplg.head to bgplg.css

I see no point in unifying " vs ', they are entirely equivalent
in this case, and unlike ', " needs escaping in C strings.

> * Make screen scaling more friendly for mobile devices

Can't comment on this one. But I suggest leaving it out for now,
as unlike the other changes it makes the page render differently.

Everything else looks good to me.