-
Notifications
You must be signed in to change notification settings - Fork 893
Expand file tree
/
Copy pathlogin.blade.php
More file actions
42 lines (35 loc) · 1.43 KB
/
login.blade.php
File metadata and controls
42 lines (35 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@extends('layouts.base')
@section('css')
<link rel='stylesheet' href='css/login.css' />
@endsection
@section('content')
<div class="center-text">
<h1>Login</h1><br/><br/>
<div class="col-md-3"></div>
<div class="col-md-6">
<form action="login" method="POST">
<input type="text" placeholder="username" name="username" class="form-control login-field" />
<input type="password" placeholder="password" name="password" class="form-control login-field" />
@if (env('POLR_LOGIN_RECAPTCHA'))
<div class="g-recaptcha" data-sitekey="{{env('POLR_RECAPTCHA_SITE_KEY')}}"></div>
@endif
<input type="hidden" name='_token' value='{{csrf_token()}}' />
<input type="submit" value="Login" class="login-submit btn btn-success" />
<p class='login-prompts'>
@if (env('POLR_ALLOW_ACCT_CREATION') == true)
<small>Don't have an account? <a href='{{route('signup')}}'>Register</a></small>
@endif
@if (env('SETTING_PASSWORD_RECOV') == true)
<small>Forgot your password? <a href='{{route('lost_password')}}'>Reset</a></small>
@endif
</p>
</form>
</div>
<div class="col-md-3"></div>
</div
@endsection
@section('js')
@if (env('POLR_LOGIN_RECAPTCHA'))
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
@endif
@endsection