mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
fixed GetHashCode
fixed TopStats restrict search to minimum 3 characters
This commit is contained in:
@ -112,6 +112,7 @@
|
||||
<script type="text/javascript" src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/canvasjs/1.7.0/canvasjs.min.js"></script>
|
||||
<script type="text/javascript" src="~/js/action.js"></script>
|
||||
<script type="text/javascript" src="~/js/search.js"></script>
|
||||
</environment>
|
||||
<environment include="Production">
|
||||
<script type="text/javascript" src="~/lib/jQuery/dist/jquery.min.js"></script>
|
||||
|
@ -17,7 +17,8 @@
|
||||
"wwwroot/js/console.js",
|
||||
"wwwroot/js/penalty.js",
|
||||
"wwwroot/js/profile.js",
|
||||
"wwwroot/js/server.js"
|
||||
"wwwroot/js/server.js",
|
||||
"wwwroot/js/search.js"
|
||||
],
|
||||
// Optionally specify minification options
|
||||
"minify": {
|
||||
|
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