<%@ Page Language="C#"  AutoEventWireup="true" Inherits="Veeam.Backup.WebApp.Login" CodeBehind="Login.aspx.cs" MasterPageFile="~/Layout.Master" %>

<asp:Content ContentPlaceHolderID="HeadTags" Runat="Server">
    <link rel="shortcut icon" href="<%= GetResourceFile(BasePath + "/resources/favicon.ico") %>" type="image/x-icon" />
    <title><%= GetTitle() %></title>    
   
    <script>
        LoginConfig = function(){
            return {
                username: '<%=UserName%>',
                password: '<%=Password%>',
                persist: Boolean(<%=Persist%>),
            }
        }();

        var Ext = Ext || {};
        Ext.manifest = '<%= BasePath %>/login.json';

    </script>
</asp:Content>

<asp:Content ID="content" ContentPlaceHolderID="content" Runat="Server">
  <script src="<%= MicroloaderPath %>"></script>
    <div id="enableJs" style="text-align: center;">
        <span style="color: red; margin: auto auto auto auto">
            <!--[if lt IE 9]>
                Your browser version is not supported. Internet Explorer 9.0 or later is required.
            <![endif]-->
            <![if gte IE 10]>
                <br />
                <br />
                JavaScript must be enabled in the web browser to view this page's content.<br />
                <span id="ieHint" runat="server">If you are using Microsoft Internet Explorer, add this
                    site to the trusted sites.</span> <![endif]> </span>
    </div>
    <script type="text/javascript">
        document.getElementById('enableJs').style.display = 'none';
        document.msCapsLockWarningOff = true;
    </script>
</asp:Content>

