<%-include("./partials/authheader.ejs") %>
<div class="">
    <main class="w-100 p-0">
        <div class="container-fluid">
            <div class="row">
                <div class="col-12 p-0">
                    <div class="login-form-container">
                        <div class="mb-4">
                            <a class="logo" href="index.html">
                                <img alt="#" src="/logo.png" class="w-100 h-100">
                            </a>
                        </div>
                        <div class="form_container">
                            <form class="app-form" method="post" action="/login" enctype="multipart/form-data" onsubmit="sendAjax(this);return false">
                                <div class="mb-3 text-center">
                                    <h3>Hesabınıza Giriş yapın</h3>
                                    <p>
                                        EkoEtki: Doğadaki izinizi ölçen, çevresel farkındalığı puanlayan akıllı ekolojik karne sistemidir
                                    </p>
                                </div>
                                <div class="mt-1">
                                    <span class="text-danger" id="validationError"></span>
                                </div>
                                <div class="mb-3">
                                    <label class="form-label" for="emailId">E-Posta Adresiniz</label>
                                    <input class="form-control" type="email" id="emailId" name="email" autocomplete="email">
                                </div>
                                <div class="mb-3">
                                    <label class="form-label" for="password">Şifreniz</label>
                                    <input class="form-control" placeholder="Şifreniz" type="password" name="password" min="6" max="20" required name="password" autocomplete="current-password">
                                </div>
                                <div>
                                    <button class="btn btn-primary w-100" type="submit">Giriş Yap</button>
                                    <a class="btn btn-primary w-100 mt-1" href="/register">Kayıt Ol</a>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>
</div>
<script src="/app/login.js"></script>
<script src="/assets/vendor/block-ui/jquery.blockUI.js"></script>
<%-include("./partials/authfooter.ejs") %>