diff options
Diffstat (limited to 'modules/freifunk/luasrc/view/freifunk-map/frame.htm')
-rw-r--r-- | modules/freifunk/luasrc/view/freifunk-map/frame.htm | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/freifunk/luasrc/view/freifunk-map/frame.htm b/modules/freifunk/luasrc/view/freifunk-map/frame.htm deleted file mode 100644 index b2e168363f..0000000000 --- a/modules/freifunk/luasrc/view/freifunk-map/frame.htm +++ /dev/null @@ -1,29 +0,0 @@ -<%+header%> - -<% - local has_latlon = false - local uci = require "luci.model.uci".cursor() - uci:foreach("olsrd", "LoadPlugin", function(s) - if s.library == "olsrd_nameservice.so.0.3" and s.latlon_file then - has_latlon = true - end - end) -%> - -<% if has_latlon then %> - <iframe style="width:100%; height:640px; border:none" src="<%=luci.dispatcher.build_url("freifunk/map/content")%>"></iframe> - <h3><%:Legend%>:</h3> - <ul> - <li><strong><span style="color:#00cc00"><%:Green%></span></strong>:<%:Very good (ETX < 2)%></li> - <li><strong><span style="color:#ffcb05"><%:Yellow%></span></strong>:<%:Good (2 < ETX < 4)%></li> - <li><strong><span style="color:#ff6600"><%:Orange%></span></strong>:<%:Still usable (4 < ETX < 10)%></li> - <li><strong><span style="color:#bb3333"><%:Red%></span></strong>:<%:Bad (ETX > 10)%></li> - </ul> - -<% else %> - <h2><%:Map Error%></h2> - <p><%_The OLSRd service is not configured to capture position data from the network.<br /> - Please make sure that the nameservice plugin is properly configured and that the <em>latlon_file</em> option is enabled.%></p> -<% end %> -<%+footer%> - |