Show-password-option-added-default-theme
This commit is contained in:
parent
a7c7ae789b
commit
dc2d283616
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -10,8 +10,8 @@
|
|||
*/
|
||||
|
||||
/*!
|
||||
* Vue.js v2.6.12
|
||||
* (c) 2014-2020 Evan You
|
||||
* Vue.js v2.6.14
|
||||
* (c) 2014-2021 Evan You
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"/js/shop.js": "/js/shop.js?id=fb4ac8dc03a1e11293ee",
|
||||
"/css/shop.css": "/css/shop.css?id=284ea3a8ddc4b5fdf6e2"
|
||||
"/js/shop.js": "/js/shop.js?id=be1a3e20c3867c6c03d6",
|
||||
"/css/shop.css": "/css/shop.css?id=92ff4b1cd8deb5d40914"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -163,3 +163,8 @@
|
|||
background-image: url("../images/icon-dropdown.svg");
|
||||
}
|
||||
|
||||
.rango-eye-hide:before {
|
||||
content: "\E92E";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -28,8 +28,9 @@
|
|||
</div>
|
||||
|
||||
<div class="control-group" :class="[errors.has('password') ? 'has-error' : '']">
|
||||
<label for="password" class="required">{{ __('shop::app.customer.login-form.password') }}</label>
|
||||
<label for="password" class="required">{{ __('shop::app.customer.login-form.password') }} </label>
|
||||
<input type="password" v-validate="'required|min:6'" class="control" id="password" name="password" data-vv-as=""{{ __('admin::app.users.sessions.password') }}"" value=""/>
|
||||
<i refer="#password" class="icon eye-icon toggle-password-icon" style="margin-left: -30px; cursor: pointer; vertical-align: sub;"></i>
|
||||
<span class="control-error" v-if="errors.has('password')">@{{ errors.first('password') }}</span>
|
||||
</div>
|
||||
|
||||
|
|
@ -65,5 +66,18 @@
|
|||
@push('scripts')
|
||||
|
||||
{!! Captcha::renderJS() !!}
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$(".toggle-password-icon").click(function() {
|
||||
$(this).toggleClass("icon eye-icon rango-eye-hide");
|
||||
var input = $($(this).attr("refer"));
|
||||
if (input.attr("type") == "password") {
|
||||
input.attr("type", "text");
|
||||
} else {
|
||||
input.attr("type", "password");
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@endpush
|
||||
Loading…
Reference in New Issue