mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fixed GetHashCode
fixed TopStats restrict search to minimum 3 characters
This commit is contained in:
12
WebfrontCore/wwwroot/css/bootstrap-custom.css
vendored
12
WebfrontCore/wwwroot/css/bootstrap-custom.css
vendored
@ -6122,3 +6122,15 @@ form * {
|
||||
padding: 5px;
|
||||
visibility: hidden; }
|
||||
|
||||
.input-border-transition {
|
||||
-webkit-transition: border 500ms ease-out;
|
||||
-moz-transition: border 500ms ease-out;
|
||||
-o-transition: border 500ms ease-out; }
|
||||
|
||||
.input-text-danger {
|
||||
border-color: rgba(255, 69, 69, 0.85) !important; }
|
||||
|
||||
.form-control:focus {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none; }
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
17
WebfrontCore/wwwroot/css/bootstrap-custom.scss
vendored
17
WebfrontCore/wwwroot/css/bootstrap-custom.scss
vendored
@ -122,4 +122,19 @@ form * {
|
||||
border-radius: 40px;
|
||||
padding: 5px;
|
||||
visibility:hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.input-border-transition {
|
||||
-webkit-transition: border 500ms ease-out;
|
||||
-moz-transition: border 500ms ease-out;
|
||||
-o-transition: border 500ms ease-out;
|
||||
}
|
||||
|
||||
.input-text-danger {
|
||||
border-color: $red !important;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
}
|
||||
|
2
WebfrontCore/wwwroot/css/global.min.css
vendored
2
WebfrontCore/wwwroot/css/global.min.css
vendored
File diff suppressed because one or more lines are too long
2
WebfrontCore/wwwroot/js/global.min.js
vendored
2
WebfrontCore/wwwroot/js/global.min.js
vendored
File diff suppressed because one or more lines are too long
22
WebfrontCore/wwwroot/js/search.js
Normal file
22
WebfrontCore/wwwroot/js/search.js
Normal file
@ -0,0 +1,22 @@
|
||||
$(document).ready(function() {
|
||||
$('.form-inline').submit(function(e) {
|
||||
if ($('#client_search').val().length < 3) {
|
||||
e.preventDefault();
|
||||
$('#client_search')
|
||||
.addClass('input-text-danger')
|
||||
.delay(25)
|
||||
.queue(function(){
|
||||
$(this).addClass('input-border-transition').dequeue();
|
||||
})
|
||||
.delay(1000)
|
||||
.queue(function() {
|
||||
$(this).removeClass('input-text-danger').dequeue();
|
||||
})
|
||||
.delay(500)
|
||||
.queue(function() {
|
||||
$(this).removeClass('input-border-transition').dequeue();
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user