@{
    ViewData["Title"] = "LubeLogger - Login";
}
@section Scripts {
    <script src="~/js/login.js" asp-append-version="true"></script>
}
<div class="container d-flex align-items-center justify-content-center" style="height:100vh">
    <div class="row">
        <div class="col-12">
            <img src="/defaults/lubelogger_logo.png" />
            <div class="form-group">
                <label for="inputUserName">Username</label>
                <input type="text" id="inputUserName" class="form-control">
            </div>
            <div class="form-group">
                <label for="inputUserPassword">Password</label>
                <input type="password" id="inputUserPassword" onkeyup="handlePasswordKeyPress(event)" class="form-control">
            </div>
            <div class="form-check form-switch">
                <input class="form-check-input" type="checkbox" role="switch" id="inputPersistent">
                <label class="form-check-label" for="inputPersistent">Remember Me</label>
            </div>
            <div class="d-grid">
                <button type="button" class="btn btn-warning mt-2" onclick="performLogin()"><i class="bi bi-box-arrow-in-right me-2"></i>Login</button>
            </div>
            <div class="d-grid">
                <a href="/Login/ForgotPassword" class="btn btn-link mt-2">Forgot Password</a>
            </div>
            <div class="d-grid">
                <a href="/Login/Registration" class="btn btn-link mt-2">Register</a>
            </div>
        </div>
    </div>
</div>