@extends('layouts.base_login')

@section('inner_content')
    <div class="row h-100 no-margin align-items-center justify-content-center">
        <div class="col col-md-10">
            <div class="row m-b-50">
                <div class="col-8 col-md-6">
                    <img class="w-100" src="{{asset('images/cief-izyim-logo.png')}}" alt="">
                </div>
            </div>
            <div class="row" v-show="!$store.getters.isShowing('registrationForm')">
                <div class="col">
                    <div class="row" v-show="!$store.getters.isShowing('forgetPassword')">
                        <div class="col">
                            <loading-component style="height: 350px;" key="1" color="primary" v-show="$store.getters.isLoading('loginSection')"></loading-component>
                            <div class="row" v-show="!$store.getters.isLoading('loginSection')">
                                <div class="col">
                                    <div class="row m-b-15">
                                        <div class="col">
                                            <div class="inline v-align-middle">
                                                <div class="font-heading fs-20 all-caps no-margin lh-28 bold">Sign In</div>
                                                <p class="no-margin fs-11 light">To keep using the service please sign in with your personal info</p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col">
                                            <login-form-component section="loginSection"></login-form-component>
                                            {{--<cross-platform-login-form-component section="crossPlatformLoginSection"></cross-platform-login-form-component>--}}
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row" v-show="$store.getters.isShowing('forgetPassword')">
                        <div class="col">
                            <loading-component style="height: 350px;" key="1" color="primary" v-show="$store.getters.isLoading('forgetPasswordSection')"></loading-component>
                            <div class="row" v-show="!$store.getters.isLoading('forgetPasswordSection')">
                                <div class="col">
                                    <div class="row m-b-15" v-show="!$store.getters.isShowing('forgetPasswordSuccess')">
                                        <div class="col">
                                            <div class="inline v-align-middle">
                                                <div class="font-heading fs-20 all-caps no-margin lh-28 bold">Forget Password</div>
                                                <p class="no-margin fs-11 light">Enter your registered email below to receive the password reset instruction</p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col">
                                            <forget-password-form-component section="forgetPasswordSection"></forget-password-form-component>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row" v-show="$store.getters.isShowing('registrationForm')">
                <div class="col">
                    <loading-component style="height: 350px;" key="1" color="primary" v-show="$store.getters.isLoading('loginSection')"></loading-component>
                    <div class="row justify-content-center" v-show="!$store.getters.isLoading('loginSection')">
                        <div class="col">
                            <registration-form-component section="loginSection"></registration-form-component>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection