Comments (4)
What version of luci are you using? My <%=controller%>
adds a trailing slash.
from luci-wrtbwmon.
LuCI 15.05-149-g0d8bbd2 Release (git-15.363.78009-956be55) / OpenWrt Chaos Calmer 15.05.1
from luci-wrtbwmon.
I see. I guess even with a double slash it still works. I will accept the pull request. Thanks! 👍
from luci-wrtbwmon.
Nice, at least in my vesion of luci, all references to <%=controller%>
are preceded by a slash.
root@router:/usr/lib/lua/luci/view# grep -r '<%=controller%>' ./
./admin_system/reboot.htm:<p><a href="<%=controller%>/admin/system/reboot?reboot=1"><%:Perform reboot%></a></p>
./admin_system/reboot.htm:<script type="text/javascript">setTimeout("location='<%=controller%>/admin'", 60000)</script>
./admin_uci/changes.htm: <form class="inline" method="get" action="<%=controller%>/admin/uci/apply">
./admin_uci/changes.htm: <form class="inline" method="get" action="<%=controller%>/admin/uci/saveapply">
./admin_uci/changes.htm: <form class="inline" method="get" action="<%=controller%>/admin/uci/revert">
./themes/bootstrap/footer.htm: <li<% if request[1] == r then %> class="active"<%end%>><a href="<%=controller%>/<%=r%>/"><%=striptags(translate(tree.nodes[r].title))%></a> <span class="divider">|</span></li>
./themes/bootstrap/header.htm: <a class="label notice" href="<%=controller%>/<%=category%>/uci/changes"><%:Unsaved Changes%>: <%=ucichanges%></a>
./wrtbwmon.htm: <a href="<%=controller%>/admin/network/usage_config">Configuration</a>```
from luci-wrtbwmon.
Related Issues (20)
- Add option to keep track monthly HOT 4
- realtime and totals do not match real life HOT 1
- Openwrt 18.06 bootstrap theme squished table HOT 8
- add traffic running from router to list
- Always saying "Form token mismatch" when submit custom user file
- module 'luci.model.ipkg' not found HOT 14
- IP address change not detected until update
- Not found in openwrt repo
- when I Software flow offloading enabled ,i'm getting 0 download kbps using openwrt 18.06.2 Netgear r7800
- LUCI menu entry missing HOT 1
- Failed to install HOT 1
- speed not working HOT 1
- Problems...
- install of luci_wrtbwmon fails HOT 1
- Custom location for usage.db
- Display current data - not aggregate
- cannot link the mac addresses with hostname
- help me
- Can i get a Video record for installation process? Please!
- 如果能同时显示 ipv6 和ipv4 流量就好了 以mac 分组
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luci-wrtbwmon.