mirror of
https://github.com/openwrt/luci
synced 2025-01-07 03:27:12 +08:00
treewide: HTML Cleanup
* HTML Cleanup: Meta tags. * Converted charset to shorthand. * Removed meta tags with `Content-Script-Type` attribute. (Invalid in HTML5 spec.) * HTML Cleanup: CSS tags. * Removed `type` attribute with CSS files from link tags. (HTML5 spec recommends omitting it.) * Removed `type` attribute from style tags. (Deprecated in HTML5 spec.) https://html.spec.whatwg.org/#attr-link-type https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style * HTML Cleanup: Convert from XHTML to HTML5 * Removed XML declaration. * Removed XML namespace. * Changed doctype to HTML5. * HTML Cleanup: CDATA tags. * CDATA sections should not be used within HTML they are considered as comments and not displayed. https://developer.mozilla.org/en-US/docs/Web/API/CDATASection * HTML Cleanup: Script tags. * Removed `language` attribute from script tags. (No longer valid in HTML5) * Removed `type` attribute with JavaScript MIME type from script tags. (HTML5 spec recommends omitting it.) https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type https://mimesniff.spec.whatwg.org/#javascript-mime-type Signed-off-by: Mustafa Can Elmacı <mustafacan@elmaci.net>
This commit is contained in:
parent
aa955d6465
commit
ae8bbb814f
@ -18,8 +18,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript" src="<%=resource%>/bmx7/js/polling.js"></script>
|
<script src="<%=resource%>/bmx7/js/polling.js"></script>
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
new TablePooler(10,"/cgi-bin/bmx7-info", {'originators':''}, "nodes_div", function(st){
|
new TablePooler(10,"/cgi-bin/bmx7-info", {'originators':''}, "nodes_div", function(st){
|
||||||
var originators = st.originators;
|
var originators = st.originators;
|
||||||
var res = Array();
|
var res = Array();
|
||||||
@ -37,4 +37,4 @@
|
|||||||
});
|
});
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
//]]></script>
|
</script>
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
-%>
|
-%>
|
||||||
|
|
||||||
<%+header%>
|
<%+header%>
|
||||||
<script type="text/javascript" src="<%=resource%>/cbi.js"></script>
|
<script src="<%=resource%>/cbi.js"></script>
|
||||||
<script type="text/javascript" src="<%=resource%>/bmx7/js/polling.js"></script>
|
<script src="<%=resource%>/bmx7/js/polling.js"></script>
|
||||||
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@ -88,7 +88,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
var displayExtraInfo = function ( id ) {
|
var displayExtraInfo = function ( id ) {
|
||||||
document.getElementById('extra-info').innerHTML = document.getElementById(id).innerHTML;
|
document.getElementById('extra-info').innerHTML = document.getElementById(id).innerHTML;
|
||||||
}
|
}
|
||||||
@ -150,6 +150,6 @@
|
|||||||
});
|
});
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
<%+footer%>
|
<%+footer%>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<%+header%>
|
<%+header%>
|
||||||
<script type="text/javascript" src="<%=resource%>/cbi.js"></script>
|
<script src="<%=resource%>/cbi.js"></script>
|
||||||
<script type="text/javascript" src="<%=resource%>/bmx7/js/polling.js"></script>
|
<script src="<%=resource%>/bmx7/js/polling.js"></script>
|
||||||
|
|
||||||
<div class="cbi-map">
|
<div class="cbi-map">
|
||||||
<center>
|
<center>
|
||||||
@ -87,7 +87,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
new TablePooler(10,"/cgi-bin/bmx7-info", {'info':''}, "config_div", function(st){
|
new TablePooler(10,"/cgi-bin/bmx7-info", {'info':''}, "config_div", function(st){
|
||||||
var res = Array();
|
var res = Array();
|
||||||
var sta = st.info[0].status;
|
var sta = st.info[0].status;
|
||||||
@ -125,6 +125,6 @@
|
|||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
|
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
<%+footer%>
|
<%+footer%>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<%+header%>
|
<%+header%>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.12/d3.min.js" integrity="sha512-uy3foVtL4u0+5430l7zZt4PHjVtICfrbu3mtzdanR425sKD7kS5264djeZAzNIV0l4vc1QkFpW2+G5i5KoJIFQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.12/d3.min.js" integrity="sha512-uy3foVtL4u0+5430l7zZt4PHjVtICfrbu3mtzdanR425sKD7kS5264djeZAzNIV0l4vc1QkFpW2+G5i5KoJIFQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||||
<script type="text/javascript" src="<%=resource%>/bmx7/js/netjsongraph.js"></script>
|
<script src="<%=resource%>/bmx7/js/netjsongraph.js"></script>
|
||||||
|
|
||||||
<link href="<%=resource%>/bmx7/css/netjsongraph.css" rel="stylesheet">
|
<link href="<%=resource%>/bmx7/css/netjsongraph.css" rel="stylesheet">
|
||||||
<style type="text/css">
|
<style>
|
||||||
body {
|
body {
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
|
|
||||||
<%+header%>
|
<%+header%>
|
||||||
<script type="text/javascript" src="<%=resource%>/cbi.js"></script>
|
<script src="<%=resource%>/cbi.js"></script>
|
||||||
<script type="text/javascript" src="<%=resource%>/bmx7/js/polling.js"></script>
|
<script src="<%=resource%>/bmx7/js/polling.js"></script>
|
||||||
|
|
||||||
<div class="cbi-map">
|
<div class="cbi-map">
|
||||||
<h2>Gateway announcements</h2>
|
<h2>Gateway announcements</h2>
|
||||||
@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
new TablePooler(5,"/cgi-bin/bmx7-info", {'tunnels':''}, "tunnels_div", function(st){
|
new TablePooler(5,"/cgi-bin/bmx7-info", {'tunnels':''}, "tunnels_div", function(st){
|
||||||
var tunicon = "<%=resource%>/icons/tunnel.png";
|
var tunicon = "<%=resource%>/icons/tunnel.png";
|
||||||
var tunicon_dis = "<%=resource%>/icons/tunnel_disabled.png";
|
var tunicon_dis = "<%=resource%>/icons/tunnel_disabled.png";
|
||||||
@ -71,6 +71,6 @@
|
|||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
<%+footer%>
|
<%+footer%>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
` });
|
` });
|
||||||
-%}
|
-%}
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
function command_run(ev, id)
|
function command_run(ev, id)
|
||||||
{
|
{
|
||||||
var field = document.getElementById(id);
|
var field = document.getElementById(id);
|
||||||
@ -113,7 +113,7 @@
|
|||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
{%
|
{%
|
||||||
const commands = [];
|
const commands = [];
|
||||||
|
@ -82,7 +82,7 @@ $Id$
|
|||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
|
|
||||||
var capture_running = 0;
|
var capture_running = 0;
|
||||||
var pid_file = 0;
|
var pid_file = 0;
|
||||||
@ -287,4 +287,4 @@ $Id$
|
|||||||
|
|
||||||
check_status();
|
check_status();
|
||||||
link_list_update();
|
link_list_update();
|
||||||
//]]></script>
|
</script>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<style type="text/css">
|
<style>
|
||||||
#docker_apply_overlay {
|
#docker_apply_overlay {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -42,7 +42,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
var xhr = new XHR(),
|
var xhr = new XHR(),
|
||||||
uci_apply_rollback = <%=math.max(luci.config and luci.config.apply and luci.config.apply.rollback or 90, 90)%>,
|
uci_apply_rollback = <%=math.max(luci.config and luci.config.apply and luci.config.apply.rollback or 90, 90)%>,
|
||||||
uci_apply_holdoff = <%=math.max(luci.config and luci.config.apply and luci.config.apply.holdoff or 4, 1)%>,
|
uci_apply_holdoff = <%=math.max(luci.config and luci.config.apply and luci.config.apply.holdoff or 4, 1)%>,
|
||||||
@ -144,4 +144,4 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//]]></script>
|
</script>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<li id="cbi-tab-container_logs"><a id="a-cbi-tab-container_logs" href=""><%:Logs%></a></li>
|
<li id="cbi-tab-container_logs"><a id="a-cbi-tab-container_logs" href=""><%:Logs%></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
let re = /\/admin\/docker\/container\//
|
let re = /\/admin\/docker\/container\//
|
||||||
let p = window.location.href
|
let p = window.location.href
|
||||||
let path = p.split(re)
|
let path = p.split(re)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div class="cbi-map">
|
<div class="cbi-map">
|
||||||
<iframe id="terminal" style="width: 100%; min-height: 500px; border: none; border-radius: 3px;"></iframe>
|
<iframe id="terminal" style="width: 100%; min-height: 500px; border: none; border-radius: 3px;"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
document.getElementById("terminal").src = "http://" + window.location.hostname + ":7682";
|
document.getElementById("terminal").src = "http://" + window.location.hostname + ":7682";
|
||||||
</script>
|
</script>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
let btnUpload = document.getElementById('upload')
|
let btnUpload = document.getElementById('upload')
|
||||||
btnUpload.onclick = function (e) {
|
btnUpload.onclick = function (e) {
|
||||||
let uploadArchive = document.getElementById('upload_archive')
|
let uploadArchive = document.getElementById('upload_archive')
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
let last_bw_tx
|
let last_bw_tx
|
||||||
let last_bw_rx
|
let last_bw_rx
|
||||||
let interval = 3
|
let interval = 3
|
||||||
@ -78,4 +78,4 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
//]]></script>
|
</script>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<input type="file" id="file_import" style="visibility:hidden; position: absolute;top: 0px; left: 0px;" />
|
<input type="file" id="file_import" style="visibility:hidden; position: absolute;top: 0px; left: 0px;" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
let btnImport = document.getElementById('btnimport')
|
let btnImport = document.getElementById('btnimport')
|
||||||
let valISrc = document.getElementById('isrc')
|
let valISrc = document.getElementById('isrc')
|
||||||
let valITag = document.getElementById('itag')
|
let valITag = document.getElementById('itag')
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<input type="button"" class="btn cbi-button cbi-button-add" id="btnload" name="load" value="<%:Load%>" />
|
<input type="button"" class="btn cbi-button cbi-button-add" id="btnload" name="load" value="<%:Load%>" />
|
||||||
<input type="file" id="file_load" style="visibility:hidden; position: absolute;top: 0px; left: 0px;" accept="application/x-tar" />
|
<input type="file" id="file_load" style="visibility:hidden; position: absolute;top: 0px; left: 0px;" accept="application/x-tar" />
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
let btnLoad = document.getElementById('btnload')
|
let btnLoad = document.getElementById('btnload')
|
||||||
btnLoad.onclick = function (e) {
|
btnLoad.onclick = function (e) {
|
||||||
document.getElementById("file_load").click()
|
document.getElementById("file_load").click()
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<style type="text/css">
|
<style>
|
||||||
#dialog_reslov {
|
#dialog_reslov {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -50,7 +50,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
function close_reslov_dialog() {
|
function close_reslov_dialog() {
|
||||||
document.body.classList.remove('dialog-reslov-active')
|
document.body.classList.remove('dialog-reslov-active')
|
||||||
document.documentElement.style.overflowY = 'scroll'
|
document.documentElement.style.overflowY = 'scroll'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
XHR.poll(-1, '<%=url('admin/telephony/status')%>', null,
|
XHR.poll(-1, '<%=url('admin/telephony/status')%>', null,
|
||||||
function(x, st)
|
function(x, st)
|
||||||
{
|
{
|
||||||
@ -14,7 +14,7 @@ XHR.poll(-1, '<%=url('admin/telephony/status')%>', null,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
<fieldset class="cbi-section">
|
<fieldset class="cbi-section">
|
||||||
<legend><%:Current Telephony State%></legend>
|
<legend><%:Current Telephony State%></legend>
|
||||||
|
@ -64,8 +64,7 @@ local target = nx.uname().machine
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
//<![CDATA[
|
|
||||||
window.img = { "red" : "<%=resource%>/cbi/red.gif", "green" : "<%=resource%>/cbi/green.gif", "purple" : "<%=resource%>/cbi/purple.gif" };
|
window.img = { "red" : "<%=resource%>/cbi/red.gif", "green" : "<%=resource%>/cbi/green.gif", "purple" : "<%=resource%>/cbi/purple.gif" };
|
||||||
window.states = { "STOPPED" : "red", "RUNNING" : "green", "FROZEN" : "purple" };
|
window.states = { "STOPPED" : "red", "RUNNING" : "green", "FROZEN" : "purple" };
|
||||||
|
|
||||||
@ -502,5 +501,4 @@ local target = nx.uname().machine
|
|||||||
})
|
})
|
||||||
|
|
||||||
lxc_list_update();
|
lxc_list_update();
|
||||||
//]]>
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<%+header%>
|
<%+header%>
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
var bwxhr = new XHR();
|
var bwxhr = new XHR();
|
||||||
|
|
||||||
var RC = { };
|
var RC = { };
|
||||||
@ -120,7 +120,7 @@
|
|||||||
}
|
}
|
||||||
}, 1000
|
}, 1000
|
||||||
);
|
);
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
<h2 name="content"><%:Realtime Rate%></h2>
|
<h2 name="content"><%:Realtime Rate%></h2>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
|
|
||||||
function ocserv_disconnect(idx) {
|
function ocserv_disconnect(idx) {
|
||||||
(new XHR()).post('<%=url('admin/vpn/ocserv/disconnect')%>/' + idx, { token: '<%=token%>' },
|
(new XHR()).post('<%=url('admin/vpn/ocserv/disconnect')%>/' + idx, { token: '<%=token%>' },
|
||||||
@ -42,7 +42,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
<fieldset class="cbi-section">
|
<fieldset class="cbi-section">
|
||||||
<legend><%:Active OpenConnect Users%></legend>
|
<legend><%:Active OpenConnect Users%></legend>
|
||||||
|
@ -14,7 +14,7 @@ call)
|
|||||||
|
|
||||||
jsonreq4=$(
|
jsonreq4=$(
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
<script language='JavaScript1.2' type='text/javascript'>
|
<script>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# sed + txtinfo plugin
|
# sed + txtinfo plugin
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<!DOCTYPE html>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
<html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="refresh" content="0; URL=/cgi-bin/luci/freifunk/olsr/neighbors" />
|
<meta http-equiv="refresh" content="0; URL=/cgi-bin/luci/freifunk/olsr/neighbors" />
|
||||||
</head>
|
</head>
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
//<![CDATA[
|
|
||||||
function vpn_add()
|
function vpn_add()
|
||||||
{
|
{
|
||||||
var vpn_name = div_add.querySelector("#instance_name1").value.replace(/[^\x00-\x7F]|[\s\.!@#$%^&*()\-+=\[\]{};':"\\|,<>\/?]/g,'');
|
var vpn_name = div_add.querySelector("#instance_name1").value.replace(/[^\x00-\x7F]|[\s\.!@#$%^&*()\-+=\[\]{};':"\\|,<>\/?]/g,'');
|
||||||
@ -68,7 +67,6 @@
|
|||||||
setTimeout(function(){ output.innerHTML=""}, timeout);
|
setTimeout(function(){ output.innerHTML=""}, timeout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//]]>
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<%+openvpn/ovpn_css%>
|
<%+openvpn/ovpn_css%>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<style type="text/css">
|
<style>
|
||||||
h4
|
h4
|
||||||
{
|
{
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
<!-- ++ BEGIN ++ Privoxy ++ detail_logview.htm ++ -->
|
<!-- ++ BEGIN ++ Privoxy ++ detail_logview.htm ++ -->
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
function onclick_logview(section, bottom) {
|
function onclick_logview(section, bottom) {
|
||||||
// get elements
|
// get elements
|
||||||
var txt = document.getElementById("cbid.privoxy.privoxy._logview.txt"); // TextArea
|
var txt = document.getElementById("cbid.privoxy.privoxy._logview.txt"); // TextArea
|
||||||
@ -18,7 +18,7 @@
|
|||||||
txt.scrollTop = 0; }
|
txt.scrollTop = 0; }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
<%+cbi/valueheader%>
|
<%+cbi/valueheader%>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
<!-- ++ BEGIN ++ Privoxy ++ detail_startstop.htm ++ -->
|
<!-- ++ BEGIN ++ Privoxy ++ detail_startstop.htm ++ -->
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
|
|
||||||
// show XHR.poll/XHR.get response on button
|
// show XHR.poll/XHR.get response on button
|
||||||
function _data2elements(x) {
|
function _data2elements(x) {
|
||||||
@ -30,7 +30,7 @@
|
|||||||
function(x, data) { _data2elements(x); }
|
function(x, data) { _data2elements(x); }
|
||||||
);
|
);
|
||||||
|
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
<%+cbi/valueheader%>
|
<%+cbi/valueheader%>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
<!-- ++ BEGIN ++ Radicale ++ btn_startstop.htm ++ -->
|
<!-- ++ BEGIN ++ Radicale ++ btn_startstop.htm ++ -->
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
|
|
||||||
// show XHR.poll/XHR.get response on button
|
// show XHR.poll/XHR.get response on button
|
||||||
function _data2elements(x) {
|
function _data2elements(x) {
|
||||||
@ -30,7 +30,7 @@
|
|||||||
function(x, data) { _data2elements(x); }
|
function(x, data) { _data2elements(x); }
|
||||||
);
|
);
|
||||||
|
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
<%+cbi/valueheader%>
|
<%+cbi/valueheader%>
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<%+cbi/apply_widget%>
|
<%+cbi/apply_widget%>
|
||||||
<% cbi_apply_widget() %>
|
<% cbi_apply_widget() %>
|
||||||
<div class="alert-message" id="cbi_apply_status" style="display:none"></div>
|
<div class="alert-message" id="cbi_apply_status" style="display:none"></div>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
<% if confirmmap then -%>
|
<% if confirmmap then -%>
|
||||||
uci_confirm(true, Date.now() + <%=confirmmap%> * 1000);
|
uci_confirm(true, Date.now() + <%=confirmmap%> * 1000);
|
||||||
|
@ -13,7 +13,7 @@ end
|
|||||||
http_port = "5232"
|
http_port = "5232"
|
||||||
end
|
end
|
||||||
%>
|
%>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
<%
|
<%
|
||||||
if usessl then
|
if usessl then
|
||||||
%>
|
%>
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<!DOCTYPE html>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
<html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="refresh" content="0; URL=/cgi-bin/luci/splash" />
|
<meta http-equiv="refresh" content="0; URL=/cgi-bin/luci/splash" />
|
||||||
</head>
|
</head>
|
||||||
|
@ -134,7 +134,7 @@ end
|
|||||||
|
|
||||||
<%+header%>
|
<%+header%>
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
|
|
||||||
XHR.poll(10 , '<%=REQUEST_URI%>', { status: 1 },
|
XHR.poll(10 , '<%=REQUEST_URI%>', { status: 1 },
|
||||||
function(x, info)
|
function(x, info)
|
||||||
@ -190,7 +190,7 @@ end
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<div id="cbi-splash-leases" class="cbi-map">
|
<div id="cbi-splash-leases" class="cbi-map">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<style type="text/css">
|
<style>
|
||||||
textarea
|
textarea
|
||||||
{
|
{
|
||||||
background-color: #fffff0;
|
background-color: #fffff0;
|
||||||
|
@ -192,5 +192,5 @@ Each theme must include this file in the `<head>` area of the document for forms
|
|||||||
It should be included like this:
|
It should be included like this:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script type="text/javascript" src="<%=resource%>/xhr.js"></script>
|
<script src="<%=resource%>/xhr.js"></script>
|
||||||
```
|
```
|
||||||
|
@ -53,7 +53,7 @@ Put any stylesheets, Javascripts, images, ... into `htdocs/luci-static/mytheme`.
|
|||||||
Refer to this directory in your header and footer templates as: `<%=media%>`.
|
Refer to this directory in your header and footer templates as: `<%=media%>`.
|
||||||
That means for a stylesheet `htdocs/luci-static/mytheme/cascade.css` you would write:
|
That means for a stylesheet `htdocs/luci-static/mytheme/cascade.css` you would write:
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" type="text/css" href="<%=media%>/cascade.css" />
|
<link rel="stylesheet" href="<%=media%>/cascade.css" />
|
||||||
```
|
```
|
||||||
|
|
||||||
## Making the theme selectable
|
## Making the theme selectable
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
//<![CDATA[
|
|
||||||
var version = {major: 2, minor: 1, revision: 3, date: new Date("Nov 3, 2006"), extensions: {}};
|
var version = {major: 2, minor: 1, revision: 3, date: new Date("Nov 3, 2006"), extensions: {}};
|
||||||
//]]>
|
|
||||||
</script>
|
</script>
|
||||||
<!--
|
<!--
|
||||||
TiddlyWiki 2.1.3 by Jeremy Ruston, (jeremy [at] osmosoft [dot] com)
|
TiddlyWiki 2.1.3 by Jeremy Ruston, (jeremy [at] osmosoft [dot] com)
|
||||||
@ -36,15 +34,14 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
|||||||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||||
DAMAGE.
|
DAMAGE.
|
||||||
-->
|
-->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
<!--PRE-HEAD-START-->
|
<!--PRE-HEAD-START-->
|
||||||
<!--{{{-->
|
<!--{{{-->
|
||||||
<link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml'/>
|
<link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml'/>
|
||||||
<!--}}}-->
|
<!--}}}-->
|
||||||
<!--PRE-HEAD-END-->
|
<!--PRE-HEAD-END-->
|
||||||
<title> axTLS Embedded SSL - changes, notes and errata </title>
|
<title> axTLS Embedded SSL - changes, notes and errata </title>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
//<![CDATA[
|
|
||||||
// ---------------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------------
|
||||||
// Configuration repository
|
// Configuration repository
|
||||||
// ---------------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------------
|
||||||
@ -7013,9 +7010,8 @@ merge(config.shadowTiddlers,{SiteSubtitle:"a theme for ~TiddlyWiki"});
|
|||||||
merge(config.shadowTiddlers,{DefaultTiddlers:"LorumIpsum"});
|
merge(config.shadowTiddlers,{DefaultTiddlers:"LorumIpsum"});
|
||||||
merge(config.shadowTiddlers,{LorumIpsum:"Aenean eros arcu, condimentum nec, dapibus ut, tincidunt sit amet, urna. Quisque viverra, eros sed imperdiet iaculis, est risus facilisis quam, id malesuada arcu nulla luctus urna. Nullam et est. Vestibulum velit sem, faucibus cursus, dapibus vestibulum, pellentesque et, urna. Donec luctus. Donec lectus. Aliquam eget eros facilisis tortor feugiat sollicitudin. Integer lobortis vulputate sapien. Sed iaculis erat ac nunc. Etiam eu enim. Mauris ipsum urna, rhoncus at, bibendum sit amet, euismod eget, dolor. Mauris fermentum quam vitae ligula. Vestibulum in libero feugiat justo dictum consectetuer. Vestibulum euismod purus eget elit. Nunc sed massa porta elit bibendum posuere. Nunc pulvinar justo sit amet odio. In sed est. Phasellus ornare elementum nulla. Nulla ipsum neque, cursus a, viverra a, imperdiet at, enim. Quisque facilisis, diam sed accumsan suscipit, odio arcu hendrerit dolor, quis aliquet massa nulla nec sem.\n!heading 1\n!!heading 2\n!!!heading3\n----\n<<tag button>>\nThis is a link to a [[StyleSheet]] tiddler.\n\n> This is a blockquote\n> This is a blockquote\n> This is a blockquote\n|>|>| !This is a header |h\n|column1|column2|column3|\n|row2| row2 |row2|\n|column1|column2|column3|\n|row2| row2 |row2|\n|column1|column2|column3|\n|row2| row2 |row2|"});
|
merge(config.shadowTiddlers,{LorumIpsum:"Aenean eros arcu, condimentum nec, dapibus ut, tincidunt sit amet, urna. Quisque viverra, eros sed imperdiet iaculis, est risus facilisis quam, id malesuada arcu nulla luctus urna. Nullam et est. Vestibulum velit sem, faucibus cursus, dapibus vestibulum, pellentesque et, urna. Donec luctus. Donec lectus. Aliquam eget eros facilisis tortor feugiat sollicitudin. Integer lobortis vulputate sapien. Sed iaculis erat ac nunc. Etiam eu enim. Mauris ipsum urna, rhoncus at, bibendum sit amet, euismod eget, dolor. Mauris fermentum quam vitae ligula. Vestibulum in libero feugiat justo dictum consectetuer. Vestibulum euismod purus eget elit. Nunc sed massa porta elit bibendum posuere. Nunc pulvinar justo sit amet odio. In sed est. Phasellus ornare elementum nulla. Nulla ipsum neque, cursus a, viverra a, imperdiet at, enim. Quisque facilisis, diam sed accumsan suscipit, odio arcu hendrerit dolor, quis aliquet massa nulla nec sem.\n!heading 1\n!!heading 2\n!!!heading3\n----\n<<tag button>>\nThis is a link to a [[StyleSheet]] tiddler.\n\n> This is a blockquote\n> This is a blockquote\n> This is a blockquote\n|>|>| !This is a header |h\n|column1|column2|column3|\n|row2| row2 |row2|\n|column1|column2|column3|\n|row2| row2 |row2|\n|column1|column2|column3|\n|row2| row2 |row2|"});
|
||||||
// ---------------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------------
|
||||||
//]]>
|
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css">
|
<style>
|
||||||
|
|
||||||
#saveTest {
|
#saveTest {
|
||||||
display: none;
|
display: none;
|
||||||
@ -7069,11 +7065,9 @@ merge(config.shadowTiddlers,{LorumIpsum:"Aenean eros arcu, condimentum nec, dapi
|
|||||||
<!--PRE-BODY-START-->
|
<!--PRE-BODY-START-->
|
||||||
|
|
||||||
<!--PRE-BODY-END-->
|
<!--PRE-BODY-END-->
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
//<![CDATA[
|
|
||||||
if (useJavaSaver)
|
if (useJavaSaver)
|
||||||
document.write("<applet style='position:absolute;left:-1px' name='TiddlySaver' code='TiddlySaver.class' archive='TiddlySaver.jar' width='1' height='1'></applet>");
|
document.write("<applet style='position:absolute;left:-1px' name='TiddlySaver' code='TiddlySaver.class' archive='TiddlySaver.jar' width='1' height='1'></applet>");
|
||||||
//]]>
|
|
||||||
</script>
|
</script>
|
||||||
<div id="copyright">
|
<div id="copyright">
|
||||||
Welcome to TiddlyWiki by Jeremy Ruston, Copyright © 2006 Osmosoft Limited
|
Welcome to TiddlyWiki by Jeremy Ruston, Copyright © 2006 Osmosoft Limited
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<!DOCTYPE html>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
<html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
||||||
<meta http-equiv="Pragma" content="no-cache" />
|
<meta http-equiv="Pragma" content="no-cache" />
|
||||||
<meta http-equiv="Expires" content="0" />
|
<meta http-equiv="Expires" content="0" />
|
||||||
<meta http-equiv="Expires" content="Thu, 01 Jan 1970 00:00:00 GMT" />
|
<meta http-equiv="Expires" content="Thu, 01 Jan 1970 00:00:00 GMT" />
|
||||||
<meta http-equiv="refresh" content="0; URL=cgi-bin/luci/" />
|
<meta http-equiv="refresh" content="0; URL=cgi-bin/luci/" />
|
||||||
<style type="text/css">
|
<style>
|
||||||
body { background: white; font-family: arial, helvetica, sans-serif; }
|
body { background: white; font-family: arial, helvetica, sans-serif; }
|
||||||
a { color: black; }
|
a { color: black; }
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
-#}
|
-#}
|
||||||
|
|
||||||
<!--]]>--><!--'>--><!--">-->
|
<!--]]>--><!--'>--><!--">-->
|
||||||
<style type="text/css">
|
<style>
|
||||||
body {
|
body {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
{% const rollback = dispatcher.rollback_pending() %}
|
{% const rollback = dispatcher.rollback_pending() %}
|
||||||
{% if (rollback || trigger_apply || trigger_revert): %}
|
{% if (rollback || trigger_apply || trigger_revert): %}
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
document.addEventListener("luci-loaded", function() {
|
document.addEventListener("luci-loaded", function() {
|
||||||
{% if (trigger_apply): %}
|
{% if (trigger_apply): %}
|
||||||
L.ui.changes.apply(true);
|
L.ui.changes.apply(true);
|
||||||
@ -19,7 +19,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if (media_error): %}
|
{% if (media_error): %}
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
L.require('ui').then(function(ui) {
|
L.require('ui').then(function(ui) {
|
||||||
ui.showIndicator('media_error', _('Theme fallback'), function(ev) {
|
ui.showIndicator('media_error', _('Theme fallback'), function(ev) {
|
||||||
ui.showModal(_('Error loading theme'), [
|
ui.showModal(_('Error loading theme'), [
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
include(`themes/${theme}/header`);
|
include(`themes/${theme}/header`);
|
||||||
-%}
|
-%}
|
||||||
|
|
||||||
<script type="text/javascript" src="{{ resource }}/promis.min.js"></script>
|
<script src="{{ resource }}/promis.min.js"></script>
|
||||||
<script type="text/javascript" src="{{ resource }}/luci.js"></script>
|
<script src="{{ resource }}/luci.js"></script>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
L = new LuCI({{ replace(`${ {
|
L = new LuCI({{ replace(`${ {
|
||||||
media : media,
|
media : media,
|
||||||
resource : resource,
|
resource : resource,
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
));
|
));
|
||||||
%}
|
%}
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
var input = document.getElementsByName('luci_password')[0];
|
var input = document.getElementsByName('luci_password')[0];
|
||||||
|
|
||||||
if (input)
|
if (input)
|
||||||
@ -69,6 +69,6 @@
|
|||||||
setTimeout(function() { img.src = '' }, 5000);
|
setTimeout(function() { img.src = '' }, 5000);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
{% include('footer') %}
|
{% include('footer') %}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<div id="view">
|
<div id="view">
|
||||||
<div class="spinning">{{ _('Loading view…') }}</div>
|
<div class="spinning">{{ _('Loading view…') }}</div>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
L.require('ui').then(function(ui) {
|
L.require('ui').then(function(ui) {
|
||||||
ui.instantiateView('{{ view }}');
|
ui.instantiateView('{{ view }}');
|
||||||
});
|
});
|
||||||
|
@ -20,5 +20,5 @@
|
|||||||
<input class="btn cbi-button cbi-button-back" type="submit" name="cbi.delg.back" value="<%:« Back%>" />
|
<input class="btn cbi-button cbi-button-back" type="submit" name="cbi.delg.back" value="<%:« Back%>" />
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<script type="text/javascript">cbi_d_update();</script>
|
<script>cbi_d_update();</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -36,6 +36,6 @@
|
|||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<script type="text/javascript">cbi_init();</script>
|
<script>cbi_init();</script>
|
||||||
|
|
||||||
<%+footer%>
|
<%+footer%>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<%+cbi/valueheader%>
|
<%+cbi/valueheader%>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
function switchToCIDRList(ev) {
|
function switchToCIDRList(ev) {
|
||||||
var input = ev.target.previousElementSibling,
|
var input = ev.target.previousElementSibling,
|
||||||
usecidr = document.getElementById(input.id + '_usecidr');
|
usecidr = document.getElementById(input.id + '_usecidr');
|
||||||
|
@ -74,4 +74,4 @@
|
|||||||
end
|
end
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<script type="text/javascript">cbi_init();</script>
|
<script>cbi_init();</script>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<%+cbi/valueheader%>
|
<%+cbi/valueheader%>
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
var freqlist = <%= luci.http.write_json(self.iwinfo.freqlist) %>;
|
var freqlist = <%= luci.http.write_json(self.iwinfo.freqlist) %>;
|
||||||
var hwmodes = <%= luci.http.write_json(self.iwinfo.hwmodelist or {}) %>;
|
var hwmodes = <%= luci.http.write_json(self.iwinfo.hwmodelist or {}) %>;
|
||||||
var htmodes = <%= luci.http.write_json(self.iwinfo.htmodelist) %>;
|
var htmodes = <%= luci.http.write_json(self.iwinfo.htmodelist) %>;
|
||||||
@ -176,7 +176,7 @@
|
|||||||
bwdt.value = <%= luci.http.write_json(self.map:get(section, "htmode")) %>;
|
bwdt.value = <%= luci.http.write_json(self.map:get(section, "htmode")) %>;
|
||||||
chan.value = <%= luci.http.write_json(self.map:get(section, "channel")) %>;
|
chan.value = <%= luci.http.write_json(self.map:get(section, "channel")) %>;
|
||||||
}
|
}
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
<label style="float:left; margin-right:3px">
|
<label style="float:left; margin-right:3px">
|
||||||
<%:Mode%><br />
|
<%:Mode%><br />
|
||||||
@ -196,6 +196,6 @@
|
|||||||
</label>
|
</label>
|
||||||
<br style="clear:left" />
|
<br style="clear:left" />
|
||||||
|
|
||||||
<script type="text/javascript">cbi_init_wifi('<%= cbid %>');</script>
|
<script>cbi_init_wifi('<%= cbid %>');</script>
|
||||||
|
|
||||||
<%+cbi/valuefooter%>
|
<%+cbi/valuefooter%>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<div class="spinning">{{ _('Loading view…') }}</div>
|
<div class="spinning">{{ _('Loading view…') }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script>
|
||||||
function progressbar(query, value, max, byte)
|
function progressbar(query, value, max, byte)
|
||||||
{
|
{
|
||||||
var pg = document.querySelector(query),
|
var pg = document.querySelector(query),
|
||||||
@ -46,7 +46,7 @@ function renderBadge(icon, title) {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
//]]></script>
|
</script>
|
||||||
|
|
||||||
<div class="includes" style="display:none">
|
<div class="includes" style="display:none">
|
||||||
{%
|
{%
|
||||||
@ -60,7 +60,7 @@ function renderBadge(icon, title) {
|
|||||||
%}
|
%}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
L.require('ui').then(function(ui) {
|
L.require('ui').then(function(ui) {
|
||||||
ui.instantiateView('status/index');
|
ui.instantiateView('status/index');
|
||||||
});
|
});
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
</span>
|
</span>
|
||||||
<ul class="breadcrumb pull-right" id="modemenu" style="display:none"></ul>
|
<ul class="breadcrumb pull-right" id="modemenu" style="display:none"></ul>
|
||||||
</footer>
|
</footer>
|
||||||
<script type="text/javascript">L.require('menu-bootstrap')</script>
|
<script>L.require('menu-bootstrap')</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${node.title}` : ''}`) }} - LuCI</title>
|
<title>{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${node.title}` : ''}`) }} - LuCI</title>
|
||||||
{% if (!darkpref): %}
|
{% if (!darkpref): %}
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
var mediaQuery = window.matchMedia('(prefers-color-scheme: dark)'),
|
var mediaQuery = window.matchMedia('(prefers-color-scheme: dark)'),
|
||||||
rootElement = document.querySelector(':root'),
|
rootElement = document.querySelector(':root'),
|
||||||
setDarkMode = function(match) { rootElement.setAttribute('data-darkmode', match.matches) };
|
setDarkMode = function(match) { rootElement.setAttribute('data-darkmode', match.matches) };
|
||||||
@ -31,7 +31,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<meta name="viewport" content="initial-scale=1.0">
|
<meta name="viewport" content="initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="{{ media }}/cascade.css">
|
<link rel="stylesheet" href="{{ media }}/cascade.css">
|
||||||
<link rel="stylesheet" media="only screen and (max-device-width: 854px)" href="{{ media }}/mobile.css" type="text/css" />
|
<link rel="stylesheet" media="only screen and (max-device-width: 854px)" href="{{ media }}/mobile.css" />
|
||||||
<link rel="icon" href="{{ media }}/logo_48.png" sizes="48x48">
|
<link rel="icon" href="{{ media }}/logo_48.png" sizes="48x48">
|
||||||
<link rel="icon" href="{{ media }}/logo.svg" sizes="any">
|
<link rel="icon" href="{{ media }}/logo.svg" sizes="any">
|
||||||
{% if (node?.css): %}
|
{% if (node?.css): %}
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<div id="view">
|
<div id="view">
|
||||||
<div class="spinning">{{ _('Loading view…') }}</div>
|
<div class="spinning">{{ _('Loading view…') }}</div>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
L.require('ui').then(function(ui) {
|
L.require('ui').then(function(ui) {
|
||||||
ui.instantiateView('bootstrap.sysauth');
|
ui.instantiateView('bootstrap.sysauth');
|
||||||
});
|
});
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">L.require('menu-material')</script>
|
<script>L.require('menu-material')</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
Powered by {{ version.luciname }} ({{ version.luciversion }})
|
Powered by {{ version.luciname }} ({{ version.luciversion }})
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<script type="text/javascript">L.require('menu-openwrt2020')</script>
|
<script>L.require('menu-openwrt2020')</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -14,15 +14,14 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ dispatcher.lang }}">
|
<html lang="{{ dispatcher.lang }}">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<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.png" sizes="180x180">
|
||||||
<link rel="icon" href="{{ media }}/logo.svg" sizes="any">
|
<link rel="icon" href="{{ media }}/logo.svg" sizes="any">
|
||||||
<script type="text/javascript" src="{{ dispatcher.build_url('admin/translations', dispatcher.lang) }}"></script>
|
<script src="{{ dispatcher.build_url('admin/translations', dispatcher.lang) }}"></script>
|
||||||
<script type="text/javascript" src="{{ resource }}/cbi.js"></script>
|
<script src="{{ resource }}/cbi.js"></script>
|
||||||
<title>{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${node.title}` : ''}`) }} - LuCI</title>
|
<title>{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${node.title}` : ''}`) }} - LuCI</title>
|
||||||
{% if (css): %}
|
{% if (css): %}
|
||||||
<style title="text/css">{{ css }}</style>
|
<style title="text/css">{{ css }}</style>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
Powered by {{ version.luciname }} ({{ version.luciversion }})
|
Powered by {{ version.luciname }} ({{ version.luciversion }})
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<script type="text/javascript">L.require('menu-openwrt')</script>
|
<script>L.require('menu-openwrt')</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -16,18 +16,17 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ dispatcher.lang }}">
|
<html lang="{{ dispatcher.lang }}">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
<link rel="stylesheet" media="screen" href="{{ media }}/cascade.css" />
|
||||||
<link rel="stylesheet" type="text/css" media="screen" href="{{ media }}/cascade.css" />
|
|
||||||
{% if (node?.css): %}
|
{% if (node?.css): %}
|
||||||
<link rel="stylesheet" type="text/css" media="screen" href="{{ resource }}/{{ node.css }}" />
|
<link rel="stylesheet" media="screen" href="{{ resource }}/{{ node.css }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if (css): %}
|
{% if (css): %}
|
||||||
<style type="text/css">{{ css }}</style>
|
<style>{{ css }}</style>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<script type="text/javascript" src="{{ dispatcher.build_url('admin/translations', dispatcher.lang) }}"></script>
|
<script src="{{ dispatcher.build_url('admin/translations', dispatcher.lang) }}"></script>
|
||||||
<script type="text/javascript" src="{{ resource }}/cbi.js"></script>
|
<script src="{{ resource }}/cbi.js"></script>
|
||||||
|
|
||||||
<title>{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${_(node.title)}` : ''}`) }} - LuCI</title>
|
<title>{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${_(node.title)}` : ''}`) }} - LuCI</title>
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
Reference in New Issue
Block a user