]> git.ipfire.org Git - ipfire-2.x.git/commit
zoneconf.cgi: Make output HTML 5 standard compliant
authorLeo-Andres Hofmann <hofmann@leo-andres.de>
Tue, 17 Nov 2020 06:29:02 +0000 (07:29 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Nov 2020 15:47:57 +0000 (15:47 +0000)
commit8797526d36e432aed406f6b5d8091358c30d2720
treeb60a6e352788002a9bb561b896af073da9058ef9
parent96d0c76154fe1b52796517afa7afe23f1d888638
zoneconf.cgi: Make output HTML 5 standard compliant

This fixes two minor violations of the HTML standard:
- <a> elements may not contain nested <button> elements:
Replace the button with a simple hyperlink, because it was only used as a link anyway.

- "id" attributes may not contain whitespace:
Remove unneeded attribute, use hyphens instead of spaces.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/zoneconf.cgi