email.blade.php 2.55 KB
Newer Older
1
@extends('auth.layouts.app')
ZeMKI's avatar
ZeMKI committed
2
3

@section('content')
4
5


6
7
    <div class="flex sm:items-start md:items-center md:justify-center h-screen">
        <div class="bg-white p-4 rounded overflow-hidden shadow-lg sm:w-full md:w-1/2 lg:w-1/3">
8
9
10
11
12
13
14
15
            @if (session('status'))
                <div class="flex relative px-3 py-3 mb-4 border text-green-800 bg-green-200">
                    {{ session('status') }}
                </div>
            @endif
                @if(session()->has('message') || !empty($message))
                    <div class="bg-blue-100 border-t border-b border-blue-500 text-blue-700 px-4 py-3" role="alert">
                        <p class="font-bold">{{session()->get('message') ? session()->get('message') : $message}}</p>
ZeMKI's avatar
ZeMKI committed
16
                    </div>
17
18
                @endif
            <div class="text-center">
ZeMKI's avatar
ZeMKI committed
19
                <h1 class="text-4xl pb-2 m-auto max-w-full font-extrabold">
20
21
22
23
24
                    Mesort</h1>
                <h4> {{ __('Reset Password') }} </h4>
                <div class="py-4 w-full text-center">
                    <a class="text-blue-500 hover:text-red-600 block"
                       href="{{url('login')}}">{{__("Return to login")}}</a>
ZeMKI's avatar
ZeMKI committed
25
26
                </div>
            </div>
27
28
29
30
31
            <form method="POST" action="{{ route('password.email') }}">
                @csrf

                <div class="mb-4 flex flex-wrap">
                    <label for="email"
32
                           class="w-full mr-2 pl-1 pt-2 pb-2 mb-0 leading-normal">{{ __('E-Mail Address') }}</label>
33
34


35
36
37
38
                    <input id="email" type="email"
                           class="block appearance-none w-full py-1 px-2 mb-1 text-base leading-normal bg-white text-grey-darker border border-grey rounded{{ $errors->has('email') ? ' bg-red-dark' : '' }}"
                           name="email" value="{{ old('email') }}" required>

39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
                </div>


                @if ($errors->has('email'))
                    <div class="bg-red-700 my-2 pl-2 py-2 text-white font-bold">{{ $errors->first('email') }}
                    </div>
                @endif




                <div class="pr-4 pl-4  text-center">
                    <button type="submit"
                            class="inline-block align-middle text-center select-none border font-normal whitespace-no-wrap py-2 px-4 rounded text-base leading-normal no-underline text-blue-lightest bg-blue hover:bg-blue-light">
                        {{ __('Send Password Reset Link') }}
                    </button>
                </div>

            </form>
ZeMKI's avatar
ZeMKI committed
58
59
        </div>
    </div>
60
61


ZeMKI's avatar
ZeMKI committed
62
@endsection