luci-theme-openwrt-2020: add iOS webapp support
authorRosen Penev <rosenp@gmail.com>
Tue, 11 Oct 2022 21:50:40 +0000 (14:50 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 11 Oct 2022 21:50:40 +0000 (14:50 -0700)
This way instead of opening a Safari tab, it opens in its own instance.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm

index f0c9e563d06d043ae07af7bfffffd6ce41240a8a..ba0945a172bb5f9d0b4958ea7daa252ffc785cb5 100644 (file)
@@ -23,6 +23,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta http-equiv="Content-Script-Type" content="text/javascript" />
 <meta name="viewport" content="width=device-width, initial-scale=1" />
+<meta name="apple-mobile-web-app-capable" content="yes" />
 <link rel="stylesheet" type="text/css" media="screen" href="<%=media%>/cascade.css" />
 <link rel="icon" href="<%=media%>/logo.svg" type="image/svg+xml" />
 <link rel="apple-touch-icon" href="<%=media%>/logo.png" />