2015-08-05 15:59:39 -04:00
|
|
|
@extends('public')
|
|
|
|
|
2015-09-05 12:42:05 -04:00
|
|
|
@section('header-buttons')
|
2016-08-14 07:29:35 -04:00
|
|
|
@if(setting('registration-enabled', false))
|
2016-11-13 11:34:28 -05:00
|
|
|
<a href="{{ baseUrl("/register") }}"><i class="zmdi zmdi-account-add"></i>{{ trans('auth.sign_up') }}</a>
|
2015-09-05 12:42:05 -04:00
|
|
|
@endif
|
|
|
|
@stop
|
|
|
|
|
2015-09-04 12:16:58 -04:00
|
|
|
@section('content')
|
2015-08-05 15:59:39 -04:00
|
|
|
|
2015-09-05 12:42:05 -04:00
|
|
|
<div class="text-center">
|
|
|
|
<div class="center-box">
|
2016-11-13 11:34:28 -05:00
|
|
|
<h1>{{ title_case(trans('auth.log_in')) }}</h1>
|
2015-09-05 12:42:05 -04:00
|
|
|
|
2016-08-14 07:29:35 -04:00
|
|
|
<form action="{{ baseUrl("/login") }}" method="POST" id="login-form">
|
2015-09-05 12:42:05 -04:00
|
|
|
{!! csrf_field() !!}
|
|
|
|
|
|
|
|
|
2016-01-09 14:23:35 -05:00
|
|
|
@include('auth/forms/login/' . $authMethod)
|
2015-09-05 12:42:05 -04:00
|
|
|
|
2015-10-22 15:23:39 -04:00
|
|
|
<div class="form-group">
|
2016-11-13 11:34:28 -05:00
|
|
|
<label for="remember" class="inline">{{ trans('auth.remember_me') }}</label>
|
2015-10-22 15:23:39 -04:00
|
|
|
<input type="checkbox" id="remember" name="remember" class="toggle-switch-checkbox">
|
|
|
|
<label for="remember" class="toggle-switch"></label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2015-09-05 12:42:05 -04:00
|
|
|
<div class="from-group">
|
2016-11-13 11:34:28 -05:00
|
|
|
<button class="button block pos" tabindex="3"><i class="zmdi zmdi-sign-in"></i> {{ title_case(trans('auth.log_in')) }}</button>
|
2015-09-05 12:42:05 -04:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
@if(count($socialDrivers) > 0)
|
|
|
|
<hr class="margin-top">
|
2016-11-13 11:34:28 -05:00
|
|
|
<h3 class="text-muted">{{ trans('auth.social_login') }}</h3>
|
2015-09-05 12:42:05 -04:00
|
|
|
@if(isset($socialDrivers['google']))
|
2016-08-14 07:29:35 -04:00
|
|
|
<a href="{{ baseUrl("/login/service/google") }}" style="color: #DC4E41;"><i class="zmdi zmdi-google-plus-box zmdi-hc-4x"></i></a>
|
2015-09-05 12:42:05 -04:00
|
|
|
@endif
|
|
|
|
@if(isset($socialDrivers['github']))
|
2016-08-14 07:29:35 -04:00
|
|
|
<a href="{{ baseUrl("/login/service/github") }}" style="color:#444;"><i class="zmdi zmdi-github zmdi-hc-4x"></i></a>
|
2015-09-05 12:42:05 -04:00
|
|
|
@endif
|
2015-09-04 12:16:58 -04:00
|
|
|
@endif
|
2015-09-05 12:42:05 -04:00
|
|
|
</div>
|
2015-08-05 15:59:39 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|