<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

    protected void OnLoginError(object sender, EventArgs e)
    {
        HttpContext context = HttpContext.Current;
        context.Response.StatusCode = 200;
        context.Response.SubStatusCode = 99;

        Trace.Warn("[Feil under pålogging] Brukernavn: " + login.UserName + " - Passord: " + login.Password);
    }
    
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Logg på for å få tilgang til bildene</title>
    <style type="text/css">
            body
        {
            margin: 0px;            
            font-family: Segoe UI;
            background-color: Black;            
            background-repeat: repeat-x;
            color: White;
        }       
        
        #myMap
        {
            border: solid 2px white;
        }
        
        #main
        {
            padding: 10px;
        }
        
        .iconStyle
        {
            width: 60px;
            border: solid 2px white;
        }
        
        .titleStyle, .detailsStyle        
        {
            font-family: Segoe UI;
        }
        
        .detailsStyle
        {
            font-size: 12px;
        }      
    </style>    
</head>
<body>
    <form id="form1" runat="server">
    <div id="main">
        <h1>Logg på for å få tilgang på bildene</h1>
        <asp:Login ID="login" runat="server" OnLoginError="OnLoginError"></asp:Login> 
    </div>
    </form>
</body>
</html>
