luci-app-wireguard: show a hint when nothing is configured
authorJo-Philipp Wich <jo@mein.io>
Thu, 18 Nov 2021 18:34:56 +0000 (19:34 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 18 Nov 2021 18:34:56 +0000 (19:34 +0100)
commit8ae208dce6fc6d6891b412355df0b9824eabd31e
tree1642114bcb23317795b34332749ff09bc0bc0782
parent6507b1f04b3c92f151f19d7b59294a826c485872
luci-app-wireguard: show a hint when nothing is configured

When no wireguard interface is configured, the wireguard status page will
simply display a blank page only containing a heading.

Print a short notice stating that no interfaces are configured. Also
use actual table elements for table markup while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-wireguard/htdocs/luci-static/resources/view/wireguard/status.js