mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-03 09:22:30 +08:00
109 lines
2.8 KiB
HTML
109 lines
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Milvus WebUI - Tasks</title>
|
|
<meta name="description" content="Milvus Management WebUI">
|
|
<link href="./static/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="./static/css/style.css" rel="stylesheet">
|
|
<script src="./static/js/jquery.min.js"></script>
|
|
<script src="./static/js/bootstrap.min.js"></script>
|
|
<script src="./static/js/bootstrap.bundle.min.js"></script>
|
|
<script src="./static/js/render.js"></script>
|
|
<script src="./static/js/common.js"></script>
|
|
<script src="./static/js/mockdata.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="container-fluid">
|
|
<div id="header"></div>
|
|
<div class="row">
|
|
<div class="col-md-2">
|
|
</div>
|
|
<div class="col-md-8">
|
|
<h2>
|
|
QueryCoord Tasks
|
|
</h2>
|
|
<table id="qcTasks" class="table table-hover"></table>
|
|
|
|
<h2>
|
|
Compaction Tasks
|
|
</h2>
|
|
<table id="compactionTasks" class="table table-hover"></table>
|
|
|
|
<h2>
|
|
Index Build Tasks
|
|
</h2>
|
|
<table id="buildIndexTasks" class="table table-hover"></table>
|
|
|
|
<h2>
|
|
Import Tasks
|
|
</h2>
|
|
<table id="importTasks" class="table table-hover"></table>
|
|
|
|
<h2>
|
|
Sync Task
|
|
</h2>
|
|
<table id="syncTasks" class="table table-hover">
|
|
</table>
|
|
|
|
</div>
|
|
<div class="col-md-2">
|
|
</div>
|
|
</div>
|
|
<div id="footer"></div>
|
|
</div>
|
|
|
|
<script>
|
|
$(document).ready(function(){
|
|
$('#header').load("header.html");
|
|
$('#footer').load("footer.html");
|
|
});
|
|
|
|
document.addEventListener("DOMContentLoaded", function() {
|
|
fetchData(MILVUS_URI + "/_qc/tasks", qcTasks)
|
|
.then(data => {
|
|
renderQCTasks(data)
|
|
})
|
|
.catch(error => {
|
|
handleError(error);
|
|
});
|
|
|
|
fetchData(MILVUS_URI + "/_dc/tasks/compaction", dc_compaction_task)
|
|
.then(data => {
|
|
renderCompactionTasks(data)
|
|
})
|
|
.catch(error => {
|
|
handleError(error);
|
|
});
|
|
|
|
fetchData(MILVUS_URI + "/_dc/tasks/build_index", dc_build_index_task)
|
|
.then(data => {
|
|
renderBuildIndexTasks(data)
|
|
})
|
|
.catch(error => {
|
|
handleError(error);
|
|
});
|
|
|
|
fetchData(MILVUS_URI + "/_dc/tasks/import", dc_import_task)
|
|
.then(data => {
|
|
renderImportTasks(data)
|
|
})
|
|
.catch(error => {
|
|
handleError(error);
|
|
});
|
|
|
|
fetchData(MILVUS_URI + "/_dn/tasks/sync", dn_sync_task)
|
|
.then(data => {
|
|
renderSyncTasks(data)
|
|
})
|
|
.catch(error => {
|
|
handleError(error);
|
|
});
|
|
|
|
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |