blob: 33be15092a0f462d99b9469e01e877c3c3d872e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#!/usr/bin/haserl
Content-Type: text/html;charset=UTF-8
Pragma: no-cache
Cache-Control: no-cache
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Internet User Authentication Required</title>
<link rel="stylesheet" type="text/css" href="/static/style.css" />
</head>
<body>
<div><img id="warning" src="/static/warning.png" alt="Warning sign" /></div>
<div id="outer_container">
<div id="inner_container">
<h1>Internet User Authentication Required</h1>
<p>
User authentication is required to access the Internet. Please,
provide your credentials to login.
</p>
<%
if [ "$GET_REASON" = "fail" ]; then
echo -n "<p><font color = "#990000">Incorrect user name or password. Please try again.</font></p>"
fi
%>
<p>
<form action="do-login.cgi" method="post">
<input type="hidden" name="DENIEDURL" value="<% echo -n "$GET_DENIEDURL" %>" />
<table>
<tr>
<td>User name:</td>
<td><input type="input" name="username" /></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" name="password" /></td>
</tr>
<tr>
<td />
<td><input type="submit" value="Logon" method="get" /><td/>
</tr>
</table>
</form>
</p>
</div>
</div>
</body>
</html>
|