<%# LuCI - Lua Configuration Interface Copyright 2013 Nicolas Echaniz 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 uci = require "uci" local uci = uci.cursor() local sys = require 'luci.sys' local community = uci:get("libremap", "settings", "community") local community_lat = uci:get("libremap", "settings", "community_lat") local community_lon = uci:get("libremap", "settings", "community_lon") libremap_url = uci:get("libremap", "settings", "public_url") local lat = uci:get("libremap", "location", "latitude") local lon = uci:get("libremap", "location", "longitude") local hostname = sys.hostname() -%> <%+header%>

<%:Location%>

View the full map on LibreMap.net

<%=hostname%> <%:at%> <%=community%>

<%+footer%>