<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../Site2.xsl"?>
<?xml-stylesheet type="text/css" href="../RenderFail.css"?>

<RDWAPage 
    helpurl="http://go.microsoft.com/fwlink/?LinkId=141038" 
    workspacename="Work&#32;Resources" 
    baseurl="https://deltahrp.bcs.nl/RDWeb/Pages/en-US/"
    privacyurl=""
    >
  <RenderFailureMessage>
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
            <title>Error: Unable to display RD Web Access</title>
        </head>
        <body>
            <h1>Error: Unable to display RD Web Access</h1>
            <p>An unexpected error has occurred that is preventing this page from being displayed correctly.</p>
            <p>Viewing this page in Internet Explorer with the Enhanced Security Configuration enabled can cause such an error.</p>
            <p>Please try loading this page without the Enhanced Security Configuration enabled. If this error continues to be displayed, please contact your administrator.</p>
        </body>
    </html> 
  </RenderFailureMessage>
  <BodyAttr 
    onload="onLoginPageLoad(event)" 
    onunload="onPageUnload(event)"/>
  <HTMLMainContent>
  
      <form id="FrmLogin" name="FrmLogin" action="login.aspx" method="post" onsubmit="return onLoginFormSubmit()" style="background-color:white;">

        <input type="hidden" name="WorkSpaceID" value="deltahrp.bcs.nl"/>
        <input type="hidden" name="RDPCertificates" value="CD67A5945200725237F7140B94732091F464DFD1"/>
        <input type="hidden" name="PublicModeTimeout" value="20"/>
        <input type="hidden" name="PrivateModeTimeout" value="240"/>
        <input type="hidden" name="WorkspaceFriendlyName" value="Work%20Resources"/>
        <input type="hidden" name="EventLogUploadAddress" value=""/>
        <input type="hidden" name="RedirectorName" value="deltahrp.bcs.nl"/>
        <input type="hidden" name="ClaimsHint" value=""/>
        <input type="hidden" name="ClaimsToken" value=""/>

        <input name="isUtf8" type="hidden" value="1"/>
        <input type="hidden" name="flags" value="0"/>


        <div class="container">
            <div class="row">
                <div class="col-md-10 col-sm-12 col-lg-8 mt-5 login__box card" style="border:1px solid lightgray;">
                    <div class="login__header">
                        <div class="justify-content-center text-align-center"><img src="https://deltahrp.bcs.nl/RDWeb/Pages/images/bcs-logo.png" class="logo"/></div>
                        <div class="header__text__wrapper justify-content-center"><h4 class="header__text">RemoteApp- en bureaubladverbinding</h4></div>
                    </div>
                        
                    <div class="login__form">
                        <div class="form-group">
                            <label for="DomainUserName">Gebruikersnaam</label>
                            <div class="input-icons">
                                <i class="fa fa-user icon"></i>
                                <input name="DomainUserName" type="text" id="DomainUserName" class="form-control" size="25" autocomplete="off" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="DomainUserName">Wachtwoord</label>
                            <div class="input-icons">
                                <i class="fa fa-lock icon"></i>
                                <input name="UserPass" type="password" id="UserPass" class="form-control" size="25" autocomplete="off" />
                            </div>
                        </div>
                        <button type="submit" class="btn btn-purple block-center">Aanmelden</button>

                        <!--START ERROR MESSAGES-->
                        <div class="warnings_box">

                            
                            <div class="alert alert-danger" style="display:none">
                                Your password is expired. Please contact your administrator for assistance.
                            </div>

                            
                            <div class="alert alert-danger" style="display:none">
                                Your password is expired. Click 
                            </div>

                            
                            <div class="alert alert-danger" style="display:none">
                                Another user of your computer is currently using this connection.  This user must disconnect before you can log on.
                            </div>

                            
                            <div class="alert alert-danger" style="display:none">
                                Another user of your computer has disconnected from this connection.  Please type your user name and password again.
                            </div>

                            
                            <div class="alert alert-danger" style="display:none">
                                The user name or password that you entered is not valid. Try typing it again.
                            </div>

                            
                            <div class="alert alert-danger" style="display:none">
                                You aren’t authorized to log on to this connection.  Contact your system administrator for authorization.
                            </div>

                            
                            <div class="alert alert-danger" style="display:none">
                                Your RD Web Access session expired due to configuration changes on the remote computer.  Please sign in again.
                            </div>
                        </div>
                        <!--END ERROR MESSAGES-->

                        <div class="disclaimer">
                            <p class="disclaimer-text warning">Waarschuwing: door u aan te melden op deze webpagina, bevestigt u dat deze computer voldoet aan het beveiligingsbeleid van uw organisatie.</p>
                            <hr/>
                            <p class="disclaimer-text warning">
                                BCS SaaS is een product van BCS. Klik voor meer informatie over onze salarisadministratie software en HRM software. Deze applicatie is uitsluitend toegankelijk voor daartoe geautoriseerde gebruikers. Degene die gebruik maakt van deze applicatie of de daarin opgenomen gegevens zonder dat daartoe gebruiksrecht is verleend, handelt onrechtmatig en zal door de eigenaar in rechte worden vervolgd. Door u aan te melden in deze applicatie staat u toe dat uw handelingen worden gelogd.
                                <br/><br/>
                                Ter beveiliging tegen ongeoorloofde toegang zal uw toegangsessie na een periode van inactiviteit automatisch verlopen. Als uw sessie is beëindigd, vernieuwt u uw browser en meldt u zich opnieuw aan.
                            </p>

                            <p class="disclaimer-text warning">Copyright 2023 © BCS</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>

    <!--Styling-->
    <style class="styling-login">

        body {
            font-family: proxima-nova,sans-serif;
            font-weight: 400;
            font-size: 18px;
        }

        .alert {
            margin:25px;
        }

        .login__box {
            margin-left: auto;
            margin-right: auto;
        }
        
        .btn-purple {
            background-color: #870E5B;
            color: white!important;
            border-radius: 25px;
            padding: 0.7rem 2rem;
        }

        .card {
            display: block;
            background: #fff;
            box-shadow: 0 4px 20px 0 rgba(0,0,0,.15);
            border-radius: 8px;
        }

        .icon {
            padding: 10px;
            color: #870E5B;
            min-width: 50px;
            text-align: center;
            position: absolute;
        }

        .logo {
            display:block;
            margin-left: auto;
            margin-right: auto;
            margin-top:15px;
            margin-bottom: 15px;
        }

        .header__text {
            vertical-align: text-bottom;
        }

        .header__text__wrapper {
            overflow: visible;
            width: 100%;
            margin:15px;
            margin-bottom:25px;
        }

        .header__text__wrapper h4 {
            text-align: center!important;
            display: block;
        }


        .input-icons {
            width: 100%;
        }

        input {
            padding-left: 50px !important;
            -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
            -moz-box-sizing: border-box;    /* Firefox, other Gecko */
            box-sizing: border-box;         /* Opera/IE 8+ */
        }

        .disclaimer {
            margin-top: 25px;
            margin-bottom: 25px;
        }

        .disclaimer-text {
            font-size: 12px;
        }
    </style>
    <!--End of styling-->

    <script type="application/javascript">
        var loginForm = document.getElementById('FrmLogin');
        loginForm.onsubmit = function(){
            var DomainUserInput = document.getElementById('DomainUserName')
            if (!DomainUserInput.value.includes('BCSONLINE\\'))DomainUserInput.value = 'BCSONLINE\\' + DomainUserInput.value;
            loginForm.submit();
        };
    </script>
  
  </HTMLMainContent>
</RDWAPage>
