<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>ISPT 4.0</title>

    <!-- Google Font: Source Sans Pro -->
    <link rel="stylesheet"
        href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="{{ asset('plugins/fontawesome-free/css/all.min.css') }}">
    <!-- icheck bootstrap -->
    <link rel="stylesheet" href="{{ asset('plugins/icheck-bootstrap/icheck-bootstrap.min.css') }}">
    <!-- Theme style -->

    <link rel="stylesheet" href="{{ asset('StyleAdmin/css/adminlte.min.css') }}">
</head>

<body class="hold-transition login-page">
    @if (count($errors) > 0)
        <div class="alert alert-danger">
            {{ implode('', $errors->all('<p>:message</p>')) }}
        </div>
    @endif
    <div style="width:50%">
        <!-- /.login-logo -->
        <div class="card card-outline card-primary">
            <div class="card-header text-center">
                <a href="#" class="h1"><b>ISPT</b>4.0</a>
            </div>
            <div class="card-body">
                <p >Insira Seus Dados : </p>

                <form action="{{ route('login') }}" method="POST">
                    @csrf

                    <div class="row">
                        <div class="col sm">
                            <div class="input-group mb-3">
                                <input type="text" name="email" class="form-control" placeholder="Nome e APelido"
                                    id="email" placeholder="email">
                                <div class="input-group-append">
                                    <div class="input-group-text">
                                        <span class="fas fa-user"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col sm">
                            <div class="input-group mb-3">
                                <input type="number" name="email" class="form-control" placeholder="Email"
                                    id="email" placeholder="email">
                                <div class="input-group-append">
                                    <div class="input-group-text">
                                        <span class="fas fa-user"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col sm">
                            <div class="input-group mb-3">
                                <input type="text" name="email" class="form-control" placeholder="Nif"
                                    id="email" placeholder="email">
                                <div class="input-group-append">
                                    <div class="input-group-text">
                                        <span class="fas fa-user"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col sm">
                            <div class="input-group mb-3">
                                <input type="number" name="email" class="form-control" placeholder="Telemovel"
                                    id="email" placeholder="email">
                                <div class="input-group-append">
                                    <div class="input-group-text">
                                        <span class="fas fa-user"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col sm">
                            <div class="input-group mb-3">
                                <input type="text" name="email" class="form-control" placeholder="Password"
                                    id="email" placeholder="email">
                                <div class="input-group-append">
                                    <div class="input-group-text">
                                        <span class="fas fa-user"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col sm">
                            <div class="input-group mb-3">
                                <input type="number" name="email" class="form-control" placeholder="Check Password"
                                    id="email" placeholder="email">
                                <div class="input-group-append">
                                    <div class="input-group-text">
                                        <span class="fas fa-user"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                   
                    @if ($errors->any())
                        <div class="alert alert-danger">
                            {{ implode('', $errors->all('<p>:message</p>')) }}
                        </div>
                    @endif
                        <div class="row">
                            <div class="col-sm-8">

                            </div>
                            <div class="col-sm-4">
                                <button type="submit" class="btn btn-primary btn-block">Iniciar</button>
                            </div>
                        </div>
                    
                </form>


                <!-- /.social-auth-links -->
            </div>
            <!-- /.card-body -->
        </div>
        <!-- /.card -->
    </div>
    <!-- /.register-box-->

    <!-- jQuery -->
    <script src="{{ asset('plugins/jquery/jquery.min.js') }}"></script>
    <!-- Bootstrap 4 -->
    <script src="{{ asset('plugins/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
    <!-- AdminLTE App -->
    <script src="{{ asset('js/adminlte.min.js') }}"></script>
</body>

</html>
