1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Merge branch 'develop'

This commit is contained in:
suyuan 2020-10-31 17:25:53 +08:00
commit 55640786a2
201 changed files with 36233 additions and 4723 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -8,7 +8,7 @@
<% local ver = require "luci.version" %>
<footer>
<a href="https://55860.com">Powered by <%= ver.distversion %></a>
<a href="https://55860.com">Powered by openmptcprouter路由器特别定制优化版 官方支持群140215026 <%= ver.distversion %></a>
<ul class="breadcrumb pull-right" id="modemenu" style="display:none"></ul>
</footer>
</div>

View file

@ -32,6 +32,7 @@
<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="shortcut icon" type="image/png" href="<%=media%>/favicon.png">
<link rel="apple-touch-icon" href="<%=media%>/omr-logo-apple.png">
<% if node and node.css then %>
<link rel="stylesheet" href="<%=resource%>/<%=node.css%>">
<% end -%>
@ -46,7 +47,7 @@
<header>
<div class="fill">
<div class="container">
<a class="brand" href="#" alt="OpenMPTCProuter"><img src="<%=resource%>/openmptcprouter/images/omr-logo.png" height="30" width="30" alt="ant" /> antrouter</a>
<a class="brand" href="#" alt="openmptcprouter路由器特别定制优化版"><img src="<%=resource%>/openmptcprouter/images/omr-logo.png" height="30" width="30" alt="OMR" />openmptcprouter路由器特别定制优化版</a>
<ul class="nav" id="topmenu" style="display:none"></ul>
<div id="indicators" class="pull-right"></div>
</div>
@ -57,7 +58,7 @@
<%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%>
<div class="alert-message warning">
<h4><%:No password set!%></h4>
<p><%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%></p>
<p><%:There is no password set on this router. Please configure a root password to protect the web interface.%></p>
<% if disp.lookup("admin/system/admin") then %>
<div class="right"><a class="btn" href="<%=url("admin/system/admin")%>"><%:Go to password configuration...%></a></div>
<% end %>
@ -65,8 +66,8 @@
<%- end -%>
<%- if current_omr_version ~= "" and latest_omr_version ~= "" and current_omr_version < latest_omr_version then -%>
<div class="alert-message notice">
<p><%=translatef("You have antrouter version %s and version %s is now available",current_omr_version,latest_omr_version)%></p>
<div class="right"><a class="btn" href="https://www.55860.com/"><%:Download latest version...%></a></div>
<p><%=translatef("You have OMR特别定制优化版 官方支持群140215026 version %s and version %s is now available",current_omr_version,latest_omr_version)%></p>
<div class="right"><a class="btn" href="https://www.55960.com/"><%:Download latest version...%></a></div>
</div>
<%- end -%>

View file

@ -1,7 +1,10 @@
#!/bin/sh
uci batch <<-EOF
set luci.themes.OpenMPTCProuter=/luci-static/openmptcprouter
set luci.main.mediaurlbase=/luci-static/openmptcprouter
commit luci
EOF
if [ "$(uci -q get luci.themes.OpenMPTCProuter)" = "" ]; then
uci batch <<-EOF
set luci.themes.OpenMPTCProuter=/luci-static/openmptcprouter
set luci.main.mediaurlbase=/luci-static/openmptcprouter
commit luci
EOF
fi
exit 0