summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt-2020/ucode/template
diff options
context:
space:
mode:
Diffstat (limited to 'themes/luci-theme-openwrt-2020/ucode/template')
-rw-r--r--themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/footer.ut2
-rw-r--r--themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut9
2 files changed, 5 insertions, 6 deletions
diff --git a/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/footer.ut b/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/footer.ut
index 5899f2a9dd..6d165f1502 100644
--- a/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/footer.ut
+++ b/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/footer.ut
@@ -10,7 +10,7 @@
Powered by {{ version.luciname }} ({{ version.luciversion }})
</p>
-<script type="text/javascript">L.require('menu-openwrt2020')</script>
+<script>L.require('menu-openwrt2020')</script>
</body>
</html>
diff --git a/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut b/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut
index 3857bce723..56443bd9cb 100644
--- a/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut
+++ b/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut
@@ -14,15 +14,14 @@
<!DOCTYPE html>
<html lang="{{ dispatcher.lang }}">
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta http-equiv="Content-Script-Type" content="text/javascript" />
+<meta charset="utf-8" />
<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="stylesheet" media="screen" href="{{ media }}/cascade.css" />
<link rel="icon" href="{{ media }}/logo.png" sizes="180x180">
<link rel="icon" href="{{ media }}/logo.svg" sizes="any">
-<script type="text/javascript" src="{{ dispatcher.build_url('admin/translations', dispatcher.lang) }}"></script>
-<script type="text/javascript" src="{{ resource }}/cbi.js"></script>
+<script src="{{ dispatcher.build_url('admin/translations', dispatcher.lang) }}"></script>
+<script src="{{ resource }}/cbi.js"></script>
<title>{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${node.title}` : ''}`) }} - LuCI</title>
{% if (css): %}
<style title="text/css">{{ css }}</style>