From 49f8802f826931f51ef2dc7e4fca270cbcb2e292 Mon Sep 17 00:00:00 2001 From: Mohamed Said Date: Wed, 20 Dec 2017 21:10:22 +0200 Subject: [PATCH] convert auth scaffold to bootstrap 4 --- .../Console/stubs/make/views/auth/login.stub | 36 +++++------ .../make/views/auth/passwords/email.stub | 24 +++---- .../make/views/auth/passwords/reset.stub | 40 ++++++------ .../stubs/make/views/auth/register.stub | 44 ++++++------- .../Auth/Console/stubs/make/views/home.stub | 10 +-- .../Console/stubs/make/views/layouts/app.stub | 64 ++++++++----------- 6 files changed, 104 insertions(+), 114 deletions(-) diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub index 07924ce66fae..5f0f347f079e 100644 --- a/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub +++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub @@ -2,45 +2,45 @@ @section('content')
-
-
-
-
Login
+
+
+
+
Login
-
-
+
+ {{ csrf_field() }} -
- +
+
- + @if ($errors->has('email')) - + {{ $errors->first('email') }} @endif
-
- +
+
- + @if ($errors->has('password')) - + {{ $errors->first('password') }} @endif
-
-
+
+
-
-
+
+
diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub index ad38245bd3c9..6955ba64cb75 100644 --- a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub +++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub @@ -2,37 +2,37 @@ @section('content')
-
-
-
-
Reset Password
+
+
+
+
Reset Password
-
+
@if (session('status'))
{{ session('status') }}
@endif - + {{ csrf_field() }} -
- +
+
- + @if ($errors->has('email')) - + {{ $errors->first('email') }} @endif
-
-
+
+
diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub index 84ec0101610e..637768982d15 100644 --- a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub +++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub @@ -2,60 +2,60 @@ @section('content')
-
-
-
-
Reset Password
+
+
+
+
Reset Password
-
- +
+ {{ csrf_field() }} -
- +
+
- + @if ($errors->has('email')) - + {{ $errors->first('email') }} @endif
-
- +
+
- + @if ($errors->has('password')) - + {{ $errors->first('password') }} @endif
-
- +
+
- + @if ($errors->has('password_confirmation')) - + {{ $errors->first('password_confirmation') }} @endif
-
-
+
+
diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub index 38eef838417d..aa7e6450b15d 100644 --- a/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub +++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub @@ -2,67 +2,67 @@ @section('content')
-
-
-
-
Register
+
+
+
+
Register
-
- +
+ {{ csrf_field() }} -
- +
+
- + @if ($errors->has('name')) - + {{ $errors->first('name') }} @endif
-
- +
+
- + @if ($errors->has('email')) - + {{ $errors->first('email') }} @endif
-
- +
+
- + @if ($errors->has('password')) - + {{ $errors->first('password') }} @endif
-
- +
+
-
-
+
+
diff --git a/src/Illuminate/Auth/Console/stubs/make/views/home.stub b/src/Illuminate/Auth/Console/stubs/make/views/home.stub index d8437bf890ac..cc24f899da10 100644 --- a/src/Illuminate/Auth/Console/stubs/make/views/home.stub +++ b/src/Illuminate/Auth/Console/stubs/make/views/home.stub @@ -2,12 +2,12 @@ @section('content')
-
-
-
-
Dashboard
+
+
+
+
Dashboard
-
+
@if (session('status'))
{{ session('status') }} diff --git a/src/Illuminate/Auth/Console/stubs/make/views/layouts/app.stub b/src/Illuminate/Auth/Console/stubs/make/views/layouts/app.stub index 8846226f59e8..afe2c9d1a58d 100644 --- a/src/Illuminate/Auth/Console/stubs/make/views/layouts/app.stub +++ b/src/Illuminate/Auth/Console/stubs/make/views/layouts/app.stub @@ -15,55 +15,43 @@
-