mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 19:14:34 +04:00
luci-theme-openwrt: change to HTML (like all other themes) instead of XML to fix incompatibility
luci-theme-openwrt: change to HTML (like all other themes) instead of XML to fix incompatibility see also https://github.com/openwrt/luci/issues/7229 Signed-off-by: Ramon Van Gorkom <Ramon00c00@gmail.com>
This commit is contained in:
committed by
Paul Donald
parent
b9751888a1
commit
5a30e6c3af
@@ -10,12 +10,11 @@
|
|||||||
const boardinfo = ubus.call('system', 'board');
|
const boardinfo = ubus.call('system', 'board');
|
||||||
const loadinfo = ubus.call("system", "info")?.load;
|
const loadinfo = ubus.call("system", "info")?.load;
|
||||||
|
|
||||||
http.prepare_content("application/xhtml+xml");
|
http.prepare_content('text/html; charset=UTF-8');
|
||||||
-%}
|
-%}
|
||||||
|
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<!DOCTYPE html>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<html lang="{{ dispatcher.lang }}">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ dispatcher.lang }}" lang="{{ dispatcher.lang }}">
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
|||||||
Reference in New Issue
Block a user