luci-theme-openwrt-2000: Add doctype to header 4763/head
authorBryan Forbes <bryan@reigndropsfall.net>
Thu, 4 Feb 2021 20:38:23 +0000 (14:38 -0600)
committerBryan Forbes <bryan@reigndropsfall.net>
Thu, 4 Feb 2021 20:47:43 +0000 (14:47 -0600)
Fix table rendering in the small responsive breakpoint on Safari (which
ignores `display: block;` for `<td>` elements).

Signed-off-by: Bryan Forbes <bryan@reigndropsfall.net>
themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm

index fc068b65c3deb2ce28e74a1684db8d4d438b371f..fb0842df0422f576287933438e769c1c6d8c63e9 100644 (file)
@@ -17,7 +17,7 @@
 
        http.prepare_content("text/html; charset=UTF-8")
 -%>
-
+<!DOCTYPE html>
 <html lang="<%=luci.i18n.context.lang%>">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />