{"size": 1225, "ext": "js", "max_stars_repo_path": "wgcloud-server/src/main/resources/static/js/host.js", "max_stars_repo_name": "xlioncast/wgcloud", "max_stars_repo_stars_event_min_datetime": "2021-05-08T07:42:54.000Z", "max_stars_repo_stars_event_max_datetime": "2021-05-08T07:43:08.000Z", "max_issues_repo_path": "wgcloud-server/resources/static/js/host.js", "max_issues_repo_name": "alieismy/wgcloud", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "wgcloud-server/resources/static/js/host.js", "max_forks_repo_name": "alieismy/wgcloud", "max_forks_repo_forks_event_min_datetime": "2021-09-14T13:26:14.000Z", "max_forks_repo_forks_event_max_datetime": "2021-09-14T13:26:14.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 24.0196078431, "max_line_length": 79, "alphanum_fraction": 0.6955102041}
function searchByPara(){
	var account = $("#account").val();
	window.location.href = "/wgcloud/log/list?account="+escape(escape(account));
}

function viewDashView(id) {
	window.location.href = "/wgcloud/dash/detail?dashView=1&id="+id;
}
function viewChartDashView(id) {
	window.location.href = "/wgcloud/dash/chart?dashView=1&id="+id;
}
function viewDatetDashView(id,dates){
	window.location.href = "/wgcloud/dash/chart?dashView=1&id="+id+"&date="+dates;
}
function view(id) {
	window.location.href = "/wgcloud/dash/detail?id="+id;
}
function viewChart(id) {
	window.location.href = "/wgcloud/dash/chart?id="+id;
}

function del(id) {
	if(confirm('你确定要删除吗？')) {
		window.location.href = "/wgcloud/dash/del?id=" + id;
	}
}


function viewDate(id,dates){
	window.location.href = "/wgcloud/dash/chart?id="+id+"&date="+dates;
}

function viewApps(hostname){
	window.location.href = "/wgcloud/appInfo/list?hostname="+hostname;
}

function ajaxSaveRemark() {
	$("#form2").ajaxSubmit(function(message) {
		window.location.href = window.location.href;
	});
}

function setHostRemark(hostname,hostId,hostRemark) {
	$("#id").val(hostId);
	$("#ip").val(hostname);
	$("#remark").val(hostRemark);
}
function cancel(){
	history.back();
}
