Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ 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
SENTRY_LARAVEL_DSN=https://e5a8a994cc584392b3b5edf39229e91a@sentry.io/3063082
14 changes: 7 additions & 7 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down
24 changes: 23 additions & 1 deletion resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,19 @@ class="form-control @error('email') is-invalid @enderror"
<input type="password" id="password" name="password"
class="form-control @error('password') is-invalid @enderror"
required placeholder="Password">
@error('password')
@error('password')
<!-- adds toggle to view password while typing -->

<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
<!-- toggle password for view -->
<div class="form-group form-check ">
<input type="checkbox" class="form-check-input ml-2" id="togglePassword">
<label class="form-check-label" for="exampleCheck1">Show Password</label>
</div>
<button type="submit"
class="btn btn-block btn-primary">
{{ __('Login') }}
Expand All @@ -51,3 +58,18 @@ class="btn btn-block btn-primary">
</div>
</div>
@endsection

@push('scripts')
<script>
const togglePassword = document.getElementById('togglePassword');
const password = document.getElementById("password");

//listens to clicks of the checkbox
togglePassword.addEventListener('click', function (e) {
// toggle the type attribute
const type = password.getAttribute('type') === 'password' ? 'text' : 'password';
//sets attribute to the toggled type
password.setAttribute('type', type);
});
</script>
@endpush
1 change: 1 addition & 0 deletions resources/views/ui/layouts/auth.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
</div>
</div>
<script src="{{ asset('js/script.js') }}"></script>
@stack('scripts')
</body>
</html>