From 376dc9fdda22aff0396000b2bbf086f33e595d90 Mon Sep 17 00:00:00 2001 From: principalkelvo Date: Mon, 14 Nov 2022 13:40:10 +0300 Subject: [PATCH 1/5] env --- .env.example | 53 ---------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 .env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index d43a1df..0000000 --- a/.env.example +++ /dev/null @@ -1,53 +0,0 @@ -APP_NAME="Laravel Boilerplate" -APP_ENV=local -APP_KEY=base64:EjNbjo6CDvcmaIF9YTglTJ1/w/bIP5p3JdtfyF8isHo= -APP_DEBUG=true -APP_URL=http://127.0.0.1:8000 - -LOG_CHANNEL=daily - -DB_CONNECTION=mysql -DB_HOST=127.0.0.1 -DB_PORT=3306 -DB_DATABASE=laravel -DB_USERNAME=root -DB_PASSWORD=password - -BROADCAST_DRIVER=log -CACHE_DRIVER=file -QUEUE_CONNECTION=sync -SESSION_DRIVER=file -SESSION_LIFETIME=120 - -REDIS_HOST=127.0.0.1 -REDIS_PASSWORD=null -REDIS_PORT=6379 - -MAIL_MAILER=smtp -MAIL_HOST=smtp.mailtrap.io -MAIL_PORT=587 -MAIL_USERNAME=836d6ddd804397 -MAIL_PASSWORD=68897ff1e67e41 -MAIL_ENCRYPTION=null -MAIL_FROM_ADDRESS="no-reply@example.com" -MAIL_FROM_NAME="${APP_NAME}" - -AWS_ACCESS_KEY_ID= -AWS_SECRET_ACCESS_KEY= -AWS_DEFAULT_REGION=us-east-1 -AWS_BUCKET= - -PUSHER_APP_ID= -PUSHER_APP_KEY= -PUSHER_APP_SECRET= -PUSHER_APP_CLUSTER=mt1 - -MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" -MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" - -BACKUP_NAME=laravel-boilerplate-${APP_ENV} -BACKUP_NOTIFICATION_EMAIL="backups@example.com" -BACKUP_NOTIFICATION_SLACK=https://hooks.slack.com/services/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 -DROPBOX_AUTH_TOKEN=dNX35XlWbDAAAAAAAAAILr_IqUHnXSXGnwpw0L1xFet-JRYfm2GilrtrWY4Ugoqg - -SENTRY_LARAVEL_DSN=https://e5a8a994cc584392b3b5edf39229e91a@sentry.io/3063082 From e034b4a48a74eed9fbbff1779a215a53c57da166 Mon Sep 17 00:00:00 2001 From: principalkelvo Date: Tue, 15 Nov 2022 12:00:03 +0300 Subject: [PATCH 2/5] creates a checkbox to show password toggles password to view as text --- resources/views/auth/login.blade.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 7cd68ae..cb09248 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -22,7 +22,9 @@ class="form-control @error('email') is-invalid @enderror" - @error('password') + @error('password') + + Show Password {{ $message }} @@ -51,3 +53,18 @@ class="btn btn-block btn-primary"> @endsection + +@push('scripts') + +@endpush \ No newline at end of file From 66e63f3db7c2fd9db0bf021c4f5724f5a0f0ac0a Mon Sep 17 00:00:00 2001 From: principalkelvo Date: Tue, 15 Nov 2022 12:00:35 +0300 Subject: [PATCH 3/5] adds a script stack to auth --- resources/views/ui/layouts/auth.blade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/views/ui/layouts/auth.blade.php b/resources/views/ui/layouts/auth.blade.php index 2502b1a..7279b4d 100644 --- a/resources/views/ui/layouts/auth.blade.php +++ b/resources/views/ui/layouts/auth.blade.php @@ -10,5 +10,6 @@ +@stack('scripts') From b50f98c5c5e326a0217cf6de8076bb867ede0f57 Mon Sep 17 00:00:00 2001 From: principalkelvo Date: Thu, 17 Nov 2022 13:39:53 +0300 Subject: [PATCH 4/5] adds env example --- .env.example | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..6cce0a2 --- /dev/null +++ b/.env.example @@ -0,0 +1,53 @@ +APP_NAME="Laravel Boilerplate" +APP_ENV=local +APP_KEY=base64:EjNbjo6CDvcmaIF9YTglTJ1/w/bIP5p3JdtfyF8isHo= +APP_DEBUG=true +APP_URL=http://127.0.0.1:8000 + +LOG_CHANNEL=daily + +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=laravel +DB_USERNAME=root +DB_PASSWORD=password + +BROADCAST_DRIVER=log +CACHE_DRIVER=file +QUEUE_CONNECTION=sync +SESSION_DRIVER=file +SESSION_LIFETIME=120 + +REDIS_HOST=127.0.0.1 +REDIS_PASSWORD=null +REDIS_PORT=6379 + +MAIL_MAILER=smtp +MAIL_HOST=smtp.mailtrap.io +MAIL_PORT=587 +MAIL_USERNAME=836d6ddd804397 +MAIL_PASSWORD=68897ff1e67e41 +MAIL_ENCRYPTION=null +MAIL_FROM_ADDRESS="no-reply@example.com" +MAIL_FROM_NAME="${APP_NAME}" + +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +AWS_DEFAULT_REGION=us-east-1 +AWS_BUCKET= + +PUSHER_APP_ID= +PUSHER_APP_KEY= +PUSHER_APP_SECRET= +PUSHER_APP_CLUSTER=mt1 + +MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" +MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" + +BACKUP_NAME=laravel-boilerplate-${APP_ENV} +BACKUP_NOTIFICATION_EMAIL="backups@example.com" +BACKUP_NOTIFICATION_SLACK=https://hooks.slack.com/services/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 +DROPBOX_AUTH_TOKEN=dNX35XlWbDAAAAAAAAAILr_IqUHnXSXGnwpw0L1xFet-JRYfm2GilrtrWY4Ugoqg + +SENTRY_LARAVEL_DSN=https://e5a8a994cc584392b3b5edf39229e91a@sentry.io/3063082 \ No newline at end of file From 271570c27bf37332c1078777f16a1cda8b6d7475 Mon Sep 17 00:00:00 2001 From: principalkelvo Date: Mon, 28 Nov 2022 14:19:31 +0300 Subject: [PATCH 5/5] shows password --- public/mix-manifest.json | 14 +++++++------- resources/views/auth/login.blade.php | 9 +++++++-- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 77bad14..6d2deef 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,7 +1,4 @@ { - "/img/miri/UI-kit-image-1.jpg": "/img/miri/UI-kit-image-1.jpg", - "/img/miri/UI-kit-image-2.jpg": "/img/miri/UI-kit-image-2.jpg", - "/img/miri/UI-kit-image-3.jpg": "/img/miri/UI-kit-image-3.jpg", "/img/miri/about.png": "/img/miri/about.png", "/img/miri/banner.jpg": "/img/miri/banner.jpg", "/img/miri/count-card-bg.jpg": "/img/miri/count-card-bg.jpg", @@ -38,8 +35,15 @@ "/img/miri/team-1.jpg": "/img/miri/team-1.jpg", "/img/miri/team-2.jpg": "/img/miri/team-2.jpg", "/img/miri/team-3.jpg": "/img/miri/team-3.jpg", + "/img/miri/UI-kit-image-1.jpg": "/img/miri/UI-kit-image-1.jpg", + "/img/miri/UI-kit-image-2.jpg": "/img/miri/UI-kit-image-2.jpg", + "/img/miri/UI-kit-image-3.jpg": "/img/miri/UI-kit-image-3.jpg", "/css/landing.css": "/css/landing.css", "/js/landing.js": "/js/landing.js", + "/fonts/materialdesignicons-webfont.eot": "/fonts/materialdesignicons-webfont.eot", + "/fonts/materialdesignicons-webfont.ttf": "/fonts/materialdesignicons-webfont.ttf", + "/fonts/materialdesignicons-webfont.woff": "/fonts/materialdesignicons-webfont.woff", + "/fonts/materialdesignicons-webfont.woff2": "/fonts/materialdesignicons-webfont.woff2", "/fonts/Ubuntu/Ubuntu-Bold.eot": "/fonts/Ubuntu/Ubuntu-Bold.eot", "/fonts/Ubuntu/Ubuntu-Bold.ttf": "/fonts/Ubuntu/Ubuntu-Bold.ttf", "/fonts/Ubuntu/Ubuntu-Bold.woff": "/fonts/Ubuntu/Ubuntu-Bold.woff", @@ -56,10 +60,6 @@ "/fonts/Ubuntu/Ubuntu-Regular.ttf": "/fonts/Ubuntu/Ubuntu-Regular.ttf", "/fonts/Ubuntu/Ubuntu-Regular.woff": "/fonts/Ubuntu/Ubuntu-Regular.woff", "/fonts/Ubuntu/Ubuntu-Regular.woff2": "/fonts/Ubuntu/Ubuntu-Regular.woff2", - "/fonts/materialdesignicons-webfont.eot": "/fonts/materialdesignicons-webfont.eot", - "/fonts/materialdesignicons-webfont.ttf": "/fonts/materialdesignicons-webfont.ttf", - "/fonts/materialdesignicons-webfont.woff": "/fonts/materialdesignicons-webfont.woff", - "/fonts/materialdesignicons-webfont.woff2": "/fonts/materialdesignicons-webfont.woff2", "/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.eot": "/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.eot", "/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.svg": "/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.svg", "/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.ttf": "/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.ttf", diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index cb09248..3055347 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -24,12 +24,17 @@ class="form-control @error('password') is-invalid @enderror" required placeholder="Password"> @error('password') - Show Password + {{ $message }} @enderror + +
+ + +