From a0ed0e6bc7809e88ee1272fa9516dd7e3c7e8d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Wed, 24 Nov 2010 16:13:57 +0200 Subject: www: add a set of example pages for block info and captive portal Relatively simple set of pages done in haserl. Fixes #448. --- www/login.cgi | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100755 www/login.cgi (limited to 'www/login.cgi') diff --git a/www/login.cgi b/www/login.cgi new file mode 100755 index 0000000..33be150 --- /dev/null +++ b/www/login.cgi @@ -0,0 +1,49 @@ +#!/usr/bin/haserl +Content-Type: text/html;charset=UTF-8 +Pragma: no-cache +Cache-Control: no-cache + + + + + Internet User Authentication Required + + + +
Warning sign
+
+
+

Internet User Authentication Required

+

+ User authentication is required to access the Internet. Please, + provide your credentials to login. +

+ <% + if [ "$GET_REASON" = "fail" ]; then + echo -n "

Incorrect user name or password. Please try again.

" + fi + %> +

+

+ " /> + + + + + + + + + + + +
User name:
Password:
+ +
+
+

+
+
+ + + -- cgit v1.2.3