source: resources/views/auth/login.blade.php@ 11499b3

develop
Last change on this file since 11499b3 was 11499b3, checked in by beratkjufliju <kufliju@…>, 3 years ago

bug fixes

  • Property mode set to 100644
File size: 2.5 KB
Line 
1@extends('layouts.auth')
2
3@section("title", "SaveSpace | Login")
4
5@section('content')
6
7 <!-- logo -->
8 <div id="logo">
9 <img class="logo" src="{{ url('assets/media/images/logo.png') }}" alt="image">
10 </div>
11 <!-- ./ logo -->
12
13 <h5>Sign in</h5>
14
15 <!-- form -->
16 <form action="{{ route("auth.login") }}" method="post" accept-charset="utf-8">
17 @csrf
18 @if(Session::has('isActiveError'))
19 <div class="alert alert-danger alert-dismissible fade show" role="alert">
20 <strong> {{ Session::get('isActiveError') }} </strong>
21 <button type="button" class="close" data-dismiss="alert" aria-label="Close"></button>
22 </div>
23 @endif
24
25 @if(Session::has('loginError'))
26 <div class="alert alert-error fade show" role="alert">
27 <strong> {{ Session::get('loginError') }} </strong>
28 <button type="button" class="close" data-dismiss="alert" aria-label="Close">
29 </button>
30 </div>
31 @endif
32 <div class="form-group">
33 <input id="username" type="text" tabindex="1" class="form-control{{ Session::has('usernameError') ? ' is-invalid' : '' }}" value="{{ old('username') }}" name="username" placeholder="Username" autocomplete="off" required autofocus>
34 @if(Session::has('usernameError'))
35 <span class="invalid-feedback" role="alert">
36 <strong>{{ Session::get('usernameError') }}</strong>
37 </span>
38 @endif
39 </div>
40
41 <div class="form-group">
42 <input id="password" type="password" tabindex="2" class="form-control{{ Session::has('passwordError') ? ' is-invalid' : '' }}" name="password" autocomplete="off" placeholder="Password" required>
43 @if(Session::has('passwordError'))
44 <span class="invalid-feedback" role="alert">
45 <strong>{{ Session::get('passwordError') }}</strong>
46 </span>
47 @endif
48 </div>
49
50 <div class="form-group d-flex justify-content-between">
51 <label class="custom-control custom-checkbox">
52 <input class="custom-control-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
53 <span class="custom-control-label">Remember me</span>
54 </label>
55 <a href="/auth/forgot">Reset password</a>
56 </div>
57
58 <input type="submit" value="Sign in" class="btn btn-primary btn-block">
59 <hr>
60 </form>
61
62@endsection
Note: See TracBrowser for help on using the repository browser.