1
0
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:
RaidMax
2018-04-10 01:38:18 -05:00
parent 3f7cb69fcd
commit 145efeb91c
12 changed files with 114 additions and 38 deletions

View File

@ -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

View File

@ -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;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View 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();
});
}
});
});