49 lines
1.4 KiB
HTML
49 lines
1.4 KiB
HTML
<%#
|
|
Argon is a clean HTML5 theme for LuCI. It is based on luci-theme-material Argon Template
|
|
|
|
luci-theme-argon
|
|
Copyright 2020 Jerrykuku <jerrykuku@qq.com>
|
|
|
|
Have a bug? Please create an issue here on GitHub!
|
|
https://github.com/jerrykuku/luci-theme-argon/issues
|
|
|
|
luci-theme-material:
|
|
Copyright 2015 Lutty Yang <lutty@wcan.in>
|
|
|
|
Agron Theme
|
|
https://demos.creative-tim.com/argon-dashboard/index.html
|
|
|
|
Licensed to the public under the Apache License 2.0
|
|
-%>
|
|
|
|
<% local ver = require "luci.version" %>
|
|
</div>
|
|
<footer>
|
|
<div class="mobile-hide">
|
|
<a class="luci-link" href="https://github.com/openwrt/luci">Powered by <%= ver.luciname %> (<%= ver.luciversion %>)</a> /
|
|
<%= ver.distversion %>
|
|
<ul class="breadcrumb pull-right" id="modemenu" style="display:none"></ul>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
// thanks for Jo-Philipp Wich <jow@openwrt.org>
|
|
var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;
|
|
var winHeight = window.innerHeight;
|
|
window.addEventListener('resize', function () {
|
|
var winWidth = window.innerWidth;
|
|
if(winWidth < 600){
|
|
var newHeight = window.innerHeight;
|
|
var keyboradHeight = newHeight - winHeight;
|
|
var ftcElement = document.querySelector(".ftc");
|
|
if (ftcElement) {
|
|
ftcElement.style.bottom = (keyboradHeight + 30) + "px";
|
|
}
|
|
}
|
|
});
|
|
</script>
|
|
<script type="text/javascript">L.require('menu-argon')</script>
|
|
</body>
|
|
</html>
|