X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_status%2Fbandwidth.htm;fp=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_status%2Fbandwidth.htm;h=f12a222511e32748179d73e3e4f93cd123eb37ad;hp=0000000000000000000000000000000000000000;hb=ae3825387bd9b47813e0b862db38959e7000cb02;hpb=f45d5fb952aecd48080c0b48580d0b2113769e2b diff --git a/modules/admin-full/luasrc/view/admin_status/bandwidth.htm b/modules/admin-full/luasrc/view/admin_status/bandwidth.htm new file mode 100644 index 000000000..f12a22251 --- /dev/null +++ b/modules/admin-full/luasrc/view/admin_status/bandwidth.htm @@ -0,0 +1,310 @@ +<%# +LuCI - Lua Configuration Interface +Copyright 2010 Jo-Philipp Wich + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +$Id$ + +-%> + +<%- + local dev + local devices = { } + for _, dev in luci.util.kspairs(luci.sys.net.devices()) do + if dev ~= "lo" then + devices[#devices+1] = dev + end + end + + local curdev = luci.dispatcher.context.requestpath + curdev = curdev[#curdev] ~= "bandwidth" and curdev[#curdev] or devices[1] +-%> + +<%+header%> + + + + +

<%:Realtime Traffic%>

+ + + + +
-
+
+ + + + + + + + + + + + + + + + + + + + + + +
<%:Inbound:%>0 kbit/s
(0 KB/s)
<%:Average:%>0 kbit/s
(0 KB/s)
<%:Peak:%>0 kbit/s
(0 KB/s)
<%:Outbound:%>0 kbit/s
(0 KB/s)
<%:Average:%>0 kbit/s
(0 KB/s)
<%:Peak:%>0 kbit/s
(0 KB/s)
+ + +

+
+
+<%+footer%>