-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from krekas/coreui
Laravel/UI with CoreUI theme
- Loading branch information
Showing
15 changed files
with
2,149 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
@extends('layouts.guest') | ||
|
||
@section('content') | ||
<div class="col-lg-8"> | ||
<div class="card-group d-block d-md-flex row"> | ||
<div class="card col-md-7 p-4 mb-0"> | ||
<div class="card-body"> | ||
<h1>{{ __('Login') }}</h1> | ||
<form action="{{ route('login') }}" method="POST"> | ||
@csrf | ||
<div class="input-group mb-3"><span class="input-group-text"> | ||
<svg class="icon"> | ||
<use xlink:href="{{ asset('icons/coreui.svg#cil-envelope-open') }}"></use> | ||
</svg></span> | ||
<input class="form-control @error('email') is-invalid @enderror" type="text" name="email" | ||
placeholder="{{ __('Email') }}" required autofocus> | ||
@error('email') | ||
<div class="invalid-feedback"> | ||
{{ $message }} | ||
</div> | ||
@enderror | ||
</div> | ||
<div class="input-group mb-4"><span class="input-group-text"> | ||
<svg class="icon"> | ||
<use xlink:href="{{ asset('icons/coreui.svg#cil-lock-locked') }}"></use> | ||
</svg></span> | ||
<input class="form-control @error('password') is-invalid @enderror" type="password" | ||
name="password" | ||
placeholder="{{ __('Password') }}" required> | ||
@error('password') | ||
<div class="invalid-feedback"> | ||
{{ $message }} | ||
</div> | ||
@enderror | ||
</div> | ||
<div class="row"> | ||
<div class="col-6"> | ||
<button class="btn btn-primary px-4" type="submit">{{ __('Login') }}</button> | ||
</div> | ||
@if (Route::has('password.request')) | ||
<div class="col-6 text-end"> | ||
<a href="{{ route('password.request') }}" class="btn btn-link px-0" | ||
type="button">{{ __('Forgot Your Password?') }}</a> | ||
</div> | ||
@endif | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
<div class="card col-md-5 text-white bg-primary py-5"> | ||
<div class="card-body text-center"> | ||
<div> | ||
<h2>{{ __('Sign up') }}</h2> | ||
<a href="{{ route('register') }}" | ||
class="btn btn-lg btn-outline-light mt-3">{{ __('Register') }}</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
40 changes: 40 additions & 0 deletions
40
resources/stubs/ui/coreui/views/auth/passwords/confirm.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@extends('layouts.guest') | ||
|
||
@section('content') | ||
<div class="col-md-6"> | ||
<div class="card mb-4 mx-4"> | ||
<div class="card-body p-4"> | ||
<h1>{{ __('Please confirm your password before continuing.') }}</h1> | ||
|
||
<form method="POST" action="{{ route('password.confirm') }}"> | ||
@csrf | ||
|
||
<div class="input-group mb-3"><span class="input-group-text"> | ||
<svg class="icon"> | ||
<use xlink:href="{{ asset('icons/coreui.svg#cil-lock-locked') }}"></use> | ||
</svg></span> | ||
<input class="form-control @error('password') is-invalid @enderror" type="password" | ||
placeholder="{{ __('Password') }}"> | ||
@error('password') | ||
<div class="invalid-feedback"> | ||
{{ $message }} | ||
</div> | ||
@enderror | ||
</div> | ||
<div class="row"> | ||
<div class="col-6"> | ||
<button class="btn btn-primary px-4" type="submit">{{ __('Confirm Password') }}</button> | ||
</div> | ||
@if (Route::has('password.request')) | ||
<div class="col-6 text-end"> | ||
<a href="{{ route('password.request') }}" class="btn btn-link px-0" | ||
type="button">{{ __('Forgot Your Password?') }}</a> | ||
</div> | ||
@endif | ||
</div> | ||
</form> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
@endsection |
29 changes: 29 additions & 0 deletions
29
resources/stubs/ui/coreui/views/auth/passwords/email.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@extends('layouts.guest') | ||
|
||
@section('content') | ||
<div class="col-md-6"> | ||
<div class="card mb-4 mx-4"> | ||
<div class="card-body p-4"> | ||
<h1>{{ __('Reset Password') }}</h1> | ||
<form action="{{ route('password.email') }}" method="POST"> | ||
@csrf | ||
|
||
<div class="input-group mb-3"><span class="input-group-text"> | ||
<svg class="icon"> | ||
<use xlink:href="{{ asset('icons/coreui.svg#cil-envelope-open') }}"></use> | ||
</svg></span> | ||
<input class="form-control @error('email') is-invalid @enderror" type="text" | ||
placeholder="{{ __('Email') }}"> | ||
@error('email') | ||
<div class="invalid-feedback"> | ||
{{ $message }} | ||
</div> | ||
@enderror | ||
</div> | ||
<button class="btn btn-block btn-success" | ||
type="submit">{{ __('Send Password Reset Link') }}</button> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
60 changes: 60 additions & 0 deletions
60
resources/stubs/ui/coreui/views/auth/passwords/reset.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
@extends('layouts.guest') | ||
|
||
@section('content') | ||
<div class="col-md-6"> | ||
<div class="card mb-4 mx-4"> | ||
<div class="card-body p-4"> | ||
<h1>{{ __('Reset Password') }}</h1> | ||
|
||
<form action="{{ route('password.update') }}" method="POST"> | ||
@csrf | ||
|
||
<div class="input-group mb-3"><span class="input-group-text"> | ||
<svg class="icon"> | ||
<use xlink:href="{{ asset('icons/coreui.svg#cil-envelope-open') }}"></use> | ||
</svg></span> | ||
<input class="form-control @error('email') is-invalid @enderror" type="text" | ||
placeholder="{{ __('Email') }}"> | ||
@error('email') | ||
<div class="invalid-feedback"> | ||
{{ $message }} | ||
</div> | ||
@enderror | ||
</div> | ||
|
||
<div class="input-group mb-4"><span class="input-group-text"> | ||
<svg class="icon"> | ||
<use xlink:href="{{ asset('icons/coreui.svg#cil-lock-locked') }}"></use> | ||
</svg></span> | ||
<input class="form-control @error('password') is-invalid @enderror" type="password" | ||
name="password" | ||
placeholder="{{ __('Password') }}"> | ||
@error('password') | ||
<div class="invalid-feedback"> | ||
{{ $message }} | ||
</div> | ||
@enderror | ||
</div> | ||
|
||
<div class="input-group mb-4"><span class="input-group-text"> | ||
<svg class="icon"> | ||
<use xlink:href="{{ asset('icons/coreui.svg#cil-lock-locked') }}"></use> | ||
</svg></span> | ||
<input class="form-control @error('password_confirmation') is-invalid @enderror" type="password" | ||
name="password" | ||
placeholder="{{ __('Confirm Password') }}"> | ||
@error('password_confirmation') | ||
<div class="invalid-feedback"> | ||
{{ $message }} | ||
</div> | ||
@enderror | ||
</div> | ||
|
||
<button class="btn btn-block btn-success" | ||
type="submit">{{ __('Reset Password') }}</button> | ||
</form> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
@extends('layouts.guest') | ||
|
||
@section('content') | ||
<div class="col-md-6"> | ||
<div class="card mb-4 mx-4"> | ||
<div class="card-body p-4"> | ||
<h1>Register</h1> | ||
|
||
<form method="POST" action="{{ route('register') }}"> | ||
@csrf | ||
|
||
<div class="input-group mb-3"><span class="input-group-text"> | ||
<svg class="icon"> | ||
<use xlink:href="{{ asset('icons/coreui.svg#cil-user') }}"></use> | ||
</svg></span> | ||
<input class="form-control" type="text" name="name" placeholder="{{ __('Name') }}" required | ||
autocomplete="name" autofocus> | ||
@error('name') | ||
<span class="invalid-feedback"> | ||
{{ $message }} | ||
</span> | ||
@enderror | ||
</div> | ||
|
||
<div class="input-group mb-3"><span class="input-group-text"> | ||
<svg class="icon"> | ||
<use xlink:href="{{ asset('icons/coreui.svg#cil-envelope-open') }}"></use> | ||
</svg></span> | ||
<input class="form-control" type="text" name="email" placeholder="Email" required | ||
autocomplete="email"> | ||
@error('email') | ||
<span class="invalid-feedback"> | ||
{{ $message }} | ||
</span> | ||
@enderror | ||
</div> | ||
|
||
<div class="input-group mb-3"><span class="input-group-text"> | ||
<svg class="icon"> | ||
<use xlink:href="{{ asset('icons/coreui.svg#cil-lock-locked') }}"></use> | ||
</svg></span> | ||
<input class="form-control @error('password') is-invalid @enderror" type="password" | ||
name="password" placeholder="Password" required autocomplete="new-password"> | ||
@error('password') | ||
<span class="invalid-feedback"> | ||
{{ $message }} | ||
</span> | ||
@enderror | ||
</div> | ||
|
||
<div class="input-group mb-4"><span class="input-group-text"> | ||
<svg class="icon"> | ||
<use xlink:href="{{ asset('icons/coreui.svg#cil-lock-locked') }}"></use> | ||
</svg></span> | ||
<input class="form-control @error('password_confirmation') is-invalid @enderror" type="password" | ||
name="password_confirmation" placeholder="{{ __('Confirm Password') }}" required | ||
autocomplete="new-password"> | ||
</div> | ||
|
||
<button class="btn btn-block btn-success" type="submit">{{ __('Register') }}</button> | ||
|
||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@extends('layouts.guest') | ||
|
||
@section('content') | ||
<div class="col-md-6"> | ||
<div class="card mb-4 mx-4"> | ||
<div class="card-body p-4"> | ||
<h1>{{ __('Please confirm your password before continuing.') }}</h1> | ||
|
||
@if (session('resent')) | ||
<div class="alert alert-success" role="alert"> | ||
{{ __('A fresh verification link has been sent to your email address.') }} | ||
</div> | ||
@endif | ||
|
||
<p class="text-medium-emphasis">{{ __('Before proceeding, please check your email for a verification link.') }}</p> | ||
<p class="text-medium-emphasis">{{ __('If you did not receive the email') }},</p> | ||
|
||
<form method="POST" action="{{ route('verification.resend') }}"> | ||
@csrf | ||
|
||
<div class="row"> | ||
<div class="col-12"> | ||
<button class="btn btn-primary px-4" | ||
type="submit">{{ __('click here to request another') }}</button> | ||
</div> | ||
</div> | ||
</form> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@extends('layouts.app') | ||
|
||
@section('content') | ||
<div class="card mb-4"> | ||
<div class="card-header"> | ||
{{ __('Dashboard') }} | ||
</div> | ||
<div class="card-body"> | ||
{{ __('You are logged in!') }} | ||
</div> | ||
</div> | ||
@endsection |
Oops, something went wrong.