2015-08-05 15:59:39 -04:00
|
|
|
@extends('public')
|
|
|
|
|
2015-09-05 12:42:05 -04:00
|
|
|
@section('header-buttons')
|
|
|
|
@if(Setting::get('registration-enabled'))
|
|
|
|
<a href="/register"><i class="zmdi zmdi-account-add"></i>Sign up</a>
|
|
|
|
@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">
|
|
|
|
<h1>Log In</h1>
|
|
|
|
|
2015-10-22 15:23:39 -04:00
|
|
|
<form action="/login" method="POST" id="login-form">
|
2015-09-05 12:42:05 -04:00
|
|
|
{!! csrf_field() !!}
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">Email</label>
|
2015-10-22 15:23:39 -04:00
|
|
|
@include('form/text', ['name' => 'email', 'tabindex' => 1])
|
2015-09-05 12:42:05 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password">Password</label>
|
2015-10-22 15:23:39 -04:00
|
|
|
@include('form/password', ['name' => 'password', 'tabindex' => 2])
|
2015-09-05 12:42:05 -04:00
|
|
|
<span class="block small"><a href="/password/email">Forgot Password?</a></span>
|
|
|
|
</div>
|
|
|
|
|
2015-10-22 15:23:39 -04:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="remember" class="inline">Remember Me</label>
|
|
|
|
<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">
|
2015-10-22 15:23:39 -04:00
|
|
|
<button class="button block pos" tabindex="3">Sign In</button>
|
2015-09-05 12:42:05 -04:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
@if(count($socialDrivers) > 0)
|
|
|
|
<hr class="margin-top">
|
|
|
|
<h3 class="text-muted">Social Login</h3>
|
|
|
|
@if(isset($socialDrivers['google']))
|
|
|
|
<a href="/login/service/google" style="color: #DC4E41;"><i class="zmdi zmdi-google-plus-box zmdi-hc-4x"></i></a>
|
|
|
|
@endif
|
|
|
|
@if(isset($socialDrivers['github']))
|
|
|
|
<a href="/login/service/github" style="color:#444;"><i class="zmdi zmdi-github zmdi-hc-4x"></i></a>
|
|
|
|
@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
|