login.jsp 2.63 KB
Newer Older
1 2 3 4 5 6 7 8
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Login</title>
Cesar Giulano Gonzalez Maqueda committed
9
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
10
    <link href="https://getbootstrap.com/docs/4.0/examples/signin/signin.css" rel="stylesheet" crossorigin="anonymous">
Cesar Giulano Gonzalez Maqueda committed
11

12 13
</head>
<body>
Cesar Giulano Gonzalez Maqueda committed
14
<jsp:include page="alerts.jsp"/>
15 16 17 18 19 20 21 22 23 24
<section class="vh-100" style="background-color: #508bfc;">
    <div class="container py-5 h-100">
        <div class="row d-flex justify-content-center align-items-center h-100">
            <div class="col-12 col-md-8 col-lg-6 col-xl-5">
                <div class="card shadow-2-strong" style="border-radius: 1rem;">
                    <div class="card-body p-5 text-center">



                        <form:form method="post" action="/login">
25
                            <h3 class="mb-5">Ingresar</h3>
26 27 28 29 30 31 32 33 34 35 36
                            <div class="form-outline mb-4">
                                <input type="email" id="typeEmailX-2" class="form-control form-control-lg" name="email" placeholder="example@example.com"/>
                                <label class="form-label" for="typeEmailX-2">Email</label>
                            </div>

                            <div class="form-outline mb-4">
                                <input type="password" id="typePasswordX-2" class="form-control form-control-lg" name="password" />
                                <label class="form-label" for="typePasswordX-2">Password</label>
                            </div>


37
                            <button class="btn btn-primary btn-lg btn-block" type="submit">Ingresar</button>
38 39 40
                        </form:form>

                        <hr class="my-4">
41 42 43
                        <div class="row">
                            <a href="/forgot-password">Olvidaste tu contrasena?</a>
                        </div>
44 45 46
                        <div class="row">
                            <a href="/register">Registrate</a>
                        </div>
47 48 49 50 51 52
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
Cesar Giulano Gonzalez Maqueda committed
53
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
54 55 56
</body>
</html>