add benchmark with external nvme ssd

This commit is contained in:
2019-09-10 16:03:24 +08:00
parent 29dfe48f73
commit cbed295b47
245 changed files with 32439 additions and 1460 deletions

1
public/js/vendors/mdb/mdb.min.js vendored Executable file

File diff suppressed because one or more lines are too long

59
public/js/vendors/mdb/mdw-search.js vendored Normal file
View File

@@ -0,0 +1,59 @@
jQuery(document).ready(function($) {
$('#mdw_main_search').keyup(function() {
var query = $('#mdw_main_search').val();
if (query != '') {
var data = {
'action': 'mdw_search',
'query': query,
};
jQuery.post(mdw_search_object.ajaxurl, data,
function(response) {
li = '<li>';
if (response.indexOf(li) !== -1) {
jQuery('.dropdown-wrapper').html(
response);
} else {
jQuery('.dropdown-wrapper').html('');
}
});
} else {
jQuery('.dropdown-wrapper').html('');
}
});
$('#mdw_main_search').click(function() {
var query = $('#mdw_main_search').val();
if (query != '') {
var data = {
'action': 'mdw_search',
'query': query,
};
jQuery.post(mdw_search_object.ajaxurl, data,
function(response) {
li = '<li>';
if (response.indexOf(li) !== -1) {
jQuery('.dropdown-wrapper').html(
response);
} else {
jQuery('.dropdown-wrapper').html('');
}
});
} else {
jQuery('.dropdown-wrapper').html('');
}
});
jQuery('.search-form').click(function(e){
e.stopPropagation();
});
jQuery('body').click(function(){
jQuery('.dropdown-wrapper').html('');
});
});