summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash/luasrc/view/splash
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-11-30 05:50:43 +0000
committerManuel Munz <freifunk@somakoma.de>2011-11-30 05:50:43 +0000
commitc5329d85d5a3f4ac14d0a07b298167876d979413 (patch)
tree7f936bfa6bb6a5d0867231fff45e9a02c03c094c /applications/luci-splash/luasrc/view/splash
parentf4b9de593d180a835fbf0ed549b1eceb3531a647 (diff)
applications/splash: Fix blacklisting mechanism, expose status on public freifunk page, add json output and autoupdate.
Diffstat (limited to 'applications/luci-splash/luasrc/view/splash')
-rw-r--r--applications/luci-splash/luasrc/view/splash/blocked.htm25
1 files changed, 25 insertions, 0 deletions
diff --git a/applications/luci-splash/luasrc/view/splash/blocked.htm b/applications/luci-splash/luasrc/view/splash/blocked.htm
new file mode 100644
index 0000000000..de61ecf011
--- /dev/null
+++ b/applications/luci-splash/luasrc/view/splash/blocked.htm
@@ -0,0 +1,25 @@
+<%#
+LuCI - Lua Configuration Interface
+Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
+
+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
+-%>
+<%
+local contacturl = luci.dispatcher.build_url("freifunk", "contact")
+%>
+
+<%+header%>
+
+<h2><a id="content" name="content"><%:Blocked%></a></h2>
+
+<p><%:Your access to this network has been blocked, most likely because you did something that our rules explicitly forbid.%></p>
+<p><%:To ask for the reason why you have been blocked or ask for access again you can try to contact the owner of this access point:%> <a href="<%=contacturl%>"><%:Contact%></a></p>
+
+<%+footer%>
+
+
+