3
0
Fork 0
This repository has been archived on 2024-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
ThemeParkPlus-Panel/resources/views/auth/passwords/reset.blade.php

53 lines
2 KiB
PHP
Raw Permalink Normal View History

@extends('layouts.form')
2020-02-26 13:59:58 +00:00
2021-06-29 20:05:00 +00:00
@section('body')
<div class="login-page">
<div class="login-text">
2021-06-29 20:05:00 +00:00
@component('components.title')
@endcomponent
</div>
<div class="login-body">
<div>
<form method="post" action="{{ route('password.update') }}">
@csrf
<input type="hidden" name="token" value="{{ $token }}">
2020-02-26 13:59:58 +00:00
<label class="col-xs-12">
Email:
<input id="email" type="email" class="form-input" name="email" value="{{ $email ?? old('email') }}" placeholder="my.mail@example.com" required autocomplete="email" autofocus>
</label>
2020-02-26 13:59:58 +00:00
<label class="col-xs-12">
Password:
<input type="password" class="form-input" name="password" placeholder="••••••••••" required autocomplete="new-password">
</label>
<label class="col-xs-12">
Confirm Password:
<input type="password" class="form-input" name="password_confirmation" placeholder="••••••••••" required autocomplete="new-password">
</label>
2020-02-26 13:59:58 +00:00
<div class="col-xs-12">
<button class="btn btn-custom" style="width: 100%">{{ __('Reset Password') }}</button>
</div>
</form>
2020-02-26 13:59:58 +00:00
</div>
<div class="login-footer">
<span>Copyright &copy; 2019-{{ date('Y') }} <a href="https://www.iobyte.nl/"><img src="{{ asset('assets/img/logo.png') }}" alt="IOByte"></a>. All rights reserved.</span>
</div>
</div>
2020-02-26 13:59:58 +00:00
</div>
@endsection
@section('javascript')
<script>
window.onload = () => {
const passInput = document.getElementById('password_confirmation');
passInput.onpaste = (e) => {
e.preventDefault();
};
};
</script>
2021-06-29 20:05:00 +00:00
@endsection